org.jbpm.wire
Class WireDefinition
java.lang.Object
org.jbpm.wire.WireDefinition
- All Implemented Interfaces:
- java.io.Serializable
public class WireDefinition
- extends java.lang.Object
- implements java.io.Serializable
map of Descriptor
s that serve as input for a WireContext
.
- 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 |
WireDefinition
public WireDefinition()
addDescriptor
public void addDescriptor(Descriptor descriptor)
getDescriptorName
public java.lang.String getDescriptorName(java.lang.Class<?> type)
getDescriptor
public Descriptor getDescriptor(java.lang.String objectName)
- the descriptor with the given name from the WireDefinition or
null
if the object doesn't have a descriptor.
addDescriptor
public Descriptor addDescriptor(java.lang.String objectName,
Descriptor descriptor)
- Returns:
- previous Descriptor associated with the given name, or null if there was no Descriptor for this name.
removeDescriptor
public Descriptor removeDescriptor(java.lang.String objectName)
- Returns:
- previous Descriptor associated with the given name, or null if there was no Descriptor for this name.
hasDescriptor
public boolean hasDescriptor(java.lang.String objectName)
addEagerInitObjectName
public void addEagerInitObjectName(java.lang.String eagerInitObjectName)
getClassLoader
public java.lang.ClassLoader getClassLoader()
getDescriptors
public java.util.Map<java.lang.String,Descriptor> getDescriptors()
getEagerInitNames
public java.util.List<java.lang.String> getEagerInitNames()
setEagerInitNames
public void setEagerInitNames(java.util.List<java.lang.String> eagerInitNames)
setDescriptors
public void setDescriptors(java.util.Map<java.lang.String,Descriptor> descriptors)
setClassLoader
public void setClassLoader(java.lang.ClassLoader classLoader)