|
![]() |
|||||||||
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 build containers. Composition of containers is generally a separate reponsibility, although the some builders may make use of the assembly scope.
Method Summary | |
---|---|
org.picocontainer.PicoContainer |
buildContainer(org.picocontainer.PicoContainer parentContainer,
Object assemblyScope,
boolean addChildToParent)
Builds a new container |
void |
killContainer(org.picocontainer.PicoContainer container)
Destroys a container. |
Method Detail |
---|
org.picocontainer.PicoContainer buildContainer(org.picocontainer.PicoContainer parentContainer, Object assemblyScope, boolean addChildToParent)
parentContainer
- the parent PicoContainer (may be null
).assemblyScope
- a hint about the assembly scope (may be
null
)addChildToParent
- boolean flag, true
if the child is
to be added to the parent
void killContainer(org.picocontainer.PicoContainer container)
container
- the PicoContainer to be killed
|
![]() |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |