|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.avalon.phoenix.components.kernel.beanshell.BeanShellKernelProxy
Field Summary |
Fields inherited from interface org.apache.avalon.phoenix.interfaces.Kernel |
ROLE |
Constructor Summary | |
BeanShellKernelProxy(Kernel kernel)
Construct a Proxy to the Kernel that does not implement all methods. |
Method Summary | |
void |
addApplication(SarMetaData metaData,
ClassLoader classLoader,
Logger hierarchy,
Configuration server)
Adds an application to the container |
Application |
getApplication(String name)
Gets the named application |
String[] |
getApplicationNames()
Gets the list of applications running in the container |
void |
removeApplication(String name)
Removes the application from the container |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public BeanShellKernelProxy(Kernel kernel)
Method Detail |
public void addApplication(SarMetaData metaData, ClassLoader classLoader, Logger hierarchy, Configuration server) throws Exception
Kernel
addApplication
in interface Kernel
Exception
public void removeApplication(String name) throws Exception
Kernel
removeApplication
in interface Kernel
name
- the name of application to remove
Exception
public Application getApplication(String name)
Kernel
getApplication
in interface Kernel
name
- the name of applicationpublic String[] getApplicationNames()
Kernel
getApplicationNames
in interface Kernel
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |