|
SAP NetWeaver 7.11 (EhP1 SP02) Composition Environment | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectResourceAccessor
com.sap.caf.eu.gp.co.api.GPStandardResourceAccessor
public class GPStandardResourceAccessor
Basic resource accessor imlementation to be used with background callable objects. The callable object implementation provider should extend this class by implementing the single constructor with paramter string. The paramter is the name of the resource bundle storing the text resources for the callable object. The class has to be extended in so that the resource bundle is properly loaded with the corresponding class loader.
| Constructor Summary | |
|---|---|
GPStandardResourceAccessor(String bundleName)
Constructs a basic resource acessor which loads text resource from the specified resource bundle. |
|
| Method Summary | |
|---|---|
String |
getMessageText(Locale locale,
String key)
Returns a message text and accepts additional parameters. |
String |
getMessageText(Locale locale,
String key,
Object[] args)
Returns a message text. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GPStandardResourceAccessor(String bundleName)
bundleName - | Method Detail |
|---|
public String getMessageText(Locale locale,
String key,
Object[] args)
getMessageText in interface IGPResourceAccessorlocale - key -
public String getMessageText(Locale locale,
String key)
getMessageText in interface IGPResourceAccessorlocale - key - args -
|
SAP NetWeaver 7.11 (EhP1 SP02) Composition Environment | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||