|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.picocontainer.extras.NullContainer
Constructor Summary | |
NullContainer()
|
Method Summary | |
Object |
getComponent(Object compType)
Get a component for a component type. |
Collection |
getComponentKeys()
Get all component types (random order). |
Object |
getComponentMulticaster()
Shorthand for getComponentMulticaster(boolean, boolean) (true, true). |
Object |
getComponentMulticaster(boolean callInInstantiationOrder,
boolean callUnmanagedComponents)
Returns a proxy that implements the union of all the components' interfaces. |
Collection |
getComponents()
Get all components (random order). |
boolean |
hasComponent(Object compType)
Does the internals have a partilcilar component type? |
void |
instantiateComponents()
Initialize the internals. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public NullContainer()
Method Detail |
public boolean hasComponent(Object compType)
PicoContainer
hasComponent
in interface PicoContainer
compType
- The component type to look for.
public Object getComponent(Object compType)
PicoContainer
getComponent
in interface PicoContainer
compType
- The component type to look for.
public Collection getComponents()
PicoContainer
getComponents
in interface PicoContainer
public Collection getComponentKeys()
PicoContainer
getComponentKeys
in interface PicoContainer
public void instantiateComponents() throws PicoInstantiationException
PicoContainer
instantiateComponents
in interface PicoContainer
PicoInstantiationException
public Object getComponentMulticaster()
PicoContainer
PicoContainer.getComponentMulticaster(boolean, boolean)
(true, true).
getComponentMulticaster
in interface PicoContainer
public Object getComponentMulticaster(boolean callInInstantiationOrder, boolean callUnmanagedComponents)
PicoContainer
getComponentMulticaster
in interface PicoContainer
callInInstantiationOrder
- whether to call the methods in the order of instantiation (true) or reverse (false)callUnmanagedComponents
- whether to exclude components registered via instance rather than class
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |