org.alfresco.repo.workflow
Class BPMEngine

java.lang.Object
  extended by 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.InitializingBean

Base functionality for a plug-in BPM Engine


Constructor Summary
BPMEngine()
           
 
Method Summary
 void afterPropertiesSet()
          
 java.lang.String createGlobalId(java.lang.String localId)
          Construct a global Id for use outside of the engine
 java.lang.String createLocalId(java.lang.String globalId)
          Construct a local Id from a global Id
protected  java.lang.String getEngineId()
           
 void setBPMEngineRegistry(BPMEngineRegistry registry)
          Sets the BPM Engine Registry
 void setEngineId(java.lang.String engineId)
          Sets the BPM Engine Id
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BPMEngine

public BPMEngine()
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:
afterPropertiesSet in interface org.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


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.