|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A component adapter is responsible for instantiating and caching a specific component instance.
Method Summary | |
Class |
getComponentImplementation()
The component's implementation class. |
Object |
getComponentInstance(MutablePicoContainer picoContainer)
Gets the component instance. |
Object |
getComponentKey()
The component's key. |
Method Detail |
public Object getComponentKey()
public Class getComponentImplementation()
public Object getComponentInstance(MutablePicoContainer picoContainer) throws PicoInitializationException, PicoIntrospectionException
This method should also register the instantiated component with the pico container.
picoContainer
- registries where the adapter can look for
dependent component instances
PicoInitializationException
- if the component couldn't be instantiated
PicoIntrospectionException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |