|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectpicocontainer.defaults.NullContainer
Constructor Summary | |
NullContainer()
|
Method Summary | |
Object |
getComponent(Class compType)
Get a component for a component type. |
Object[] |
getComponents()
Get all components (random order). |
Class[] |
getComponentTypes()
Get all component types (random order). |
boolean |
hasComponent(Class compType)
Does the container have a partilcilar component type? |
void |
instantiateComponents()
Initialize the container. |
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(Class compType)
PicoContainer
hasComponent
in interface PicoContainer
compType
- The component type to look for.
public Object getComponent(Class compType)
PicoContainer
getComponent
in interface PicoContainer
compType
- The component type to look for.
public Object[] getComponents()
PicoContainer
getComponents
in interface PicoContainer
public Class[] getComponentTypes()
PicoContainer
getComponentTypes
in interface PicoContainer
public void instantiateComponents() throws PicoInstantiationException
PicoContainer
instantiateComponents
in interface PicoContainer
PicoInstantiationException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |