org.apache.avalon.phoenix.interfaces
Interface Kernel

All Known Implementing Classes:
BeanShellKernelProxy, DefaultKernel

public interface Kernel

Author:
Peter Donald

Field Summary
static String ROLE
           
 
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
 

Field Detail

ROLE

public static final String ROLE
Method Detail

addApplication

public void addApplication(SarMetaData metaData,
                           ClassLoader classLoader,
                           Logger hierarchy,
                           Configuration server)
                    throws Exception
Adds an application to the container

Exception

removeApplication

public void removeApplication(String name)
                       throws Exception
Removes the application from the container

Parameters:
name - the name of application to remove
Exception

getApplication

public Application getApplication(String name)
Gets the named application

Parameters:
name - the name of application

getApplicationNames

public String[] getApplicationNames()
Gets the list of applications running in the container

Returns:
applicationNames The array of application names


Copyright © 2001 Apache Jakarta Project. All Rights Reserved.