|
![]() |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ContainerBuilder
The responsibility of a ContainerBuilder is to instantiate and compose containers. (Composition means assembly (registration) and configuration (setting primitive parameters) of components).
Method Summary | |
---|---|
void |
buildContainer(org.picocontainer.defaults.ObjectReference containerRef,
org.picocontainer.defaults.ObjectReference parentContainerRef,
Object compositionScope,
boolean addChildToParent)
Create, assemble, init and start a new PicoContainer and store it at a given reference. |
void |
killContainer(org.picocontainer.defaults.ObjectReference containerRef)
Locate a container at the given reference so it can be stopped, destroyed and removed. |
Method Detail |
---|
void buildContainer(org.picocontainer.defaults.ObjectReference containerRef, org.picocontainer.defaults.ObjectReference parentContainerRef, Object compositionScope, boolean addChildToParent)
containerRef
- Where to store the new container.parentContainerRef
- reference to a container that may be used as a parent to the new container (may be null).compositionScope
- Hint about the scope for composition.void killContainer(org.picocontainer.defaults.ObjectReference containerRef)
containerRef
- Where the container is stored.
|
![]() |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |