|
|||||||||||
| 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. It is used internally by PicoContainer, and is not meant to be used directly by clients of the PicoContainer API.
| Method Summary | |
Class |
getComponentImplementation()
The component's implementation class. |
Object |
getComponentInstance(MutablePicoContainer dependencyContainer)
Gets the component instance. |
Object |
getComponentKey()
The component's key. |
| Method Detail |
public Object getComponentKey()
public Class getComponentImplementation()
public Object getComponentInstance(MutablePicoContainer dependencyContainer)
throws PicoInitializationException,
PicoIntrospectionException
This method should also register the instantiated component with the pico container.
dependencyContainer - container 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 | ||||||||||