Class 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
    Author:
    davidc, Nick Smith
    • Constructor Summary

      Constructors 
      Constructor Description
      BPMEngine()  
    • 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