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 Details

    • 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 Details

    • SpringProcessEngineConfiguration

      public SpringProcessEngineConfiguration()
    • SpringProcessEngineConfiguration

      public SpringProcessEngineConfiguration(ApplicationUpgradeContextService applicationUpgradeContextService)
  • Method Details

    • buildProcessEngine

      public ProcessEngine buildProcessEngine()
      Overrides:
      buildProcessEngine in class ProcessEngineConfigurationImpl
    • getUserGroupManager

      public UserGroupManager getUserGroupManager()
      Overrides:
      getUserGroupManager in class ProcessEngineConfigurationImpl
    • setTransactionSynchronizationAdapterOrder

      public void setTransactionSynchronizationAdapterOrder(Integer transactionSynchronizationAdapterOrder)
    • initDefaultCommandConfig

      public void initDefaultCommandConfig()
      Overrides:
      initDefaultCommandConfig in class ProcessEngineConfigurationImpl
    • createTransactionInterceptor

      public CommandInterceptor createTransactionInterceptor()
      Specified by:
      createTransactionInterceptor in class ProcessEngineConfigurationImpl
    • initTransactionContextFactory

      public void initTransactionContextFactory()
      Overrides:
      initTransactionContextFactory in class ProcessEngineConfigurationImpl
    • initJpa

      public void initJpa()
      Overrides:
      initJpa in class ProcessEngineConfigurationImpl
    • autoDeployResources

      protected void autoDeployResources(ProcessEngine processEngine)
    • setDataSource

      public ProcessEngineConfiguration setDataSource(DataSource dataSource)
      Overrides:
      setDataSource in class ProcessEngineConfiguration
    • 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