org.jbpm.wire.descriptor
Class DeployerManagerDescriptor
java.lang.Object
org.jbpm.util.DefaultObservable
org.jbpm.wire.descriptor.AbstractDescriptor
org.jbpm.wire.descriptor.DeployerManagerDescriptor
- All Implemented Interfaces:
- java.io.Serializable, Observable, Descriptor
public class DeployerManagerDescriptor
- extends AbstractDescriptor
- Author:
- Tom Baeyens
- See Also:
- Serialized Form
Field Summary |
protected java.util.Map<java.lang.String,java.util.List<Descriptor>> |
deployerDescriptors
maps language-ids to a sequence of process deployers |
protected java.util.Map<java.lang.String,java.lang.String> |
extensions
maps extensions to language-ids |
Method Summary |
void |
addLanguage(java.lang.String language,
java.lang.String extension,
java.util.List<Descriptor> deployerDescriptorSequence)
|
java.lang.Object |
construct(WireContext wireContext)
constructs the object. |
java.lang.Class<?> |
getType(WireDefinition wireDefinition)
the type of the produced object or null if that is not available |
void |
initialize(java.lang.Object object,
WireContext wireContext)
called by the WireContext to initialize the specified object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
extensions
protected java.util.Map<java.lang.String,java.lang.String> extensions
- maps extensions to language-ids
deployerDescriptors
protected java.util.Map<java.lang.String,java.util.List<Descriptor>> deployerDescriptors
- maps language-ids to a sequence of process deployers
DeployerManagerDescriptor
public DeployerManagerDescriptor()
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.
initialize
public void initialize(java.lang.Object object,
WireContext wireContext)
- Description copied from interface:
Descriptor
- called by the WireContext to initialize the specified object.
For more information about initialization, see
WireContext
section lifecycle.
- Specified by:
initialize
in interface Descriptor
- Overrides:
initialize
in class AbstractDescriptor
- Parameters:
object
- object to initialize.wireContext
- the context in which the object will be initialized.
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
addLanguage
public void addLanguage(java.lang.String language,
java.lang.String extension,
java.util.List<Descriptor> deployerDescriptorSequence)