Package org.alfresco.repo.workflow
Class BPMEngine
- java.lang.Object
-
- org.alfresco.repo.workflow.BPMEngine
-
- All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean
- Direct Known Subclasses:
ActivitiWorkflowEngine,AlfrescoBpmEngine
public class BPMEngine extends java.lang.Object implements org.springframework.beans.factory.InitializingBeanBase functionality for a plug-in BPM Engine- Author:
- davidc, Nick Smith
-
-
Constructor Summary
Constructors Constructor Description BPMEngine()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterPropertiesSet()java.lang.StringcreateGlobalId(java.lang.String localId)Construct a global Id for use outside of the enginejava.lang.StringcreateLocalId(java.lang.String globalId)Construct a local Id from a global Idprotected java.lang.StringgetEngineId()voidsetBPMEngineRegistry(BPMEngineRegistry registry)Sets the BPM Engine RegistryvoidsetEngineId(java.lang.String engineId)Sets the BPM Engine Id
-
-
-
Method Detail
-
setBPMEngineRegistry
public void setBPMEngineRegistry(BPMEngineRegistry registry)
Sets the BPM Engine Registry- Parameters:
registry- the registry
-
setEngineId
public void setEngineId(java.lang.String engineId)
Sets the BPM Engine Id- Parameters:
engineId- the id
-
getEngineId
protected java.lang.String getEngineId()
- Returns:
- the engineId
-
afterPropertiesSet
public void afterPropertiesSet() throws java.lang.Exception- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean- Throws:
java.lang.Exception
-
createGlobalId
public java.lang.String createGlobalId(java.lang.String localId)
Construct a global Id for use outside of the engine- Parameters:
localId- the local engine id- Returns:
- the global id
-
createLocalId
public java.lang.String createLocalId(java.lang.String globalId)
Construct a local Id from a global Id- Parameters:
globalId- the global id- Returns:
- the local id
-
-