org.jbpm.pvm.internal.wire.descriptor
Class ReferenceDescriptor
java.lang.Object
org.jbpm.pvm.internal.util.DefaultObservable
org.jbpm.pvm.internal.wire.descriptor.AbstractDescriptor
org.jbpm.pvm.internal.wire.descriptor.ReferenceDescriptor
- All Implemented Interfaces:
- java.io.Serializable, Observable, Descriptor
public class ReferenceDescriptor
- extends AbstractDescriptor
- implements Descriptor
This Descriptor specifies a reference to an object.
The object referenced should be declared somewhere else in the wireContext.
The constructed object is the referenced object.
The AbstractDescriptor.init field can be used to force initialization of the referenced object.
- Author:
- Tom Baeyens, Guillaume Porcher (documentation)
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ReferenceDescriptor
public ReferenceDescriptor()
ReferenceDescriptor
public ReferenceDescriptor(java.lang.String objectName)
construct
public java.lang.Object construct(WireContext wireContext)
- Description copied from interface:
Descriptor
- constructs the object.
- Specified by:
construct in interface Descriptor
- 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.
isDelayedInitializationAllowed
public boolean isDelayedInitializationAllowed()
setValue
public void setValue(java.lang.String objectName)
setType
public void setType(java.lang.String type)
Copyright © 2010 JBoss Community. All Rights Reserved.