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 Object implements org.springframework.beans.factory.InitializingBean
Base 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()StringcreateGlobalId(String localId)Construct a global Id for use outside of the engineStringcreateLocalId(String globalId)Construct a local Id from a global Idprotected StringgetEngineId()voidsetBPMEngineRegistry(BPMEngineRegistry registry)Sets the BPM Engine RegistryvoidsetEngineId(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(String engineId)
Sets the BPM Engine Id- Parameters:
engineId- the id
-
getEngineId
protected String getEngineId()
- Returns:
- the engineId
-
afterPropertiesSet
public void afterPropertiesSet() throws Exception- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean- Throws:
Exception
-
createGlobalId
public String createGlobalId(String localId)
Construct a global Id for use outside of the engine- Parameters:
localId- the local engine id- Returns:
- the global id
-
-