1 87 package org.codehaus.loom.interfaces; 88 89 import java.io.File ; 90 import java.io.InputStream ; 91 import org.apache.avalon.framework.logger.Logger; 92 import org.apache.excalibur.instrument.InstrumentManager; 93 import org.codehaus.loom.components.util.profile.PartitionProfile; 94 95 100 public interface ApplicationContext 101 { 102 File getHomeDirectory(); 103 104 PartitionProfile getPartitionProfile(); 105 106 110 void requestShutdown(); 111 112 119 void exportObject( String name, Object object ) 120 throws Exception ; 121 122 127 void unexportObject( String name ) 128 throws Exception ; 129 130 135 ClassLoader getClassLoader(); 136 137 142 InputStream getResourceAsStream( String name ); 143 144 151 Logger getLogger( String name ) 152 throws Exception ; 153 154 159 InstrumentManager getInstrumentManager(); 160 161 167 String getInstrumentableName( String component ); 168 } 169 | Popular Tags |