|
![]() |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.nanocontainer.nanowar.ScopedContainerComposer
public class ScopedContainerComposer
ScopedContainerComposer is a
ContainerComposer
which can build PicoContainers for different web context scopes:
application, session and request.
The configuration for each scope is contained in one of more
NanoContainer scripts.
The ContainerBuilder
used to build the PicoContainer and the names of scoped script files are configurable
via a ScopedContainerConfigurator.
Note: ScopedContainerComposer requires ContainerBuilders that also implement
ContainerPopulator
,
as this is used by the
ContainerRecorder
proxy.
Constructor Summary | |
---|---|
ScopedContainerComposer()
Creates a default ScopedContainerComposer |
|
ScopedContainerComposer(org.picocontainer.PicoContainer configuration)
Creates a configurable ScopedContainerComposer |
Method Summary | |
---|---|
void |
composeContainer(org.picocontainer.MutablePicoContainer container,
Object scope)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ScopedContainerComposer() throws ClassNotFoundException
ClassNotFoundException
public ScopedContainerComposer(org.picocontainer.PicoContainer configuration) throws ClassNotFoundException
configuration
- the PicoContainer holding the configuration
ClassNotFoundException
Method Detail |
---|
public void composeContainer(org.picocontainer.MutablePicoContainer container, Object scope)
composeContainer
in interface org.nanocontainer.integrationkit.ContainerComposer
|
![]() |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |