org.nanocontainer.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)
                    throws ClassNotFoundException,
                           MalformedURLException
Creates an instance of an Object from a DOM Element

Parameters:
container -
element - the DOM Element
classLoader -
Returns:
An Object instance
Throws:
ClassNotFoundException
MalformedURLException


Copyright © 2003-2009 Codehaus. All Rights Reserved.