org.picocontainer.script.xml
Class BeanComponentInstanceFactory

java.lang.Object
  extended by org.picocontainer.script.xml.BeanComponentInstanceFactory
All Implemented Interfaces:
XMLComponentInstanceFactory

public class BeanComponentInstanceFactory
extends Object
implements XMLComponentInstanceFactory

Implementation of XMLComponentInstanceFactory that uses PropertyApplicator to create instances from DOM elements.

Author:
Paul Hammant, Marcos Tarruella, Mauro Talevi

Constructor Summary
BeanComponentInstanceFactory()
           
 
Method Summary
 Object makeInstance(org.picocontainer.PicoContainer pico, Element element, ClassLoader classLoader)
          Creates an instance of an Object from a DOM Element
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BeanComponentInstanceFactory

public BeanComponentInstanceFactory()
Method Detail

makeInstance

public Object makeInstance(org.picocontainer.PicoContainer pico,
                           Element element,
                           ClassLoader classLoader)
Description copied from interface: XMLComponentInstanceFactory
Creates an instance of an Object from a DOM Element

Specified by:
makeInstance in interface XMLComponentInstanceFactory
Parameters:
pico - the PicoContainer
element - the DOM Element
classLoader - the ClassLoader
Returns:
An Object instance


Copyright © 2003-2010 Codehaus. All Rights Reserved.