org.picocontainer.script.xml
Interface XMLComponentInstanceFactory

All Known Implementing Classes:
BeanComponentInstanceFactory, PureJavaXStreamComponentInstanceFactory, XStreamComponentInstanceFactory

public interface XMLComponentInstanceFactory

Factory that creates instances from DOM Elements

Author:
Paul Hammant, Marcos Tarruella

Method Summary
 Object makeInstance(org.picocontainer.PicoContainer container, Element element, ClassLoader classLoader)
          Creates an instance of an Object from a DOM Element
 

Method Detail

makeInstance

Object makeInstance(org.picocontainer.PicoContainer container,
                    Element element,
                    ClassLoader classLoader)
Creates an instance of an Object from a DOM Element

Parameters:
container - the PicoContainer
element - the DOM Element
classLoader - the ClassLoader
Returns:
An Object instance


Copyright © 2003-2010 Codehaus. All Rights Reserved.