Package io.jmix.core

Class CoreProperties

java.lang.Object
io.jmix.core.CoreProperties

@ConfigurationProperties(prefix="jmix.core") @ConstructorBinding public class CoreProperties extends Object
  • 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, @DefaultValue("true") boolean currentAuthenticationUserReloadEnabled)
  • Method Details

    • getWebHostName

      public String getWebHostName()
    • getWebPort

      public String getWebPort()
    • getConfDir

      public String getConfDir()
    • getWorkDir

      public String getWorkDir()
    • getTempDir

      public String getTempDir()
    • getDbDir

      public String getDbDir()
    • getDefaultFileStorage

      @Nullable public String getDefaultFileStorage()
    • getAvailableLocales

      public List<Locale> 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

      public String getAnonymousAuthenticationTokenKey()
      See Also:
      • anonymousAuthenticationTokenKey
    • isEntitySerializationTokenRequired

      public boolean isEntitySerializationTokenRequired()
      See Also:
      • entitySerializationTokenRequired
    • getEntitySerializationTokenEncryptionKey

      public String getEntitySerializationTokenEncryptionKey()
    • isLegacyFetchPlanSerializationAttributeName

      public boolean isLegacyFetchPlanSerializationAttributeName()
    • isTriggerFilesEnabled

      public boolean isTriggerFilesEnabled()
      See Also:
      • triggerFilesEnabled
    • getTriggerFilesProcessInterval

      public Duration getTriggerFilesProcessInterval()
      See Also:
      • triggerFilesProcessInterval
    • getPessimisticLock

      public CoreProperties.PessimisticLock getPessimisticLock()
    • isCurrentAuthenticationUserReloadEnabled

      public boolean isCurrentAuthenticationUserReloadEnabled()
      See Also:
      • currentAuthenticationUserReloadEnabled