org.jbpm.wire.descriptor
Class ProvidedObjectDescriptor
java.lang.Object
org.jbpm.util.DefaultObservable
org.jbpm.wire.descriptor.AbstractDescriptor
org.jbpm.wire.descriptor.ProvidedObjectDescriptor
- All Implemented Interfaces:
- java.io.Serializable, Observable, Descriptor
public class ProvidedObjectDescriptor
- extends AbstractDescriptor
- Author:
- Tom Baeyens
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProvidedObjectDescriptor
public ProvidedObjectDescriptor()
ProvidedObjectDescriptor
public ProvidedObjectDescriptor(java.lang.Object providedObject)
ProvidedObjectDescriptor
public ProvidedObjectDescriptor(java.lang.Object providedObject,
boolean exposeType)
construct
public java.lang.Object construct(WireContext wireContext)
- Description copied from interface:
Descriptor
- constructs the object.
- Parameters:
wireContext
- WireContext
in which the object is created. This is also the WireContext
where the object will search for other object that may be needed during the initialization phase.
- Returns:
- the constructed object.
getType
public java.lang.Class<?> getType(WireDefinition wireDefinition)
- Description copied from interface:
Descriptor
- the type of the produced object or null if that is not available
- Specified by:
getType
in interface Descriptor
- Overrides:
getType
in class AbstractDescriptor
getProvidedObject
public java.lang.Object getProvidedObject()
setProvidedObject
public void setProvidedObject(java.lang.Object providedObject)
isExposeType
public boolean isExposeType()
setExposeType
public void setExposeType(boolean exposeType)