Package io.jmix.core
Class CoreProperties
java.lang.Object
io.jmix.core.CoreProperties
@ConfigurationProperties(prefix="jmix.core")
@ConstructorBinding
public class CoreProperties
extends Object
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionCoreProperties
(String webHostName, String webPort, String confDir, String workDir, String tempDir, String dbDir, List<String> availableLocales, int crossDataStoreReferenceLoadingBatchSize, boolean idGenerationForEntitiesInAdditionalDataStoresEnabled, int dom4jMaxPoolSize, int dom4jMaxBorrowWaitMillis, String anonymousAuthenticationTokenKey, String defaultFileStorage, boolean entitySerializationTokenRequired, String entitySerializationTokenEncryptionKey, boolean legacyFetchPlanSerializationAttributeName, boolean triggerFilesEnabled, Duration triggerFilesProcessInterval, CoreProperties.PessimisticLock pessimisticLock) -
Method Summary
-
Constructor Details
-
CoreProperties
public CoreProperties(String webHostName, String webPort, String confDir, String workDir, String tempDir, String dbDir, List<String> availableLocales, @DefaultValue("50") int crossDataStoreReferenceLoadingBatchSize, @DefaultValue("true") boolean idGenerationForEntitiesInAdditionalDataStoresEnabled, @DefaultValue("100") int dom4jMaxPoolSize, @DefaultValue("1000") int dom4jMaxBorrowWaitMillis, @DefaultValue("de72c623-6d3d-458c-a187-c526de515ecd") String anonymousAuthenticationTokenKey, String defaultFileStorage, @DefaultValue("false") boolean entitySerializationTokenRequired, @DefaultValue("KEY") String entitySerializationTokenEncryptionKey, @DefaultValue("false") boolean legacyFetchPlanSerializationAttributeName, @DefaultValue("true") boolean triggerFilesEnabled, @DefaultValue("5000") Duration triggerFilesProcessInterval, @DefaultValue CoreProperties.PessimisticLock pessimisticLock)
-
-
Method Details
-
getWebHostName
-
getWebPort
-
getConfDir
-
getWorkDir
-
getTempDir
-
getDbDir
-
getDefaultFileStorage
-
getAvailableLocales
-
getCrossDataStoreReferenceLoadingBatchSize
public int getCrossDataStoreReferenceLoadingBatchSize() -
isIdGenerationForEntitiesInAdditionalDataStoresEnabled
public boolean isIdGenerationForEntitiesInAdditionalDataStoresEnabled()- See Also:
-
idGenerationForEntitiesInAdditionalDataStoresEnabled
-
getDom4jMaxPoolSize
public int getDom4jMaxPoolSize()- See Also:
-
dom4jMaxPoolSize
-
getDom4jMaxBorrowWaitMillis
public int getDom4jMaxBorrowWaitMillis()- See Also:
-
dom4jMaxBorrowWaitMillis
-
getAnonymousAuthenticationTokenKey
- See Also:
-
anonymousAuthenticationTokenKey
-
isEntitySerializationTokenRequired
public boolean isEntitySerializationTokenRequired()- See Also:
-
entitySerializationTokenRequired
-
getEntitySerializationTokenEncryptionKey
-
isLegacyFetchPlanSerializationAttributeName
public boolean isLegacyFetchPlanSerializationAttributeName() -
isTriggerFilesEnabled
public boolean isTriggerFilesEnabled()- See Also:
-
triggerFilesEnabled
-
getTriggerFilesProcessInterval
- See Also:
-
triggerFilesProcessInterval
-
getPessimisticLock
-