org.nanocontainer.script.xml
Class PureJavaXStreamComponentInstanceFactory

java.lang.Object
  extended by org.nanocontainer.script.xml.XStreamComponentInstanceFactory
      extended by org.nanocontainer.script.xml.PureJavaXStreamComponentInstanceFactory
All Implemented Interfaces:
XMLComponentInstanceFactory

public class PureJavaXStreamComponentInstanceFactory
extends XStreamComponentInstanceFactory

Implementation of XMLComponentInstanceFactory that uses XStream to unmarshal DOM elements in PureJava mode. In PureJava mode objects are instantiated using standard Java reflection, which is garanteed to be valid for all JVM vendors, but the types of objects that can be constructed are limited. See http://xstream.codehaus.org/faq.html for details on the differences between PureJava and Advanced mode.

Author:
Mauro Talevi

Constructor Summary
PureJavaXStreamComponentInstanceFactory()
          Creates a PureJavaXStreamComponentInstanceFactory using an instance of XStream in PureJava mode.
 
Method Summary
 
Methods inherited from class org.nanocontainer.script.xml.XStreamComponentInstanceFactory
makeInstance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PureJavaXStreamComponentInstanceFactory

public PureJavaXStreamComponentInstanceFactory()
Creates a PureJavaXStreamComponentInstanceFactory using an instance of XStream in PureJava mode.



Copyright © 2003-2010 Codehaus. All Rights Reserved.