org.jbpm.workflow.instance.node
Class DynamicNodeInstance

java.lang.Object
  extended by org.jbpm.workflow.instance.impl.NodeInstanceImpl
      extended by org.jbpm.workflow.instance.impl.ExtendedNodeInstanceImpl
          extended by org.jbpm.workflow.instance.node.StateBasedNodeInstance
              extended by org.jbpm.workflow.instance.node.CompositeNodeInstance
                  extended by org.jbpm.workflow.instance.node.CompositeContextNodeInstance
                      extended by org.jbpm.workflow.instance.node.DynamicNodeInstance
All Implemented Interfaces:
Serializable, EventListener, NodeInstance, NodeInstanceContainer, ContextableInstance, ContextInstanceContainer, EventBasedNodeInstanceInterface, EventNodeInstanceInterface

public class DynamicNodeInstance
extends CompositeContextNodeInstance

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.jbpm.workflow.instance.node.CompositeNodeInstance
CompositeNodeInstance.CompositeNodeEndInstance, CompositeNodeInstance.CompositeNodeStartInstance
 
Nested classes/interfaces inherited from class org.jbpm.workflow.instance.impl.NodeInstanceImpl
NodeInstanceImpl.NodeInstanceTrigger
 
Field Summary
 
Fields inherited from class org.jbpm.workflow.instance.node.StateBasedNodeInstance
PARAMETER_MATCHER
 
Constructor Summary
DynamicNodeInstance()
           
 
Method Summary
protected  DynamicNode getDynamicNode()
           
 void internalTrigger(NodeInstance from, String type)
           
 void nodeInstanceCompleted(NodeInstance nodeInstance, String outType)
           
 void signalEvent(String type, Object event)
          Signals that an event has occurred.
 void triggerCompleted(String outType)
           
 
Methods inherited from class org.jbpm.workflow.instance.node.CompositeContextNodeInstance
addContextInstance, getCompositeContextNode, getContextContainer, getContextInstance, getContextInstance, getContextInstance, getContextInstances, removeContextInstance, setContextInstance
 
Methods inherited from class org.jbpm.workflow.instance.node.CompositeNodeInstance
addEventListeners, addNodeInstance, cancel, getCompositeNode, getFirstNodeInstance, getNodeContainer, getNodeInstance, getNodeInstance, getNodeInstances, getNodeInstances, getNodeInstances, getState, isLinkedIncomingNodeRequired, removeEventListeners, removeNodeInstance, setProcessInstance, setState
 
Methods inherited from class org.jbpm.workflow.instance.node.StateBasedNodeInstance
addTimerListener, checkProcessInstance, createTimerInstance, getEventBasedNode, getEventTypes, getTimerInstances, internalSetTimerInstances, triggerCompleted, triggerCompleted
 
Methods inherited from class org.jbpm.workflow.instance.impl.ExtendedNodeInstanceImpl
executeAction, getExtendedNode, triggerCompleted, triggerEvent
 
Methods inherited from class org.jbpm.workflow.instance.impl.NodeInstanceImpl
followConnection, getId, getMetaData, getNode, getNodeId, getNodeInstanceContainer, getNodeName, getProcessInstance, getUniqueId, getVariable, isInversionOfControl, resolveContext, resolveContextInstance, setId, setMetaData, setNodeId, setNodeInstanceContainer, setVariable, trigger, triggerConnection, triggerNodeInstance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DynamicNodeInstance

public DynamicNodeInstance()
Method Detail

getDynamicNode

protected DynamicNode getDynamicNode()

internalTrigger

public void internalTrigger(NodeInstance from,
                            String type)
Overrides:
internalTrigger in class CompositeNodeInstance

nodeInstanceCompleted

public void nodeInstanceCompleted(NodeInstance nodeInstance,
                                  String outType)
Overrides:
nodeInstanceCompleted in class CompositeNodeInstance

triggerCompleted

public void triggerCompleted(String outType)
Overrides:
triggerCompleted in class CompositeNodeInstance

signalEvent

public void signalEvent(String type,
                        Object event)
Description copied from interface: EventListener
Signals that an event has occurred. The type parameter defines which type of event and the event parameter can contain additional information related to the event.

Specified by:
signalEvent in interface EventListener
Specified by:
signalEvent in interface EventNodeInstanceInterface
Overrides:
signalEvent in class CompositeNodeInstance
Parameters:
type - the type of event
event - the data associated with this event


Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.