org.apache.avalon.phoenix.components.kernel.beanshell
Class BeanShellKernelProxy
java.lang.Object
|
+--org.apache.avalon.phoenix.components.kernel.beanshell.BeanShellKernelProxy
- All Implemented Interfaces:
- Kernel
- public class BeanShellKernelProxy
- extends Object
- implements Kernel
Fields inherited from interface org.apache.avalon.phoenix.interfaces.Kernel |
ROLE |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BeanShellKernelProxy
public BeanShellKernelProxy(Kernel kernel)
- Construct a Proxy to the Kernel that does not implement all methods.
addApplication
public void addApplication(SarMetaData metaData,
ClassLoader classLoader,
Logger hierarchy,
Configuration server)
throws Exception
- Description copied from interface:
Kernel
- Adds an application to the container
- Specified by:
addApplication
in interface Kernel
removeApplication
public void removeApplication(String name)
throws Exception
- Description copied from interface:
Kernel
- Removes the application from the container
- Specified by:
removeApplication
in interface Kernel
- Following copied from interface:
org.apache.avalon.phoenix.interfaces.Kernel
- Parameters:
name
- the name of application to remove
getApplication
public Application getApplication(String name)
- Description copied from interface:
Kernel
- Gets the named application
- Specified by:
getApplication
in interface Kernel
- Following copied from interface:
org.apache.avalon.phoenix.interfaces.Kernel
- Parameters:
name
- the name of application
getApplicationNames
public String[] getApplicationNames()
- Description copied from interface:
Kernel
- Gets the list of applications running in the container
- Specified by:
getApplicationNames
in interface Kernel
- Following copied from interface:
org.apache.avalon.phoenix.interfaces.Kernel
- Returns:
- applicationNames The array of application names
Copyright © 2001 Apache Jakarta Project. All Rights Reserved.