public class ContentEngineConfiguration extends AbstractEngineConfiguration implements ContentEngineConfigurationApi
| Modifier and Type | Field and Description |
|---|---|
protected String |
contentEngineName |
protected ContentItemDataManager |
contentItemDataManager |
protected ContentItemEntityManager |
contentItemEntityManager |
protected ContentManagementService |
contentManagementService |
protected String |
contentRootFolder |
protected ContentService |
contentService |
protected ContentStorage |
contentStorage |
protected boolean |
createContentRootFolder |
static String |
DEFAULT_MYBATIS_MAPPING_FILE |
static String |
LIQUIBASE_CHANGELOG_PREFIX |
protected TableDataManager |
tableDataManager |
additionalEventDispatchActions, allConfigurators, beans, classLoader, clock, commandContextFactory, commandExecutor, commandInterceptors, commandInvoker, commonSchemaManager, configurators, customMybatisInterceptors, customMybatisMappers, customMybatisXMLMappers, customPostCommandInterceptors, customPostDeployers, customPreCommandInterceptors, customPreDeployers, customSessionFactories, 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, defaultTenantValue, dependentEngineMybatisTypeAliasConfigs, dependentEngineMybatisTypeHandlerConfigs, dependentEngineMyBatisXmlMappers, deployers, enableConfiguratorServiceLoader, enableEventDispatcher, enableLogSqlExecutionTime, engineConfigurations, eventDispatcher, eventListeners, fallbackToDefaultTenant, forceCloseMybatisConnectionPool, idGenerator, idmEngineConfigurator, isBulkInsertEnabled, isDbHistoryUsed, jdbcDefaultTransactionIsolationLevel, jdbcDriver, jdbcMaxActiveConnections, jdbcMaxCheckoutTime, jdbcMaxIdleConnections, jdbcMaxWaitTime, jdbcPassword, jdbcPingConnectionNotUsedFor, jdbcPingEnabled, jdbcPingQuery, jdbcUrl, jdbcUsername, logger, maxLengthStringVariableType, maxNrOfStatementsInBulkInsert, NO_TENANT_ID, schemaCommandConfig, schemaManagementCmd, schemaManager, serviceConfigurations, sessionFactories, sqlSessionFactory, tablePrefixIsSchema, transactionContextFactory, transactionFactory, transactionsExternallyManaged, typedEventListeners, useClassForNameClassLoading, usePrefixId, usingRelationalDatabase, usingSchemaMgmt, xmlEncoding| Constructor and Description |
|---|
ContentEngineConfiguration() |
addConfigurator, addEngineConfiguration, addServiceConfiguration, addSessionFactory, close, configuratorsAfterInit, configuratorsBeforeInit, defaultInitDbSqlSessionFactoryEntitySettings, getAdditionalDefaultCommandInterceptors, getAdditionalEventDispatchActions, getBeans, 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, getDefaultTenantValue, getDependentEngineMybatisTypeAliasConfigs, getDependentEngineMybatisTypeHandlerConfigs, getDependentEngineMyBatisXmlMappers, getDeployers, getEngineConfigurations, getEngineSpecificEngineConfigurators, getEventDispatcher, getEventListeners, getIdGenerator, getIdmEngineConfigurator, getJdbcDefaultTransactionIsolationLevel, getJdbcDriver, getJdbcMaxActiveConnections, getJdbcMaxCheckoutTime, getJdbcMaxIdleConnections, getJdbcMaxWaitTime, getJdbcPassword, getJdbcPingConnectionNotUsedFor, getJdbcPingQuery, getJdbcUrl, getJdbcUsername, getMaxLengthString, getMaxLengthStringVariableType, getMaxNrOfStatementsInBulkInsert, getResourceAsStream, getSchemaCommandConfig, getSchemaManagementCmd, getSchemaManager, getServiceConfigurations, getSessionFactories, getSqlSessionFactory, getTransactionContextFactory, getTransactionFactory, getTypedEventListeners, getXmlEncoding, initBeans, initClock, initCommandContextFactory, initCommandExecutor, initCommandInvoker, initConfigurators, initCustomMybatisInterceptors, initCustomMybatisMappers, initDatabaseType, initDataSource, initDefaultCommandConfig, initEngineConfigurations, initIdGenerator, initInterceptorChain, initMybatisConfiguration, initMyBatisLogSqlExecutionTimePlugin, initMybatisTypeHandlers, initSchemaCommandConfig, initService, initSessionFactories, initSqlSessionFactory, initTransactionContextFactory, initTransactionFactory, isBulkInsertEnabled, isDbHistoryUsed, isEnableConfiguratorServiceLoader, isEnableEventDispatcher, isEnableLogSqlExecutionTime, isFallbackToDefaultTenant, isForceCloseMybatisConnectionPool, isJdbcPingEnabled, isTablePrefixIsSchema, isTransactionsExternallyManaged, isUseClassForNameClassLoading, isUsePrefixId, isUsingRelationalDatabase, isUsingSchemaMgmt, parseCustomMybatisXMLMappers, parseDependentEngineMybatisXMLMappers, parseMybatisConfiguration, parseMybatisXmlMapping, pathToEngineDbProperties, setAdditionalEventDispatchActions, setBeans, setBulkInsertEnabled, setClassLoader, setCommandContextFactory, setCommandExecutor, setCommandInterceptors, setCommandInvoker, setCommonSchemaManager, setConfigurators, setCustomMybatisInterceptors, setCustomPostCommandInterceptors, setCustomPostDeployers, setCustomPreCommandInterceptors, setCustomPreDeployers, setDatabaseWildcardEscapeCharacter, setDbHistoryUsed, setDbSqlSessionFactory, setDefaultCommandConfig, setDefaultCommandInterceptors, setDefaultTenantValue, setDependentEngineMybatisTypeAliasConfigs, setDependentEngineMybatisTypeHandlerConfigs, setDependentEngineMyBatisXmlMappers, setDeployers, setEnableConfiguratorServiceLoader, setEnableEventDispatcher, setEnableLogSqlExecutionTime, setEngineConfigurations, setEventDispatcher, setEventListeners, setFallbackToDefaultTenant, setForceCloseMybatisConnectionPool, setIdGenerator, setIdmEngineConfigurator, setMaxLengthStringVariableType, setMaxNrOfStatementsInBulkInsert, setSchemaCommandConfig, setSchemaManagementCmd, setSchemaManager, setServiceConfigurations, setTransactionContextFactory, setTransactionsExternallyManaged, setTypedEventListeners, setUseClassForNameClassLoading, setUsePrefixId, setUsingSchemaMgmt, setXmlEncodingpublic static final String DEFAULT_MYBATIS_MAPPING_FILE
public static final String LIQUIBASE_CHANGELOG_PREFIX
protected String contentEngineName
protected ContentManagementService contentManagementService
protected ContentService contentService
protected ContentItemDataManager contentItemDataManager
protected ContentStorage contentStorage
protected String contentRootFolder
protected boolean createContentRootFolder
protected ContentItemEntityManager contentItemEntityManager
protected TableDataManager tableDataManager
public static ContentEngineConfiguration createContentEngineConfigurationFromResourceDefault()
public static ContentEngineConfiguration createContentEngineConfigurationFromResource(String resource)
public static ContentEngineConfiguration createContentEngineConfigurationFromResource(String resource, String beanName)
public static ContentEngineConfiguration createContentEngineConfigurationFromInputStream(InputStream inputStream)
public static ContentEngineConfiguration createContentEngineConfigurationFromInputStream(InputStream inputStream, String beanName)
public static ContentEngineConfiguration createStandaloneContentEngineConfiguration()
public static ContentEngineConfiguration createStandaloneInMemContentEngineConfiguration()
public ContentEngine buildContentEngine()
protected void init()
protected void initServices()
public void initDataManagers()
public void initEntityManagers()
public void initContentStorage()
public void initSchemaManager()
initSchemaManager in class AbstractEngineConfigurationpublic void initSchemaManagementCommand()
public void initDbSqlSessionFactory()
initDbSqlSessionFactory in class AbstractEngineConfigurationpublic DbSqlSessionFactory createDbSqlSessionFactory()
createDbSqlSessionFactory in class AbstractEngineConfigurationprotected void initDbSqlSessionFactoryEntitySettings()
initDbSqlSessionFactoryEntitySettings in class AbstractEngineConfigurationpublic void initCommandExecutors()
initCommandExecutors in class AbstractEngineConfigurationpublic void initCommandInterceptors()
initCommandInterceptors in class AbstractEngineConfigurationpublic String getEngineCfgKey()
getEngineCfgKey in class AbstractEngineConfigurationpublic CommandInterceptor createTransactionInterceptor()
createTransactionInterceptor in class AbstractEngineConfigurationpublic InputStream getMyBatisXmlConfigurationStream()
getMyBatisXmlConfigurationStream in class AbstractEngineConfigurationpublic String getEngineName()
getEngineName in class AbstractEngineConfigurationpublic ContentEngineConfiguration setEngineName(String contentEngineName)
public ContentEngineConfiguration setDatabaseType(String databaseType)
setDatabaseType in class AbstractEngineConfigurationpublic ContentEngineConfiguration setDataSource(DataSource dataSource)
setDataSource in class AbstractEngineConfigurationpublic ContentEngineConfiguration setJdbcDriver(String jdbcDriver)
setJdbcDriver in class AbstractEngineConfigurationpublic ContentEngineConfiguration setJdbcUrl(String jdbcUrl)
setJdbcUrl in class AbstractEngineConfigurationpublic ContentEngineConfiguration setJdbcUsername(String jdbcUsername)
setJdbcUsername in class AbstractEngineConfigurationpublic ContentEngineConfiguration setJdbcPassword(String jdbcPassword)
setJdbcPassword in class AbstractEngineConfigurationpublic ContentEngineConfiguration setJdbcMaxActiveConnections(int jdbcMaxActiveConnections)
setJdbcMaxActiveConnections in class AbstractEngineConfigurationpublic ContentEngineConfiguration setJdbcMaxIdleConnections(int jdbcMaxIdleConnections)
setJdbcMaxIdleConnections in class AbstractEngineConfigurationpublic ContentEngineConfiguration setJdbcMaxCheckoutTime(int jdbcMaxCheckoutTime)
setJdbcMaxCheckoutTime in class AbstractEngineConfigurationpublic ContentEngineConfiguration setJdbcMaxWaitTime(int jdbcMaxWaitTime)
setJdbcMaxWaitTime in class AbstractEngineConfigurationpublic ContentEngineConfiguration setJdbcPingEnabled(boolean jdbcPingEnabled)
setJdbcPingEnabled in class AbstractEngineConfigurationpublic ContentEngineConfiguration setJdbcPingConnectionNotUsedFor(int jdbcPingConnectionNotUsedFor)
setJdbcPingConnectionNotUsedFor in class AbstractEngineConfigurationpublic ContentEngineConfiguration setJdbcDefaultTransactionIsolationLevel(int jdbcDefaultTransactionIsolationLevel)
setJdbcDefaultTransactionIsolationLevel in class AbstractEngineConfigurationpublic ContentEngineConfiguration setJdbcPingQuery(String jdbcPingQuery)
setJdbcPingQuery in class AbstractEngineConfigurationpublic ContentEngineConfiguration setDataSourceJndiName(String dataSourceJndiName)
setDataSourceJndiName in class AbstractEngineConfigurationpublic ContentManagementService getContentManagementService()
getContentManagementService in interface ContentEngineConfigurationApipublic ContentEngineConfiguration setContentManagementService(ContentManagementService contentManagementService)
public ContentService getContentService()
getContentService in interface ContentEngineConfigurationApipublic ContentEngineConfiguration setContentService(ContentService contentService)
public ContentEngineConfiguration getContentEngineConfiguration()
public ContentItemDataManager getContentItemDataManager()
public ContentEngineConfiguration setContentItemDataManager(ContentItemDataManager contentItemDataManager)
public ContentItemEntityManager getContentItemEntityManager()
public ContentEngineConfiguration setContentItemEntityManager(ContentItemEntityManager contentItemEntityManager)
public TableDataManager getTableDataManager()
public ContentEngineConfiguration setTableDataManager(TableDataManager tableDataManager)
public ContentStorage getContentStorage()
public ContentEngineConfiguration setContentStorage(ContentStorage contentStorage)
public String getContentRootFolder()
public ContentEngineConfiguration setContentRootFolder(String contentRootFolder)
public boolean isCreateContentRootFolder()
public ContentEngineConfiguration setCreateContentRootFolder(boolean createContentRootFolder)
public ContentEngineConfiguration setSqlSessionFactory(org.apache.ibatis.session.SqlSessionFactory sqlSessionFactory)
setSqlSessionFactory in class AbstractEngineConfigurationpublic ContentEngineConfiguration setTransactionFactory(org.apache.ibatis.transaction.TransactionFactory transactionFactory)
setTransactionFactory in class AbstractEngineConfigurationpublic ContentEngineConfiguration setCustomMybatisMappers(Set<Class<?>> customMybatisMappers)
setCustomMybatisMappers in class AbstractEngineConfigurationpublic ContentEngineConfiguration setCustomMybatisXMLMappers(Set<String> customMybatisXMLMappers)
setCustomMybatisXMLMappers in class AbstractEngineConfigurationpublic ContentEngineConfiguration setCustomSessionFactories(List<SessionFactory> customSessionFactories)
setCustomSessionFactories in class AbstractEngineConfigurationpublic ContentEngineConfiguration setUsingRelationalDatabase(boolean usingRelationalDatabase)
setUsingRelationalDatabase in class AbstractEngineConfigurationpublic ContentEngineConfiguration setDatabaseTablePrefix(String databaseTablePrefix)
setDatabaseTablePrefix in class AbstractEngineConfigurationpublic ContentEngineConfiguration setDatabaseCatalog(String databaseCatalog)
setDatabaseCatalog in class AbstractEngineConfigurationpublic ContentEngineConfiguration setDatabaseSchema(String databaseSchema)
setDatabaseSchema in class AbstractEngineConfigurationpublic ContentEngineConfiguration setTablePrefixIsSchema(boolean tablePrefixIsSchema)
setTablePrefixIsSchema in class AbstractEngineConfigurationpublic ContentEngineConfiguration setSessionFactories(Map<Class<?>,SessionFactory> sessionFactories)
setSessionFactories in class AbstractEngineConfigurationpublic ContentEngineConfiguration setDatabaseSchemaUpdate(String databaseSchemaUpdate)
setDatabaseSchemaUpdate in class AbstractEngineConfigurationpublic ContentEngineConfiguration setClock(Clock clock)
setClock in class AbstractEngineConfigurationCopyright © 2019 Flowable. All rights reserved.