Class 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 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​(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:
        afterPropertiesSet in interface org.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
      • createLocalId

        public String createLocalId​(String globalId)
        Construct a local Id from a global Id
        Parameters:
        globalId - the global id
        Returns:
        the local id