|
Oracle Enterprise Scheduler Java API Reference 11g Release 1 (11.1.1.7) E26229-06 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.as.scheduler.substitution.AppEnvSubstitutionHandler
public class AppEnvSubstitutionHandler
Substitute from application-specific environment/configuration
Constructor Summary | |
---|---|
AppEnvSubstitutionHandler(java.lang.String application, java.lang.String processGroup) |
Method Summary | |
---|---|
void |
close() Used to release any resources the handler may have claimed, such as open files or connections. |
boolean |
containsKey(java.lang.String name) Reports whether the handler can return a value to substitute for name . |
java.lang.String |
get(java.lang.String name) Returns the value which will be used to replace the token. |
java.lang.String |
getId() An identifier that can be used to request that a specific handler (or set of handlers) should be used for a substitution. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AppEnvSubstitutionHandler(java.lang.String application, java.lang.String processGroup)
Method Detail |
---|
public java.lang.String getId()
SubstitutionHandler
The returned ID should adhere to basic identifier rules, e.g., it should consist of letters, numbers, and underscores only. A null, blank, or invalid ID may result in the handler being skipped.
The method getId()
may be called at any time.
getId
in interface SubstitutionHandler
public boolean containsKey(java.lang.String name) throws SubstitutionException
SubstitutionHandler
name
. If containsKey
returns false
, then this handler will not be used for substituting name
.containsKey
in interface SubstitutionHandler
true
if it can handle name
, false
otherwiseSubstitutionException
- if an error occurs accessing the keys.public java.lang.String get(java.lang.String name) throws SubstitutionException
SubstitutionHandler
name
is not supported, then get()
should return null. Conversely, if the handler returns true
for containsKey(name)
, then get()
should return a non-null String.get
in interface SubstitutionHandler
name
- The key value for the substitutionSubstitutionException
- if an error occurs accessing the value.public void close()
SubstitutionHandler
close
in interface SubstitutionHandler
|
Oracle Enterprise Scheduler Java API Reference 11g Release 1 (11.1.1.7) E26229-06 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |