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
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 ElementclassLoader
-
- Returns:
- An Object instance
- Throws:
ClassNotFoundException
MalformedURLException
Copyright © 2003-2009 Codehaus. All Rights Reserved.