org.nanocontainer.nanowar
Class XStreamContainerComposer

java.lang.Object
  extended by 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 )

Field Summary
static String APPLICATION_CONFIG
           
static String REQUEST_CONFIG
           
static String SESSION_CONFIG
           
 
Constructor Summary
XStreamContainerComposer()
          Constructor for the ContainerAssembler object
 
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
 

Field Detail

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
Constructor Detail

XStreamContainerComposer

public XStreamContainerComposer()
Constructor for the ContainerAssembler object

Method Detail

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 Parameter
scope - Description of Parameter


Copyright © 2003-2009 Codehaus. All Rights Reserved.