Package com.exedio.cope
Class ConnectProperties
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class com.exedio.cope.util.Properties
Properties.Field<E>, Properties.Probe, Properties.ProbeAbortedException, Properties.PropertiesField<T extends Properties>, Properties.Source -
Field Summary
Fields inherited from class com.exedio.cope.misc.FactoryProperties
factoryFields inherited from class com.exedio.cope.util.Properties
EMPTY_SOURCE, SYSTEM_PROPERTY_SOURCE -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.ConnectProperties(Properties.Source context) Deprecated.UseConnectProperties(getDefaultPropertyFile(), context) instead.ConnectProperties(Properties.Source source, Properties.Source context) Deprecated.Usecreate(Properties.Source)instead ascontextis no longer supported.ConnectProperties(File file) ConnectProperties(File file, Properties.Source context) Deprecated.UseConnectProperties(File)instead ascontextis no longer supported.ConnectProperties(Properties properties, String sourceDescription, Properties.Source context) Deprecated.Usecreate(Properties.Source)instead ascontextis no longer supported. -
Method Summary
Modifier and TypeMethodDescriptionstatic ConnectPropertiescreate(Properties.Source source) static ConnectProperties.Factoryfactory()intDeprecated.renamed togetItemCacheLimit().intDeprecated.renamed togetQueryCacheLimit().intintDeprecated.UsegetConnectionUsername()insteadDeprecated.Has been renamed togetDialect().booleanDeprecated.UseisSupportDisabledForEmptyStrings()insteadbooleanDeprecated.Not supported anymore.booleanDeprecated.UseisSupportDisabledForNativeDate()insteadbooleanDeprecated.UseisSupportDisabledForPreparedStatements()insteadDeprecated.UsegetConnectionPassword()insteadDeprecated.UsegetConnectionUrl()insteadDeprecated.UsegetConnectionUsername()insteadstatic Filestatic Iterable<?>booleanintintintDeprecated.UsegetMediaMaxAge()insteadReturns a duration suitable forMediaServlet.getMaximumAge(com.exedio.cope.pattern.MediaPath, Item).booleanDeprecated.Not supported anymore.Callable<?>Deprecated.Calling this method within methods overridingProperties.getTests()is no longer needed, as classConnectPropertiesprovidesprobesanyway.intintintbooleanDeprecated.Not supported anymore.booleanDeprecated.Replaced by org.slf4j.booleanbooleanbooleanDeprecated.not supported anymore.booleanbooleanprobe()Methods inherited from class com.exedio.cope.util.Properties
ensureEquality, ensureValidity, field, field, field, field, field, fieldFile, getContext, getContext, getContext, getField, getFields, getOrphanedKeys, getProbes, getSource, getSource, getSource, getSourceObject, getSystemPropertyContext, getSystemPropertySource, getTests, loadProperties, newException, newException, newProbeAbortedException, valnp, value, value, value, value, value, value, value, value, value, value, value, value, valueFile, valueHidden, valueMessageDigest, valuePath, valueService, valueService, valueService
-
Constructor Details
-
ConnectProperties
-
ConnectProperties
Deprecated.UseConnectProperties(File)instead ascontextis no longer supported. -
ConnectProperties
@Deprecated public ConnectProperties(Properties properties, String sourceDescription, Properties.Source context) Deprecated.Usecreate(Properties.Source)instead ascontextis no longer supported. -
ConnectProperties
Deprecated.Usecreate(Properties.Source)instead ascontextis no longer supported. -
ConnectProperties
Deprecated.UseConnectProperties(getDefaultPropertyFile()) instead. -
ConnectProperties
Deprecated.UseConnectProperties(getDefaultPropertyFile(), context) instead.
-
-
Method Details
-
isSupportDisabledForEmptyStrings
public boolean isSupportDisabledForEmptyStrings() -
isSupportDisabledForPreparedStatements
public boolean isSupportDisabledForPreparedStatements() -
isSupportDisabledForNativeDate
public boolean isSupportDisabledForNativeDate() -
isSupportDisabledForSemicolon
public boolean isSupportDisabledForSemicolon() -
getFulltextIndex
public boolean getFulltextIndex() -
getConnectionPoolIdleInitial
public int getConnectionPoolIdleInitial() -
getConnectionPoolIdleLimit
public int getConnectionPoolIdleLimit() -
getQuerySearchSizeLimit
public int getQuerySearchSizeLimit() -
getItemCacheLimit
public int getItemCacheLimit() -
getQueryCacheLimit
public int getQueryCacheLimit() -
getQueryCacheSizeLimit
public int getQueryCacheSizeLimit() -
getVaultProperties
-
getVaultPropertiesStrict
-
getVaultAlgorithm
-
getMediaRootUrl
-
getMediaOffsetExpires
Deprecated.UsegetMediaMaxAge()insteadReturns the offset, the Expires http header of media is set into the future. Together with a http reverse proxy this ensures, that for that time no request for that data will reach the servlet. This may reduce the load on the server. If zero, no Expires header is sent. -
getMediaMaxAge
public int getMediaMaxAge() -
getMediaServletMaximumAge
Returns a duration suitable forMediaServlet.getMaximumAge(com.exedio.cope.pattern.MediaPath, Item). -
mediaFingerprintOffset
-
getMediaUrlSecret
-
factory
-
getDefaultPropertyFile
-
create
-
getDialectUrlMappers
-
getDialect
-
getConnectionUrl
-
getConnectionUsername
-
getConnectionPassword
-
getProbeTest
Deprecated.Calling this method within methods overridingProperties.getTests()is no longer needed, as classConnectPropertiesprovidesprobesanyway. -
probe
-
getConnectionUser
Deprecated.UsegetConnectionUsername()instead -
isLoggingEnabled
Deprecated.Replaced by org.slf4j. Always returns true. -
getDatabase
Deprecated.Has been renamed togetDialect(). -
getCacheLimit
Deprecated.renamed togetItemCacheLimit(). -
getCacheQueryLimit
Deprecated.renamed togetQueryCacheLimit(). -
getTransactionLog
Deprecated.Not supported anymore. This method always returns false. -
getOracleVarchar
Deprecated.Not supported anymore. This method always returns true. -
getDatabaseDontSupportLimit
Deprecated.Not supported anymore. This method always returns false. -
getDatabaseUrl
Deprecated.UsegetConnectionUrl()instead -
getDatabaseUser
Deprecated.UsegetConnectionUsername()instead -
getDatabasePassword
Deprecated.UsegetConnectionPassword()instead -
getDatabaseDontSupportPreparedStatements
Deprecated.UseisSupportDisabledForPreparedStatements()instead -
getDatabaseDontSupportEmptyStrings
Deprecated.UseisSupportDisabledForEmptyStrings()instead -
getDatabaseDontSupportNativeDate
Deprecated.UseisSupportDisabledForNativeDate()instead -
isSupportDisabledForNotNull
Deprecated.not supported anymore. This methods always returnsfalse.
-
ConnectProperties(getDefaultPropertyFile()) instead.