|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Manage the "context" in which Applications operate.
Field Summary | |
static String |
ROLE
|
Method Summary | |
void |
exportObject(String name,
Class[] interfaceClasses,
Object object)
Export specified object into management system. |
ClassLoader |
getClassLoader()
Get ClassLoader for the current application. |
Configuration |
getConfiguration(String component)
Get the Configuration for specified component. |
Logger |
getLogger(String name)
Get logger with category for application. |
SarMetaData |
getMetaData()
|
ThreadContext |
getThreadContext()
|
void |
unexportObject(String name)
Unexport specified object from management system. |
Field Detail |
public static final String ROLE
Method Detail |
public SarMetaData getMetaData()
public ThreadContext getThreadContext()
public void exportObject(String name, Class[] interfaceClasses, Object object) throws Exception
name
- the name of object to exportinterfaceClasses
- the interface of object with which to exportobject
- the actual object to export
Exception
public void unexportObject(String name) throws Exception
name
- the name of object to unexport
Exception
public ClassLoader getClassLoader()
public Configuration getConfiguration(String component) throws ConfigurationException
component
- the component
ConfigurationException
public Logger getLogger(String name)
name
- the name of logger
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |