org.jbpm.instantiation
Class FieldInstantiator

java.lang.Object
  extended by org.jbpm.instantiation.FieldInstantiator
All Implemented Interfaces:
Instantiator
Direct Known Subclasses:
BeanInstantiator

public class FieldInstantiator
extends Object
implements Instantiator


Constructor Summary
FieldInstantiator()
           
 
Method Summary
static Object getValue(Class type, org.dom4j.Element propertyElement)
           
 Object instantiate(Class clazz, String configuration)
           
protected  Object newInstance(Class clazz)
           
protected  org.dom4j.Element parseConfiguration(String configuration)
           
protected  void setPropertyValue(Class clazz, Object instance, String propertyName, org.dom4j.Element propertyElement)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FieldInstantiator

public FieldInstantiator()
Method Detail

instantiate

public Object instantiate(Class clazz,
                          String configuration)
Specified by:
instantiate in interface Instantiator

setPropertyValue

protected void setPropertyValue(Class clazz,
                                Object instance,
                                String propertyName,
                                org.dom4j.Element propertyElement)

parseConfiguration

protected org.dom4j.Element parseConfiguration(String configuration)

newInstance

protected Object newInstance(Class clazz)

getValue

public static Object getValue(Class type,
                              org.dom4j.Element propertyElement)


Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.