org.nanocontainer.nanowar
Class XStreamContainerComposer
java.lang.Object
org.nanocontainer.nanowar.XStreamContainerComposer
- All Implemented Interfaces:
- org.nanocontainer.integrationkit.ContainerComposer
public class XStreamContainerComposer
- extends Object
- implements org.nanocontainer.integrationkit.ContainerComposer
container composer reading from xml files via xstream. it pulls configuration from
xml files placed on classpath of web application ( WEB-INF/classes/ ) , and their names are:
nano-application.xml , nano-session.xml and nano-request.xml
- Version:
- $Revision: 1629 $
- Author:
- Konstantin Pribluda ( konstantin[at]infodesire.com )
Method Summary |
void |
composeContainer(org.picocontainer.MutablePicoContainer container,
Object scope)
compose desired container |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
APPLICATION_CONFIG
public static final String APPLICATION_CONFIG
- See Also:
- Constant Field Values
SESSION_CONFIG
public static final String SESSION_CONFIG
- See Also:
- Constant Field Values
REQUEST_CONFIG
public static final String REQUEST_CONFIG
- See Also:
- Constant Field Values
XStreamContainerComposer
public XStreamContainerComposer()
- Constructor for the ContainerAssembler object
composeContainer
public void composeContainer(org.picocontainer.MutablePicoContainer container,
Object scope)
- compose desired container
- Specified by:
composeContainer
in interface org.nanocontainer.integrationkit.ContainerComposer
- Parameters:
container
- Description of Parameterscope
- Description of Parameter
Copyright © 2003-2009 Codehaus. All Rights Reserved.