|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
A SystemContext encapsulates "static" information applicable
to the system (or engine) that the Megs run under. A system context
should not change while running under the same process.
| Method Summary | |
Section |
getConfigSection()
Get the config section. |
com.ibm.wbi.DatabaseWatcher |
getDatabaseWatcher()
Obtain a reference to the database watcher |
java.lang.String |
getInstallPath()
Get the system install path. |
Section |
getRootSection()
Get the root section acts as the central repository for configuration data for the system context we are running under. |
com.ibm.wbi.Service |
getService(java.lang.Integer identity)
Obtain a Service to service, or spawn, a new request internal to the Proxy from the specified Sublayer identity. |
java.lang.Object |
getSystemResource(java.lang.String key)
Obtain a System resource by a System resource identification key. |
java.lang.Object |
getUserData(java.lang.Object key)
Get an arbitrary user value |
void |
reload()
Reloads the system context. |
void |
removeUserData(java.lang.Object key)
Remove an arbitrary user value |
void |
setUserData(java.lang.Object key,
java.lang.Object value)
Set an arbitrary user value |
java.util.Enumeration |
systemResourceKeys()
Obtain a list of available System resource identification keys. |
| Method Detail |
public java.lang.Object getSystemResource(java.lang.String key)
key - The System resource key.public java.util.Enumeration systemResourceKeys()
public java.lang.String getInstallPath()
public Section getRootSection()
public void reload()
public Section getConfigSection()
public java.lang.Object getUserData(java.lang.Object key)
public void setUserData(java.lang.Object key,
java.lang.Object value)
public void removeUserData(java.lang.Object key)
public com.ibm.wbi.Service getService(java.lang.Integer identity)
throws RequestRejectedException
identity - The Sublayer identity.RequestRejectedException - If unable to service this
type of request.public com.ibm.wbi.DatabaseWatcher getDatabaseWatcher()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||