1 package org.apache.fulcrum.yaafi.framework.container; 2 3 import org.apache.avalon.framework.activity.Disposable; 4 import org.apache.avalon.framework.activity.Executable; 5 import org.apache.avalon.framework.activity.Initializable; 6 import org.apache.avalon.framework.activity.Startable; 7 import org.apache.avalon.framework.activity.Suspendable; 8 import org.apache.avalon.framework.configuration.Configurable; 9 import org.apache.avalon.framework.configuration.Reconfigurable; 10 import org.apache.avalon.framework.context.Contextualizable; 11 import org.apache.avalon.framework.logger.LogEnabled; 12 import org.apache.avalon.framework.parameters.Parameterizable; 13 import org.apache.avalon.framework.service.Serviceable; 14 15 31 32 35 36 public interface ServiceComponent 37 extends Configurable, Initializable, Startable, Suspendable, Reconfigurable, Disposable, Serviceable, Contextualizable, Parameterizable, LogEnabled, Executable 38 { 39 44 public Class loadClass() throws ClassNotFoundException ; 45 46 52 public Object create() throws InstantiationException , IllegalAccessException ; 53 54 57 public boolean isInstantiated(); 58 59 62 public boolean isEarlyInit(); 63 64 67 public Object getInstance() throws InstantiationException , IllegalAccessException ; 68 69 72 public String getName(); 73 74 77 public String getShorthand(); 78 79 } | Popular Tags |