public class SpringAppEngineConfiguration extends AppEngineConfiguration implements SpringEngineConfiguration
| Modifier and Type | Field and Description |
|---|---|
protected org.springframework.context.ApplicationContext |
applicationContext |
protected String |
deploymentMode |
protected org.springframework.core.io.Resource[] |
deploymentResources |
protected Collection<AutoDeploymentStrategy<AppEngine>> |
deploymentStrategies |
protected List<String> |
enginesBuild |
protected Object |
lifeCycleMonitor |
protected boolean |
running |
protected org.springframework.transaction.PlatformTransactionManager |
transactionManager |
protected Integer |
transactionSynchronizationAdapterOrder |
appDefinitionCache, appDefinitionCacheLimit, appDefinitionDataManager, appDefinitionEntityManager, appDeployer, appDeploymentEntityManager, appEngineName, appManagementService, appRepositoryService, appResourceConverter, appResourceEntityManager, businessCalendarManager, customPostVariableTypes, customPreVariableTypes, DEFAULT_MYBATIS_MAPPING_FILE, deploymentDataManager, deploymentManager, disableEventRegistry, disableIdmEngine, executeServiceSchemaManagers, expressionManager, identityLinkSchemaManager, identityLinkServiceConfiguration, jsonVariableTypeTrackObjects, LIQUIBASE_CHANGELOG_PREFIX, resourceDataManager, serializableVariableTypeTrackDeserializedObjects, variableSchemaManager, variableServiceConfiguration, variableTypesadditionalEventDispatchActions, agendaOperationRunner, allConfigurators, alwaysLookupLatestDefinitionVersion, beans, byteArrayDataManager, byteArrayEntityManager, classLoader, clock, commandContextFactory, commandExecutor, commandInterceptors, commandInvoker, commonSchemaManager, configurators, customMybatisInterceptors, customMybatisMappers, customMybatisXMLMappers, customPostCommandInterceptors, customPostDeployers, customPreCommandInterceptors, customPreDeployers, customSessionFactories, DATABASE_TYPE_COCKROACHDB, DATABASE_TYPE_DB2, DATABASE_TYPE_H2, DATABASE_TYPE_HSQL, DATABASE_TYPE_MSSQL, DATABASE_TYPE_MYSQL, DATABASE_TYPE_ORACLE, DATABASE_TYPE_POSTGRES, databaseCatalog, databaseSchema, databaseSchemaUpdate, databaseTablePrefix, databaseType, databaseTypeMappings, databaseWildcardEscapeCharacter, dataSource, dataSourceJndiName, DB_SCHEMA_UPDATE_CREATE, DB_SCHEMA_UPDATE_CREATE_DROP, DB_SCHEMA_UPDATE_DROP_CREATE, DB_SCHEMA_UPDATE_FALSE, DB_SCHEMA_UPDATE_TRUE, dbSqlSessionFactory, DEFAULT_GENERIC_MAX_LENGTH_STRING, DEFAULT_MAX_NR_OF_STATEMENTS_BULK_INSERT_SQL_SERVER, DEFAULT_ORACLE_MAX_LENGTH_STRING, defaultCommandConfig, defaultCommandInterceptors, defaultTenantProvider, dependentEngineMybatisTypeAliasConfigs, dependentEngineMybatisTypeHandlerConfigs, dependentEngineMyBatisXmlMappers, deployers, enableConfiguratorServiceLoader, enableEventDispatcher, enableLogSqlExecutionTime, engineConfigurations, engineLifecycleListeners, eventDispatcher, eventListeners, eventRegistryConfigurator, eventRegistryEventConsumers, fallbackToDefaultTenant, forceCloseMybatisConnectionPool, idGenerator, idmEngineConfigurator, isBulkInsertEnabled, isDbHistoryUsed, jdbcDefaultTransactionIsolationLevel, jdbcDriver, jdbcMaxActiveConnections, jdbcMaxCheckoutTime, jdbcMaxIdleConnections, jdbcMaxWaitTime, jdbcPassword, jdbcPingConnectionNotUsedFor, jdbcPingEnabled, jdbcPingQuery, jdbcUrl, jdbcUsername, lockPollRate, logger, loggingListener, maxLengthStringVariableType, maxNrOfStatementsInBulkInsert, mybatisMappingFile, NO_TENANT_ID, objectMapper, PRODUCT_NAME_CRDB, PRODUCT_NAME_POSTGRES, propertyDataManager, propertyEntityManager, schemaCommandConfig, schemaLockWaitTime, schemaManagementCmd, schemaManager, serviceConfigurations, sessionFactories, sqlSessionFactory, tableDataManager, tablePrefixIsSchema, transactionContextFactory, transactionFactory, transactionsExternallyManaged, typedEventListeners, useClassForNameClassLoading, useLockForDatabaseSchemaUpdate, usePrefixId, usingRelationalDatabase, usingSchemaMgmt, xmlEncodingPHASE, PHASE_DELTA| Constructor and Description |
|---|
SpringAppEngineConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
autoDeployResources(AppEngine appEngine) |
AppEngine |
buildAppEngine() |
protected org.flowable.common.engine.impl.EngineConfigurator |
createDefaultEventRegistryEngineConfigurator() |
org.flowable.common.engine.impl.interceptor.CommandInterceptor |
createTransactionInterceptor() |
org.springframework.context.ApplicationContext |
getApplicationContext() |
protected AutoDeploymentStrategy<AppEngine> |
getAutoDeploymentStrategy(String mode)
Gets the
AutoDeploymentStrategy for the provided mode. |
String |
getDeploymentMode() |
String |
getDeploymentName() |
org.springframework.core.io.Resource[] |
getDeploymentResources() |
Collection<AutoDeploymentStrategy<AppEngine>> |
getDeploymentStrategies() |
org.springframework.transaction.PlatformTransactionManager |
getTransactionManager() |
void |
initDefaultCommandConfig() |
void |
initTransactionContextFactory() |
boolean |
isRunning() |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
AppEngineConfiguration |
setDataSource(DataSource dataSource) |
void |
setDeploymentMode(String deploymentMode) |
void |
setDeploymentName(String deploymentName) |
void |
setDeploymentResources(org.springframework.core.io.Resource[] deploymentResources) |
void |
setDeploymentStrategies(Collection<AutoDeploymentStrategy<AppEngine>> deploymentStrategies) |
void |
setTransactionManager(org.springframework.transaction.PlatformTransactionManager transactionManager) |
void |
setTransactionSynchronizationAdapterOrder(Integer transactionSynchronizationAdapterOrder) |
void |
start() |
void |
stop() |
configureVariableServiceConfiguration, createAppEngineConfigurationFromInputStream, createAppEngineConfigurationFromInputStream, createAppEngineConfigurationFromResource, createAppEngineConfigurationFromResource, createAppEngineConfigurationFromResourceDefault, createStandaloneAppEngineConfiguration, createStandaloneInMemAppEngineConfiguration, getAppDefinitionCache, getAppDefinitionCacheLimit, getAppDefinitionDataManager, getAppDefinitionEntityManager, getAppDeployer, getAppDeploymentEntityManager, getAppEngineName, getAppManagementService, getAppRepositoryService, getAppResourceConverter, getAppResourceEntityManager, getBusinessCalendarManager, getCustomPostVariableTypes, getCustomPreVariableTypes, getDefaultDeployers, getDeploymentDataManager, getDeploymentManager, getEngineCfgKey, getEngineName, getEngineScopeType, getEngineSpecificEngineConfigurators, getExpressionManager, getIdentityLinkSchemaManager, getIdentityLinkServiceConfiguration, getIdmIdentityService, getMyBatisXmlConfigurationStream, getResourceDataManager, getVariableSchemaManager, getVariableServiceConfiguration, getVariableTypes, init, initAppDefinitionCache, initAppResourceConverter, initAppSchemaManager, initBusinessCalendarManager, initCommandInvoker, initDataManagers, initDbSqlSessionFactoryEntitySettings, initDeployers, initDeploymentManager, initEntityManagers, initExpressionManager, initIdentityLinkSchemaManager, initIdentityLinkServiceConfiguration, initMybatisTypeHandlers, initSchemaManagementCommand, initSchemaManager, initServices, initVariableSchemaManager, initVariableServiceConfiguration, initVariableTypes, isDisableEventRegistry, isDisableIdmEngine, isExecuteServiceSchemaManagers, isJsonVariableTypeTrackObjects, isSerializableVariableTypeTrackDeserializedObjects, setAppDefinitionCache, setAppDefinitionCacheLimit, setAppDefinitionDataManager, setAppDefinitionEntityManager, setAppDeployer, setAppDeploymentEntityManager, setAppEngineName, setAppManagementService, setAppRepositoryService, setAppResourceConverter, setAppResourceEntityManager, setBusinessCalendarManager, setCustomPostVariableTypes, setCustomPreVariableTypes, setDeploymentDataManager, setDeploymentManager, setDisableEventRegistry, setDisableIdmEngine, setExecuteServiceSchemaManagers, setExpressionManager, setIdentityLinkSchemaManager, setIdentityLinkServiceConfiguration, setJsonVariableTypeTrackObjects, setResourceDataManager, setSerializableVariableTypeTrackDeserializedObjects, setTableDataManager, setVariableSchemaManager, setVariableServiceConfiguration, setVariableTypesaddConfigurator, addCustomSessionFactory, addEngineConfiguration, addEngineLifecycleListener, addEventRegistryEventConsumer, addServiceConfiguration, addSessionFactory, close, configuratorsAfterInit, configuratorsBeforeInit, createDbSqlSessionFactory, defaultInitDbSqlSessionFactoryEntitySettings, getAdditionalDefaultCommandInterceptors, getAdditionalEventDispatchActions, getAgendaOperationRunner, getAllConfigurators, getBeans, getByteArrayDataManager, getByteArrayEntityManager, getClassLoader, getClock, getCommandContextFactory, getCommandExecutor, getCommandInterceptors, getCommandInvoker, getCommonSchemaManager, getConfigurators, getCustomMybatisInterceptors, getCustomMybatisMappers, getCustomMybatisXMLMappers, getCustomPostCommandInterceptors, getCustomPostDeployers, getCustomPreCommandInterceptors, getCustomPreDeployers, getCustomSessionFactories, getDatabaseCatalog, getDatabaseSchema, getDatabaseSchemaUpdate, getDatabaseTablePrefix, getDatabaseType, getDatabaseWildcardEscapeCharacter, getDataSource, getDataSourceJndiName, getDbSqlSessionFactory, getDefaultCommandConfig, getDefaultCommandInterceptors, getDefaultDatabaseTypeMappings, getDefaultTenantProvider, getDefaultTenantValue, getDependentEngineMybatisTypeAliasConfigs, getDependentEngineMybatisTypeHandlerConfigs, getDependentEngineMyBatisXmlMappers, getDeployers, getEngineConfigurations, getEngineLifecycleListeners, getEventDispatcher, getEventListeners, getEventRegistryConfigurator, getEventRegistryEventConsumers, getIdGenerator, getIdmEngineConfigurator, getJdbcDefaultTransactionIsolationLevel, getJdbcDriver, getJdbcMaxActiveConnections, getJdbcMaxCheckoutTime, getJdbcMaxIdleConnections, getJdbcMaxWaitTime, getJdbcPassword, getJdbcPingConnectionNotUsedFor, getJdbcPingQuery, getJdbcUrl, getJdbcUsername, getLockManager, getLockPollRate, getLoggingListener, getMaxLengthString, getMaxLengthStringVariableType, getMaxNrOfStatementsInBulkInsert, getMybatisMappingFile, getObjectMapper, getPropertyDataManager, getPropertyEntityManager, getResourceAsStream, getSchemaCommandConfig, getSchemaLockWaitTime, getSchemaManagementCmd, getSchemaManager, getServiceConfigurations, getSessionFactories, getSqlSessionFactory, getTableDataManager, getTransactionContextFactory, getTransactionFactory, getTypedEventListeners, getXmlEncoding, initAdditionalEventDispatchActions, initBeans, initClock, initCommandContextFactory, initCommandExecutor, initCommandExecutors, initCommandInterceptors, initConfigurators, initCustomMybatisInterceptors, initCustomMybatisMappers, initDatabaseType, initDataSource, initDbSqlSessionFactory, initEngineConfigurations, initEventDispatcher, initEventListeners, initIdGenerator, initInterceptorChain, initMybatisConfiguration, initMyBatisLogSqlExecutionTimePlugin, initSchemaCommandConfig, initService, initSessionFactories, initSqlSessionFactory, initTransactionFactory, initTypedEventListeners, isAlwaysLookupLatestDefinitionVersion, isBulkInsertEnabled, isDbHistoryUsed, isEnableConfiguratorServiceLoader, isEnableEventDispatcher, isEnableLogSqlExecutionTime, isFallbackToDefaultTenant, isForceCloseMybatisConnectionPool, isJdbcPingEnabled, isLoggingSessionEnabled, isTablePrefixIsSchema, isTransactionsExternallyManaged, isUseClassForNameClassLoading, isUseLockForDatabaseSchemaUpdate, isUsePrefixId, isUsingRelationalDatabase, isUsingSchemaMgmt, parseCustomMybatisXMLMappers, parseDependentEngineMybatisXMLMappers, parseMybatisConfiguration, parseMybatisXmlMapping, pathToEngineDbProperties, setAdditionalEventDispatchActions, setAgendaOperationRunner, setAlwaysLookupLatestDefinitionVersion, setBeans, setBulkInsertEnabled, setByteArrayDataManager, setByteArrayEntityManager, setClassLoader, setClock, setCommandContextFactory, setCommandExecutor, setCommandInterceptors, setCommandInvoker, setCommonSchemaManager, setConfigurators, setCustomMybatisInterceptors, setCustomMybatisMappers, setCustomMybatisXMLMappers, setCustomPostCommandInterceptors, setCustomPostDeployers, setCustomPreCommandInterceptors, setCustomPreDeployers, setCustomSessionFactories, setDatabaseCatalog, setDatabaseSchema, setDatabaseSchemaUpdate, setDatabaseTablePrefix, setDatabaseType, setDatabaseWildcardEscapeCharacter, setDataSourceJndiName, setDbHistoryUsed, setDbSqlSessionFactory, setDefaultCommandConfig, setDefaultCommandInterceptors, setDefaultTenantProvider, setDefaultTenantValue, setDependentEngineMybatisTypeAliasConfigs, setDependentEngineMybatisTypeHandlerConfigs, setDependentEngineMyBatisXmlMappers, setDeployers, setEnableConfiguratorServiceLoader, setEnableEventDispatcher, setEnableLogSqlExecutionTime, setEngineConfigurations, setEngineLifecycleListeners, setEventDispatcher, setEventListeners, setEventRegistryConfigurator, setEventRegistryEventConsumers, setFallbackToDefaultTenant, setForceCloseMybatisConnectionPool, setIdGenerator, setIdmEngineConfigurator, setJdbcDefaultTransactionIsolationLevel, setJdbcDriver, setJdbcMaxActiveConnections, setJdbcMaxCheckoutTime, setJdbcMaxIdleConnections, setJdbcMaxWaitTime, setJdbcPassword, setJdbcPingConnectionNotUsedFor, setJdbcPingEnabled, setJdbcPingQuery, setJdbcUrl, setJdbcUsername, setLockPollRate, setLoggingListener, setMaxLengthStringVariableType, setMaxNrOfStatementsInBulkInsert, setMybatisMappingFile, setObjectMapper, setPropertyDataManager, setPropertyEntityManager, setSchemaCommandConfig, setSchemaLockWaitTime, setSchemaManagementCmd, setSchemaManager, setServiceConfigurations, setSessionFactories, setSqlSessionFactory, setTablePrefixIsSchema, setTransactionContextFactory, setTransactionFactory, setTransactionsExternallyManaged, setTypedEventListeners, setUseClassForNameClassLoading, setUseLockForDatabaseSchemaUpdate, setUsePrefixId, setUsingRelationalDatabase, setUsingSchemaMgmt, setXmlEncodingclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBeans, getPhase, isAutoStartup, stopprotected org.springframework.transaction.PlatformTransactionManager transactionManager
protected org.springframework.core.io.Resource[] deploymentResources
protected String deploymentMode
protected org.springframework.context.ApplicationContext applicationContext
protected Integer transactionSynchronizationAdapterOrder
protected Collection<AutoDeploymentStrategy<AppEngine>> deploymentStrategies
protected volatile boolean running
protected final Object lifeCycleMonitor
public AppEngine buildAppEngine()
buildAppEngine in class AppEngineConfigurationprotected org.flowable.common.engine.impl.EngineConfigurator createDefaultEventRegistryEngineConfigurator()
createDefaultEventRegistryEngineConfigurator in class AppEngineConfigurationpublic void setTransactionSynchronizationAdapterOrder(Integer transactionSynchronizationAdapterOrder)
public void initDefaultCommandConfig()
initDefaultCommandConfig in class org.flowable.common.engine.impl.AbstractEngineConfigurationpublic org.flowable.common.engine.impl.interceptor.CommandInterceptor createTransactionInterceptor()
createTransactionInterceptor in class AppEngineConfigurationpublic void initTransactionContextFactory()
initTransactionContextFactory in class org.flowable.common.engine.impl.AbstractEngineConfigurationprotected void autoDeployResources(AppEngine appEngine)
public AppEngineConfiguration setDataSource(DataSource dataSource)
setDataSource in class AppEngineConfigurationpublic org.springframework.transaction.PlatformTransactionManager getTransactionManager()
getTransactionManager in interface SpringEngineConfigurationpublic void setTransactionManager(org.springframework.transaction.PlatformTransactionManager transactionManager)
setTransactionManager in interface SpringEngineConfigurationpublic org.springframework.core.io.Resource[] getDeploymentResources()
getDeploymentResources in interface SpringEngineConfigurationpublic void setDeploymentResources(org.springframework.core.io.Resource[] deploymentResources)
setDeploymentResources in interface SpringEngineConfigurationpublic org.springframework.context.ApplicationContext getApplicationContext()
getApplicationContext in interface SpringEngineConfigurationpublic void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
setApplicationContext in interface SpringEngineConfigurationsetApplicationContext in interface org.springframework.context.ApplicationContextAwareorg.springframework.beans.BeansExceptionpublic String getDeploymentMode()
getDeploymentMode in interface SpringEngineConfigurationpublic void setDeploymentMode(String deploymentMode)
setDeploymentMode in interface SpringEngineConfigurationprotected AutoDeploymentStrategy<AppEngine> getAutoDeploymentStrategy(String mode)
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.mode - the mode to get the strategy fornullpublic void start()
start in interface org.springframework.context.Lifecyclepublic Collection<AutoDeploymentStrategy<AppEngine>> getDeploymentStrategies()
public void setDeploymentStrategies(Collection<AutoDeploymentStrategy<AppEngine>> deploymentStrategies)
public void stop()
stop in interface org.springframework.context.Lifecyclepublic boolean isRunning()
isRunning in interface org.springframework.context.Lifecyclepublic String getDeploymentName()
getDeploymentName in interface SpringEngineConfigurationpublic void setDeploymentName(String deploymentName)
setDeploymentName in interface SpringEngineConfigurationCopyright © 2020 Flowable. All rights reserved.