04-01-2013 03:41 PM
04-03-2013 03:51 AM
/**
* Factory class used by the {@link BpmnParser} and {@link BpmnParse} to instantiate
* the behaviour classes. For example when parsing an exclusive gateway, this factory
* will be requested to create a new {@link ActivityBehavior} that will be set on the
* {@link ActivityImpl} of that step of the process and will implement the spec-compliant
* behavior of the exclusive gateway.
*
* You can provide your own implementation of this class. This way, you can give
* different execution semantics to a standard bpmn xml construct. Eg. you could
* tweak the exclusive gateway to do something completely different if you would want that.
* Creating your own {@link ActivityBehaviorFactory} is only advisable if you
* want to change the default behavior of any BPMN default construct.
* And even then, think twice, because it won't be spec compliant bpmn anymore.
*
* Note that you can always express any custom step as a service task with a class delegation.
*
* The easiest and advisable way to implement your own {@link ActivityBehaviorFactory}
* is to extend the {@link DefaultActivityBehaviorFactory} class and override
* the method specific to the {@link ActivityBehavior} you want to change.
*
* An instance of this interface can be injected in the {@link ProcessEngineConfigurationImpl}
* and its subclasses.
*
* @author Joram Barrez
*/
public interface ActivityBehaviorFactory {
01-04-2015 02:13 PM
04-03-2013 08:33 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.