Class SpringProcessEngineConfiguration

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

    public class SpringProcessEngineConfiguration
    extends org.activiti.spring.SpringProcessEngineConfiguration
    Our extension of the standard SpringProcessEngineConfiguration
    Since:
    6.8
    Author:
    Marco Meschieri - LogicalDOC
    See Also:
    SpringProcessEngineConfiguration
    • Field Summary

      • Fields inherited from class org.activiti.engine.impl.cfg.ProcessEngineConfigurationImpl

        DATABASE_TYPE_DB2, DATABASE_TYPE_H2, DATABASE_TYPE_HSQL, DATABASE_TYPE_MSSQL, DATABASE_TYPE_MYSQL, DATABASE_TYPE_ORACLE, DATABASE_TYPE_POSTGRES, DB_SCHEMA_UPDATE_CREATE, DB_SCHEMA_UPDATE_DROP_CREATE, DEFAULT_GENERIC_MAX_LENGTH_STRING, DEFAULT_MYBATIS_MAPPING_FILE, DEFAULT_ORACLE_MAX_LENGTH_STRING, DEFAULT_WS_SYNC_FACTORY
      • Fields inherited from class org.activiti.engine.ProcessEngineConfiguration

        DB_SCHEMA_UPDATE_CREATE_DROP, DB_SCHEMA_UPDATE_FALSE, DB_SCHEMA_UPDATE_TRUE, NO_TENANT_ID
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.activiti.engine.ProcessEngineConfiguration setDatabaseType​(String databaseType)
      The HSQLDB is not officially supported so let use H2.
      • Methods inherited from class org.activiti.spring.SpringProcessEngineConfiguration

        buildProcessEngine, getApplicationContext, getDeploymentMode, getDeploymentName, getDeploymentResources, getTransactionManager, setApplicationContext, setDataSource, setDeploymentMode, setDeploymentName, setDeploymentResources, setTransactionManager, setTransactionSynchronizationAdapterOrder
      • Methods inherited from class org.activiti.engine.impl.cfg.ProcessEngineConfigurationImpl

        addConfigurator, addWsEndpointAddress, getActivityBehaviorFactory, getAllConfigurators, getAsyncExecutorAsyncJobLockTimeInMillis, getAsyncExecutorCorePoolSize, getAsyncExecutorDefaultAsyncJobAcquireWaitTime, getAsyncExecutorDefaultQueueSizeFullWaitTime, getAsyncExecutorExecuteAsyncRunnableFactory, getAsyncExecutorLockOwner, getAsyncExecutorLockRetryWaitTimeInMillis, getAsyncExecutorMaxAsyncJobsDuePerAcquisition, getAsyncExecutorMaxPoolSize, getAsyncExecutorMaxTimerJobsPerAcquisition, getAsyncExecutorSecondsToWaitOnShutdown, getAsyncExecutorThreadKeepAliveTime, getAsyncExecutorThreadPoolQueue, getAsyncExecutorThreadPoolQueueSize, getAsyncExecutorTimerJobAcquireWaitTime, getAsyncExecutorTimerLockTimeInMillis, getBatchSizeProcessInstances, getBatchSizeTasks, getBeans, getBpmnDeployer, getBpmnParseFactory, getBpmnParser, getBusinessCalendarManager, getCommandContextFactory, getCommandExecutor, getCommandInterceptors, getCommandInvoker, getConfigurators, getCustomDefaultBpmnParseHandlers, getCustomEventHandlers, getCustomFormEngines, getCustomFormTypes, getCustomJobHandlers, getCustomMybatisMappers, getCustomMybatisXMLMappers, getCustomPostCommandInterceptors, getCustomPostDeployers, getCustomPostVariableTypes, getCustomPreCommandInterceptors, getCustomPreDeployers, getCustomPreVariableTypes, getCustomRejectedJobsHandler, getCustomScriptingEngineClasses, getCustomSessionFactories, getDbSqlSessionFactory, getDefaultCommandConfig, getDelegateExpressionFieldInjectionMode, getDelegateInterceptor, getDeployers, getDeploymentManager, getDynamicBpmnService, getEventDispatcher, getEventHandler, getEventHandlers, getExecutionQueryLimit, getExpressionManager, getFailedJobCommandFactory, getFormEngines, getFormService, getFormTypes, getHistoricProcessInstancesQueryLimit, getHistoricTaskQueryLimit, getHistoryService, getIdentityService, getIdGenerator, getIdGeneratorDataSource, getIdGeneratorDataSourceJndiName, getJobHandlers, getKnowledgeBaseCache, getKnowledgeBaseCacheLimit, getListenerFactory, getManagementService, getMaxLengthStringVariableType, getMaxNrOfStatementsInBulkInsert, getObjectMapper, getPostBpmnParseHandlers, getPreBpmnParseHandlers, getProcessDefinitionCache, getProcessDefinitionCacheLimit, getProcessEngineConfiguration, getProcessValidator, getRepositoryService, getResolverFactories, getRuntimeService, getSchemaCommandConfig, getScriptingEngines, getSessionFactories, getSqlSessionFactory, getTaskQueryLimit, getTaskService, getTransactionContextFactory, getTransactionFactory, getVariableTypes, getWsOverridenEndpointAddresses, getWsSyncFactoryClassName, initDatabaseType, initHistoryLevel, isBulkInsertEnabled, isEnableDatabaseEventLogging, isEnableEventDispatcher, isEnableSafeBpmnXml, removeWsEndpointAddress, setActivityBehaviorFactory, setAsyncExecutorAsyncJobLockTimeInMillis, setAsyncExecutorCorePoolSize, setAsyncExecutorDefaultAsyncJobAcquireWaitTime, setAsyncExecutorDefaultQueueSizeFullWaitTime, setAsyncExecutorDefaultTimerJobAcquireWaitTime, setAsyncExecutorExecuteAsyncRunnableFactory, setAsyncExecutorLockOwner, setAsyncExecutorLockRetryWaitTimeInMillis, setAsyncExecutorMaxAsyncJobsDuePerAcquisition, setAsyncExecutorMaxPoolSize, setAsyncExecutorMaxTimerJobsPerAcquisition, setAsyncExecutorSecondsToWaitOnShutdown, setAsyncExecutorThreadKeepAliveTime, setAsyncExecutorThreadPoolQueue, setAsyncExecutorThreadPoolQueueSize, setAsyncExecutorTimerLockTimeInMillis, setBatchSizeProcessInstances, setBatchSizeTasks, setBeans, setBpmnDeployer, setBpmnParseFactory, setBpmnParser, setBulkInsertEnabled, setBusinessCalendarManager, setCommandContextFactory, setCommandExecutor, setCommandInterceptors, setCommandInvoker, setConfigurators, setCustomDefaultBpmnParseHandlers, setCustomEventHandlers, setCustomFormEngines, setCustomFormTypes, setCustomJobHandlers, setCustomMybatisMappers, setCustomMybatisXMLMappers, setCustomPostCommandInterceptors, setCustomPostDeployers, setCustomPostVariableTypes, setCustomPreCommandInterceptors, setCustomPreDeployers, setCustomPreVariableTypes, setCustomRejectedJobsHandler, setCustomScriptingEngineClasses, setCustomSessionFactories, setDbSqlSessionFactory, setDefaultCommandConfig, setDelegateExpressionFieldInjectionMode, setDelegateInterceptor, setDeployers, setDeploymentManager, setDynamicBpmnService, setEnableConfiguratorServiceLoader, setEnableDatabaseEventLogging, setEnableEventDispatcher, setEnableSafeBpmnXml, setEventDispatcher, setEventHandlers, setEventListeners, setExecutionQueryLimit, setExpressionManager, setFailedJobCommandFactory, setFormEngines, setFormService, setFormTypes, setHistoricProcessInstancesQueryLimit, setHistoricTaskQueryLimit, setHistoryService, setIdentityService, setIdGenerator, setIdGeneratorDataSource, setIdGeneratorDataSourceJndiName, setJobHandlers, setKnowledgeBaseCache, setKnowledgeBaseCacheLimit, setListenerFactory, setManagementService, setMaxLengthStringVariableType, setMaxNrOfStatementsInBulkInsert, setPostBpmnParseHandlers, setPreBpmnParseHandlers, setProcessDefinitionCache, setProcessDefinitionCacheLimit, setProcessValidator, setRepositoryService, setResolverFactories, setRuntimeService, setSchemaCommandConfig, setScriptingEngines, setSessionFactories, setSqlSessionFactory, setTaskQueryLimit, setTaskService, setTransactionContextFactory, setTransactionFactory, setTypedEventListeners, setVariableTypes, setWsOverridenEndpointAddresses, setWsSyncFactoryClassName
      • Methods inherited from class org.activiti.engine.ProcessEngineConfiguration

        createProcessEngineConfigurationFromInputStream, createProcessEngineConfigurationFromInputStream, createProcessEngineConfigurationFromResource, createProcessEngineConfigurationFromResource, createProcessEngineConfigurationFromResourceDefault, createStandaloneInMemProcessEngineConfiguration, createStandaloneProcessEngineConfiguration, getActivityFontName, getAnnotationFontName, getAsyncExecutor, getAsyncFailedJobWaitTime, getClassLoader, getClock, getDatabaseCatalog, getDatabaseSchema, getDatabaseSchemaUpdate, getDatabaseTablePrefix, getDatabaseType, getDatabaseWildcardEscapeCharacter, getDataSource, getDataSourceJndiName, getDefaultCamelContext, getDefaultFailedJobWaitTime, getHistory, getHistoryLevel, getIdBlockSize, getJdbcDefaultTransactionIsolationLevel, getJdbcDriver, getJdbcMaxActiveConnections, getJdbcMaxCheckoutTime, getJdbcMaxIdleConnections, getJdbcMaxWaitTime, getJdbcPassword, getJdbcPingConnectionNotUsedFor, getJdbcPingQuery, getJdbcUrl, getJdbcUsername, getJobExecutor, getJpaEntityManagerFactory, getJpaPersistenceUnitName, getLabelFontName, getLockTimeAsyncJobWaitTime, getMailServer, getMailServerDefaultFrom, getMailServerHost, getMailServerPassword, getMailServerPort, getMailServers, getMailServerUsername, getMailServerUseSSL, getMailServerUseTLS, getMailSessionJndi, getMailSessionJndi, getMailSessionsJndi, getProcessDiagramGenerator, getProcessEngineLifecycleListener, getProcessEngineName, getXmlEncoding, isAsyncExecutorActivate, isAsyncExecutorEnabled, isCreateDiagramOnDeploy, isDbHistoryUsed, isDbIdentityUsed, isEnableProcessDefinitionInfoCache, isJdbcPingEnabled, isJobExecutorActivate, isJpaCloseEntityManager, isJpaHandleTransaction, isTablePrefixIsSchema, isTransactionsExternallyManaged, isUseClassForNameClassLoading, setActivityFontName, setAnnotationFontName, setAsyncExecutor, setAsyncExecutorActivate, setAsyncExecutorEnabled, setAsyncFailedJobWaitTime, setClassLoader, setClock, setCreateDiagramOnDeploy, setDatabaseCatalog, setDatabaseSchema, setDatabaseSchemaUpdate, setDatabaseTablePrefix, setDatabaseWildcardEscapeCharacter, setDataSourceJndiName, setDbHistoryUsed, setDbIdentityUsed, setDefaultCamelContext, setDefaultFailedJobWaitTime, setEnableProcessDefinitionInfoCache, setHistory, setHistoryLevel, setIdBlockSize, setJdbcDefaultTransactionIsolationLevel, setJdbcDriver, setJdbcMaxActiveConnections, setJdbcMaxCheckoutTime, setJdbcMaxIdleConnections, setJdbcMaxWaitTime, setJdbcPassword, setJdbcPingConnectionNotUsedFor, setJdbcPingEnabled, setJdbcPingQuery, setJdbcUrl, setJdbcUsername, setJobExecutor, setJobExecutorActivate, setJpaCloseEntityManager, setJpaEntityManagerFactory, setJpaHandleTransaction, setJpaPersistenceUnitName, setLabelFontName, setLockTimeAsyncJobWaitTime, setMailServerDefaultFrom, setMailServerHost, setMailServerPassword, setMailServerPort, setMailServers, setMailServerUsername, setMailServerUseSSL, setMailServerUseTLS, setMailSessionJndi, setMailSessionsJndi, setProcessDiagramGenerator, setProcessEngineLifecycleListener, setProcessEngineName, setTablePrefixIsSchema, setTransactionsExternallyManaged, setUseClassForNameClassLoading, setXmlEncoding
    • Constructor Detail

      • SpringProcessEngineConfiguration

        public SpringProcessEngineConfiguration()
    • Method Detail

      • setDatabaseType

        public org.activiti.engine.ProcessEngineConfiguration setDatabaseType​(String databaseType)
        The HSQLDB is not officially supported so let use H2.
        Overrides:
        setDatabaseType in class org.activiti.engine.ProcessEngineConfiguration