1 10 package org.picocontainer; 11 12 13 import java.util.Collection ; 14 import java.util.List ; 15 16 28 public interface PicoContainer extends Startable, Disposable { 29 32 40 Object getComponentInstance(Object componentKey); 41 42 48 Object getComponentInstanceOfType(Class componentType); 49 50 56 List getComponentInstances(); 57 58 63 PicoContainer getParent(); 64 65 73 ComponentAdapter getComponentAdapter(Object componentKey); 74 75 83 ComponentAdapter getComponentAdapterOfType(Class componentType); 84 85 94 Collection getComponentAdapters(); 95 96 104 List getComponentAdaptersOfType(Class componentType); 105 106 113 void verify() throws PicoVerificationException; 114 115 123 List getComponentInstancesOfType(Class componentType) throws PicoException; 124 125 130 void accept(PicoVisitor visitor); 131 } 132 | Popular Tags |