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


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, File workDirectory, 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

BeanShellKernelProxy

public BeanShellKernelProxy(Kernel kernel)
Construct a Proxy to the Kernel that does not implement all methods.

Method Detail

addApplication

public void addApplication(SarMetaData metaData,
                           File workDirectory,
                           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
Exception

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
Parameters:
name - the name of application to remove
Exception

getApplication

public Application getApplication(String name)
Description copied from interface: Kernel
Gets the named application

Specified by:
getApplication in interface 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
Returns:
applicationNames The array of application names


Copyright © 2001 Apache Jakarta Project. All Rights Reserved.