Class SpringProcessEngineConfiguration

  • All Implemented Interfaces:
    org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware

    public class SpringProcessEngineConfiguration
    extends ProcessEngineConfigurationImpl
    implements org.springframework.context.ApplicationContextAware
    • Field Detail

      • transactionManager

        protected org.springframework.transaction.PlatformTransactionManager transactionManager
      • deploymentName

        protected String deploymentName
      • deploymentResources

        protected org.springframework.core.io.Resource[] deploymentResources
      • deploymentMode

        protected String deploymentMode
      • applicationContext

        protected org.springframework.context.ApplicationContext applicationContext
      • transactionSynchronizationAdapterOrder

        protected Integer transactionSynchronizationAdapterOrder
    • Constructor Detail

      • SpringProcessEngineConfiguration

        public SpringProcessEngineConfiguration()
    • Method Detail

      • setTransactionSynchronizationAdapterOrder

        public void setTransactionSynchronizationAdapterOrder​(Integer transactionSynchronizationAdapterOrder)
      • autoDeployResources

        protected void autoDeployResources​(ProcessEngine processEngine)
      • getTransactionManager

        public org.springframework.transaction.PlatformTransactionManager getTransactionManager()
      • setTransactionManager

        public void setTransactionManager​(org.springframework.transaction.PlatformTransactionManager transactionManager)
      • getDeploymentName

        public String getDeploymentName()
      • setDeploymentName

        public void setDeploymentName​(String deploymentName)
      • getDeploymentResources

        public org.springframework.core.io.Resource[] getDeploymentResources()
      • setDeploymentResources

        public void setDeploymentResources​(org.springframework.core.io.Resource[] deploymentResources)
      • getApplicationContext

        public org.springframework.context.ApplicationContext getApplicationContext()
      • setApplicationContext

        public void setApplicationContext​(org.springframework.context.ApplicationContext applicationContext)
                                   throws org.springframework.beans.BeansException
        Specified by:
        setApplicationContext in interface org.springframework.context.ApplicationContextAware
        Throws:
        org.springframework.beans.BeansException
      • getDeploymentMode

        public String getDeploymentMode()
      • setDeploymentMode

        public void setDeploymentMode​(String deploymentMode)
      • getAutoDeploymentStrategy

        protected AutoDeploymentStrategy getAutoDeploymentStrategy​(String mode)
        Gets the AutoDeploymentStrategy for the provided mode. This method may be overridden to implement custom deployment strategies if required, but implementors should take care not to return null.
        Parameters:
        mode - the mode to get the strategy for
        Returns:
        the deployment strategy to use for the mode. Never null