|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
PicoContainer - guaranteed to resolve the needs of components as it instantiates them.
Method Summary | |
Object |
getComponent(Class componentType)
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 componentType)
Does the container have a partilcilar component type? |
void |
instantiateComponents()
Initialize the container. |
Method Detail |
public boolean hasComponent(Class componentType)
componentType
- The component type to look for.
public Object getComponent(Class componentType)
componentType
- The component type to look for.
public Object[] getComponents()
public Class[] getComponentTypes()
public void instantiateComponents() throws PicoInstantiationException, PicoIntrospectionException
PicoInstantiationException
PicoIntrospectionException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |