Class ServerConfigLookup


  • @Service
    @PerLookup
    public class ServerConfigLookup
    extends Object
    • Constructor Detail

      • ServerConfigLookup

        public ServerConfigLookup()
    • Method Detail

      • getInstanceSessionManager

        public SessionManager getInstanceSessionManager()
        Get the session manager bean from domain.xml return null if not defined or other problem
      • getInstanceSessionManagerManagerProperties

        public ManagerProperties getInstanceSessionManagerManagerProperties()
        Get the manager properties bean from domain.xml return null if not defined or other problem
      • getInstanceSessionManagerStoreProperties

        public StoreProperties getInstanceSessionManagerStoreProperties()
        Get the store properties bean from domain.xml return null if not defined or other problem
      • getInstanceSessionProperties

        public SessionProperties getInstanceSessionProperties()
        Get the session properties bean from server.xml return null if not defined or other problem
      • getAvailabilityService

        protected AvailabilityService getAvailabilityService()
        Get the availability-service element from domain.xml. return null if not found
      • getAvailabilityEnabledFromConfig

        public boolean getAvailabilityEnabledFromConfig()
        Get the availability-enabled from domain.xml. return false if not found
      • getWebContainerAvailabilityPropertyString

        protected String getWebContainerAvailabilityPropertyString​(String propName)
        Get the String value of the property under web-container-availability element from domain.xml whose name matches propName return null if not found
        Parameters:
        propName -
      • getWebContainerAvailabilityPropertyString

        protected String getWebContainerAvailabilityPropertyString​(String propName,
                                                                   String defaultValue)
        Get the String value of the property under web-container-availability element from domain.xml whose name matches propName return defaultValue if not found
        Parameters:
        propName -
      • getWebContainerAvailabilityEnabledFromConfig

        public boolean getWebContainerAvailabilityEnabledFromConfig()
        Get the availability-enabled for the web container from domain.xml. return inherited global availability-enabled if not found
      • isSsoFailoverEnabledFromConfig

        public boolean isSsoFailoverEnabledFromConfig()
        Get the sso-failover-enabled boolean from domain.xml.
      • calculateWebAvailabilityEnabledFromConfig

        public boolean calculateWebAvailabilityEnabledFromConfig()
        Get the availability-enabled from domain.xml. This takes into account: global web-container-availability return false if not found
      • calculateWebAvailabilityEnabledFromConfig

        public boolean calculateWebAvailabilityEnabledFromConfig​(WebModule ctx)
        Get the availability-enabled from domain.xml. This takes into account: global web-container-availability web-module (if stand-alone) return false if not found
      • getAsyncReplicationFromConfig

        public boolean getAsyncReplicationFromConfig​(WebModule ctx)
      • getPersistenceTypeFromConfig

        public PersistenceType getPersistenceTypeFromConfig()
        Get the persistenceType from domain.xml. return null if not found
      • getPersistenceFrequencyFromConfig

        public String getPersistenceFrequencyFromConfig()
        Get the persistenceFrequency from domain.xml. return null if not found
      • getPersistenceScopeFromConfig

        public String getPersistenceScopeFromConfig()
        Get the persistenceScope from domain.xml. return null if not found
      • getDisableJreplicaFromConfig

        public boolean getDisableJreplicaFromConfig()
      • toBoolean

        protected Boolean toBoolean​(String value)
        convert the input value to the appropriate Boolean value if input value is null, return null