org.nanocontainer.script.xml
Class BeanComponentInstanceFactory
java.lang.Object
org.nanocontainer.script.xml.BeanComponentInstanceFactory
- All Implemented Interfaces:
- XMLComponentInstanceFactory
public class BeanComponentInstanceFactory
- extends Object
- implements XMLComponentInstanceFactory
Implementation of XMLComponentInstanceFactory that uses BeanPropertyComponentAdapter
to create instances from DOM elements.
- Author:
- Paul Hammant, Marcos Tarruella, Mauro Talevi
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BeanComponentInstanceFactory
public BeanComponentInstanceFactory()
makeInstance
public Object makeInstance(org.picocontainer.PicoContainer pico,
Element element,
ClassLoader classLoader)
throws ClassNotFoundException,
MalformedURLException
- Description copied from interface:
XMLComponentInstanceFactory
- Creates an instance of an Object from a DOM Element
- Specified by:
makeInstance
in interface XMLComponentInstanceFactory
element
- the DOM Element
- Returns:
- An Object instance
- Throws:
ClassNotFoundException
MalformedURLException
Copyright © 2003-2009 Codehaus. All Rights Reserved.