|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A component adapter is responsible for providing a specific component instance.
Method Summary | |
Class |
getComponentImplementation()
|
Object |
getComponentInstance()
Gets the component instance. |
Object |
getComponentKey()
|
PicoContainer |
getContainer()
|
void |
setContainer(PicoContainer picoContainer)
Sets the container in which this instance is registered, called by the container upon registration. |
void |
verify()
Verify that all dependencies for this adapter can be satisifed. |
Method Detail |
public Object getComponentKey()
public Class getComponentImplementation()
public Object getComponentInstance() throws PicoInitializationException, PicoIntrospectionException
CachingComponentAdapter
).
PicoInitializationException
- if the component couldn't be instantiated
PicoIntrospectionException
public void verify() throws UnsatisfiableDependenciesException
PicoIntrospectionException
- if the dependencies cannot be resolved.
UnsatisfiableDependenciesException
public PicoContainer getContainer()
public void setContainer(PicoContainer picoContainer)
picoContainer
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |