1 8 package org.apache.avalon.phoenix.interfaces; 9 10 import org.apache.avalon.framework.configuration.Configuration; 11 import org.apache.avalon.framework.logger.Logger; 12 import org.apache.avalon.phoenix.metadata.SarMetaData; 13 import java.io.File ; 14 15 18 public interface Kernel 19 { 20 String ROLE = Kernel.class.getName(); 21 22 25 void addApplication( SarMetaData metaData, 26 File workDirectory, 27 ClassLoader classLoader, 28 Logger hierarchy, 29 Configuration server ) 30 throws Exception ; 31 32 37 void removeApplication( String name ) 38 throws Exception ; 39 40 41 46 Application getApplication( String name ); 47 48 53 String [] getApplicationNames(); 54 } 55 | Popular Tags |