public class AppEngineConfiguration extends AbstractEngineConfiguration implements AppEngineConfigurationApi, SpringEngineConfiguration, HasExpressionManagerEngineConfiguration, HasVariableTypes
additionalEventDispatchActions, 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_DELTADEFAULT_PHASE| Constructor and Description |
|---|
AppEngineConfiguration() |
addConfigurator, 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, initClock, initCommandContextFactory, initCommandExecutor, initCommandExecutors, initCommandInterceptors, initConfigurators, initCustomMybatisInterceptors, initCustomMybatisMappers, initDatabaseType, initDataSource, initDbSqlSessionFactory, initEngineConfigurations, initEventDispatcher, initEventListeners, initIdGenerator, initInterceptorChain, initMybatisConfiguration, initMyBatisLogSqlExecutionTimePlugin, initObjectMapper, 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, 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, stoppublic static final String DEFAULT_MYBATIS_MAPPING_FILE
public static final String LIQUIBASE_CHANGELOG_PREFIX
protected String appEngineName
protected AppManagementService appManagementService
protected CoreAppRepositoryService appRepositoryService
protected AppDeploymentDataManager deploymentDataManager
protected AppResourceDataManager resourceDataManager
protected AppDefinitionDataManager appDefinitionDataManager
protected PageDefinitionDataManager pageDefinitionDataManager
protected AppDeploymentEntityManager appDeploymentEntityManager
protected AppResourceEntityManager appResourceEntityManager
protected AppDefinitionEntityManager appDefinitionEntityManager
protected PageDefinitionEntityManager pageDefinitionEntityManager
protected boolean disableIdmEngine
protected boolean disableEventRegistry
protected boolean executeServiceSchemaManagers
protected AppDeployer appDeployer
protected AppDeploymentManager deploymentManager
protected CoreAppResourceConverter appResourceConverter
protected int appDefinitionCacheLimit
protected int pageDefinitionCacheLimit
protected DeploymentCache<AppDefinitionCacheEntry> appDefinitionCache
protected PageDeploymentCache pageDefinitionCache
protected ExpressionManager expressionManager
protected Collection<ELResolver> preDefaultELResolvers
protected Collection<ELResolver> preBeanELResolvers
protected Collection<ELResolver> postDefaultELResolvers
protected SchemaManager identityLinkSchemaManager
protected SchemaManager variableSchemaManager
protected PlatformTransactionManager transactionManager
protected Resource[] deploymentResources
protected String deploymentMode
protected ApplicationContext applicationContext
protected Integer transactionSynchronizationAdapterOrder
protected Collection<AutoDeploymentStrategy<AppEngine>> deploymentStrategies
protected volatile boolean running
protected final Object lifeCycleMonitor
protected IdentityLinkServiceConfiguration identityLinkServiceConfiguration
protected VariableTypes variableTypes
protected List<VariableType> customPreVariableTypes
protected List<VariableType> customPostVariableTypes
protected VariableServiceConfiguration variableServiceConfiguration
protected boolean serializableVariableTypeTrackDeserializedObjects
protected BusinessCalendarManager businessCalendarManager
protected boolean jsonVariableTypeTrackObjects
This means that, when true, in a JavaDelegate you can write:
JsonNode jsonNode = (JsonNode) execution.getVariable("customer");
customer.put("name", "Kermit");
And the changes to the JsonNode will be reflected in the database. Otherwise, a manual call to setVariable will be needed.public static AppEngineConfiguration createAppEngineConfigurationFromResourceDefault()
public static AppEngineConfiguration createAppEngineConfigurationFromResource(String resource)
public static AppEngineConfiguration createAppEngineConfigurationFromResource(String resource, String beanName)
public static AppEngineConfiguration createAppEngineConfigurationFromInputStream(InputStream inputStream)
public static AppEngineConfiguration createAppEngineConfigurationFromInputStream(InputStream inputStream, String beanName)
public static AppEngineConfiguration createStandaloneAppEngineConfiguration()
public static AppEngineConfiguration createStandaloneInMemAppEngineConfiguration()
public AppEngine buildAppEngine()
protected void init()
public void initSchemaManager()
initSchemaManager in class AbstractEngineConfigurationpublic void initSchemaManagementCommand()
protected void initAppSchemaManager()
protected void initVariableSchemaManager()
protected void initIdentityLinkSchemaManager()
public void initMybatisTypeHandlers(org.apache.ibatis.session.Configuration configuration)
initMybatisTypeHandlers in class AbstractEngineConfigurationpublic void initBeans()
initBeans in class AbstractEngineConfigurationpublic void initExpressionManager()
public void initCommandInvoker()
initCommandInvoker in class AbstractEngineConfigurationprotected void initServices()
public void initDataManagers()
initDataManagers in class AbstractEngineConfigurationpublic void initEntityManagers()
initEntityManagers in class AbstractEngineConfigurationprotected void initDeployers()
public Collection<? extends EngineDeployer> getDefaultDeployers()
protected void initAppDefinitionCache()
protected void initPageDefinitionCache()
protected void initAppResourceConverter()
protected void initDeploymentManager()
public String getEngineCfgKey()
getEngineCfgKey in class AbstractEngineConfigurationpublic String getEngineScopeType()
getEngineScopeType in class AbstractEngineConfigurationpublic CommandInterceptor createTransactionInterceptor()
createTransactionInterceptor in class AbstractEngineConfigurationpublic void initDefaultCommandConfig()
initDefaultCommandConfig in class AbstractEngineConfigurationpublic void initTransactionContextFactory()
initTransactionContextFactory in class AbstractEngineConfigurationprotected void autoDeployResources(AppEngine appEngine)
public InputStream getMyBatisXmlConfigurationStream()
getMyBatisXmlConfigurationStream in class AbstractEngineConfigurationprotected void initDbSqlSessionFactoryEntitySettings()
initDbSqlSessionFactoryEntitySettings in class AbstractEngineConfigurationpublic void initVariableTypes()
public void configureVariableServiceConfiguration()
public void initVariableServiceConfiguration()
public void initIdentityLinkServiceConfiguration()
public void initBusinessCalendarManager()
protected List<EngineConfigurator> getEngineSpecificEngineConfigurators()
getEngineSpecificEngineConfigurators in class AbstractEngineConfigurationpublic String getEngineName()
getEngineName in class AbstractEngineConfigurationpublic String getAppEngineName()
public AppEngineConfiguration setAppEngineName(String appEngineName)
public AppManagementService getAppManagementService()
getAppManagementService in interface AppEngineConfigurationApipublic AppEngineConfiguration setAppManagementService(AppManagementService appManagementService)
public CoreAppRepositoryService getAppRepositoryService()
getAppRepositoryService in interface AppEngineConfigurationApipublic AppEngineConfiguration setAppRepositoryService(CoreAppRepositoryService appRepositoryService)
public IdmIdentityService getIdmIdentityService()
public AppEngineConfiguration setTableDataManager(TableDataManager tableDataManager)
setTableDataManager in class AbstractEngineConfigurationpublic AppDeploymentDataManager getDeploymentDataManager()
public AppEngineConfiguration setDeploymentDataManager(AppDeploymentDataManager deploymentDataManager)
public AppResourceDataManager getResourceDataManager()
public AppEngineConfiguration setResourceDataManager(AppResourceDataManager resourceDataManager)
public AppDefinitionDataManager getAppDefinitionDataManager()
public AppEngineConfiguration setAppDefinitionDataManager(AppDefinitionDataManager appDefinitionDataManager)
public PageDefinitionDataManager getPageDefinitionDataManager()
public AppEngineConfiguration setPageDefinitionDataManager(PageDefinitionDataManager pageDefinitionDataManager)
public AppDeploymentEntityManager getAppDeploymentEntityManager()
public AppEngineConfiguration setAppDeploymentEntityManager(AppDeploymentEntityManager appDeploymentEntityManager)
public AppResourceEntityManager getAppResourceEntityManager()
public AppEngineConfiguration setAppResourceEntityManager(AppResourceEntityManager appResourceEntityManager)
public AppDefinitionEntityManager getAppDefinitionEntityManager()
public AppEngineConfiguration setAppDefinitionEntityManager(AppDefinitionEntityManager appDefinitionEntityManager)
public PageDefinitionEntityManager getPageDefinitionEntityManager()
public AppEngineConfiguration setPageDefinitionEntityManager(PageDefinitionEntityManager pageDefinitionEntityManager)
public AppDeployer getAppDeployer()
public AppEngineConfiguration setAppDeployer(AppDeployer appDeployer)
public CoreAppResourceConverter getAppResourceConverter()
public AppEngineConfiguration setAppResourceConverter(CoreAppResourceConverter appResourceConverter)
public AppDeploymentManager getDeploymentManager()
public AppEngineConfiguration setDeploymentManager(AppDeploymentManager deploymentManager)
public int getAppDefinitionCacheLimit()
public AppEngineConfiguration setAppDefinitionCacheLimit(int appDefinitionCacheLimit)
public int getPageDefinitionCacheLimit()
public AppEngineConfiguration setPageDefinitionCacheLimit(int pageDefinitionCacheLimit)
public DeploymentCache<AppDefinitionCacheEntry> getAppDefinitionCache()
public AppEngineConfiguration setAppDefinitionCache(DeploymentCache<AppDefinitionCacheEntry> appDefinitionCache)
public PageDeploymentCache getPageDefinitionCache()
public AppEngineConfiguration setPageDefinitionCache(PageDeploymentCache pageDefinitionCache)
public AppEngineConfiguration setDataSource(DataSource dataSource)
setDataSource in class AbstractEngineConfigurationpublic boolean isExecuteServiceSchemaManagers()
public void setExecuteServiceSchemaManagers(boolean executeServiceSchemaManagers)
public ExpressionManager getExpressionManager()
getExpressionManager in interface HasExpressionManagerEngineConfigurationpublic AppEngineConfiguration setExpressionManager(ExpressionManager expressionManager)
setExpressionManager in interface HasExpressionManagerEngineConfigurationpublic Collection<ELResolver> getPreDefaultELResolvers()
public AppEngineConfiguration setPreDefaultELResolvers(Collection<ELResolver> preDefaultELResolvers)
public AppEngineConfiguration addPreDefaultELResolver(ELResolver elResolver)
public Collection<ELResolver> getPreBeanELResolvers()
public AppEngineConfiguration setPreBeanELResolvers(Collection<ELResolver> preBeanELResolvers)
public AppEngineConfiguration addPreBeanELResolver(ELResolver elResolver)
public Collection<ELResolver> getPostDefaultELResolvers()
public AppEngineConfiguration setPostDefaultELResolvers(Collection<ELResolver> postDefaultELResolvers)
public AppEngineConfiguration addPostDefaultELResolver(ELResolver elResolver)
public SchemaManager getIdentityLinkSchemaManager()
public AppEngineConfiguration setIdentityLinkSchemaManager(SchemaManager identityLinkSchemaManager)
public SchemaManager getVariableSchemaManager()
public AppEngineConfiguration setVariableSchemaManager(SchemaManager variableSchemaManager)
public VariableTypes getVariableTypes()
getVariableTypes in interface HasVariableTypespublic AppEngineConfiguration setVariableTypes(VariableTypes variableTypes)
setVariableTypes in interface HasVariableTypespublic List<VariableType> getCustomPreVariableTypes()
public AppEngineConfiguration setCustomPreVariableTypes(List<VariableType> customPreVariableTypes)
public List<VariableType> getCustomPostVariableTypes()
public AppEngineConfiguration setCustomPostVariableTypes(List<VariableType> customPostVariableTypes)
public IdentityLinkServiceConfiguration getIdentityLinkServiceConfiguration()
public AppEngineConfiguration setIdentityLinkServiceConfiguration(IdentityLinkServiceConfiguration identityLinkServiceConfiguration)
public VariableServiceConfiguration getVariableServiceConfiguration()
public AppEngineConfiguration setVariableServiceConfiguration(VariableServiceConfiguration variableServiceConfiguration)
public boolean isSerializableVariableTypeTrackDeserializedObjects()
public AppEngineConfiguration setSerializableVariableTypeTrackDeserializedObjects(boolean serializableVariableTypeTrackDeserializedObjects)
public void setTransactionSynchronizationAdapterOrder(Integer transactionSynchronizationAdapterOrder)
public PlatformTransactionManager getTransactionManager()
getTransactionManager in interface SpringEngineConfigurationpublic void setTransactionManager(PlatformTransactionManager transactionManager)
setTransactionManager in interface SpringEngineConfigurationpublic Resource[] getDeploymentResources()
getDeploymentResources in interface SpringEngineConfigurationpublic void setDeploymentResources(Resource[] deploymentResources)
setDeploymentResources in interface SpringEngineConfigurationpublic ApplicationContext getApplicationContext()
getApplicationContext in interface SpringEngineConfigurationpublic void setApplicationContext(ApplicationContext applicationContext) throws BeansException
setApplicationContext in interface SpringEngineConfigurationsetApplicationContext in interface ApplicationContextAwareBeansExceptionpublic 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 Collection<AutoDeploymentStrategy<AppEngine>> getDeploymentStrategies()
public void setDeploymentStrategies(Collection<AutoDeploymentStrategy<AppEngine>> deploymentStrategies)
public String getDeploymentName()
getDeploymentName in interface SpringEngineConfigurationpublic void setDeploymentName(String deploymentName)
setDeploymentName in interface SpringEngineConfigurationpublic AppEngineConfiguration setObjectMapper(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
setObjectMapper in class AbstractEngineConfigurationpublic boolean isDisableIdmEngine()
public AppEngineConfiguration setDisableIdmEngine(boolean disableIdmEngine)
public boolean isDisableEventRegistry()
public AppEngineConfiguration setDisableEventRegistry(boolean disableEventRegistry)
public BusinessCalendarManager getBusinessCalendarManager()
public AppEngineConfiguration setBusinessCalendarManager(BusinessCalendarManager businessCalendarManager)
public boolean isJsonVariableTypeTrackObjects()
public AppEngineConfiguration setJsonVariableTypeTrackObjects(boolean jsonVariableTypeTrackObjects)