|
||||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | |||||||||
ExecutionImpl
based on org.jbpm.pvm.internal.model.AtomicOperations
Bidirectional relations
In this process model thoughout the pvm codebase, there are several bidirectional
relations.
See:
Description
| Interface Summary | |
|---|---|
| CompositeElement | activity container base class for OpenProcessDefinition and Activity. |
| Condition | user code that reflects a runtime calculation of a boolean value. |
| ExecutionKeyGenerator | |
| ObservableElement | a super class for process elements that have events. |
| OpenProcessDefinition | a graph (or tree) structure that can be executed. |
| Enum Summary | |
|---|---|
| Continuation | |
| ExecutionImpl.Propagation | |
default implementation of process execution in ExecutionImpl
based on org.jbpm.pvm.internal.model.AtomicOperations
In this process model thoughout the pvm codebase, there are several bidirectional
relations. By convention, the bidirectional relations are maintained on the many side.
This means that when you call for example CompositeElementImpl.addActivity(org.jbpm.pvm.internal.model.ActivityImpl), that
method will also update the inverse pointer by invoking the
ProcessElementImpl.setProcessDefinition(org.jbpm.pvm.internal.model.ProcessDefinitionImpl) setter. Setter methods will be plain setter
methods and they will NOT update the inverse reference. (that would cause
an infinite loop).
In the same spirit, there is the convention that the many side of bidirection
relations provide factory methods for the related objects. Those factory methods
will also establish the bidirectional relation. E.g. CompositeElementImpl.createActivity(String).
|
||||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | |||||||||