Package com.sun.enterprise.web
Class ServerConfigLookup
- java.lang.Object
-
- com.sun.enterprise.web.ServerConfigLookup
-
@Service @PerLookup public class ServerConfigLookup extends Object
-
-
Constructor Summary
Constructors Constructor Description ServerConfigLookup()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancalculateWebAvailabilityEnabledFromConfig()Get the availability-enabled from domain.xml.booleancalculateWebAvailabilityEnabledFromConfig(WebModule ctx)Get the availability-enabled from domain.xml.booleangetAsyncReplicationFromConfig(WebModule ctx)booleangetAvailabilityEnabledFromConfig()Get the availability-enabled from domain.xml.protected AvailabilityServicegetAvailabilityService()Get the availability-service element from domain.xml.booleangetDisableJreplicaFromConfig()SessionManagergetInstanceSessionManager()Get the session manager bean from domain.xml return null if not defined or other problemManagerPropertiesgetInstanceSessionManagerManagerProperties()Get the manager properties bean from domain.xml return null if not defined or other problemStorePropertiesgetInstanceSessionManagerStoreProperties()Get the store properties bean from domain.xml return null if not defined or other problemSessionPropertiesgetInstanceSessionProperties()Get the session properties bean from server.xml return null if not defined or other problemStringgetPersistenceFrequencyFromConfig()Get the persistenceFrequency from domain.xml.StringgetPersistenceScopeFromConfig()Get the persistenceScope from domain.xml.PersistenceTypegetPersistenceTypeFromConfig()Get the persistenceType from domain.xml.booleangetWebContainerAvailabilityEnabledFromConfig()Get the availability-enabled for the web container from domain.xml.protected StringgetWebContainerAvailabilityPropertyString(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 foundprotected StringgetWebContainerAvailabilityPropertyString(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 foundbooleanisSsoFailoverEnabledFromConfig()Get the sso-failover-enabled boolean from domain.xml.protected BooleantoBoolean(String value)convert the input value to the appropriate Boolean value if input value is null, return null
-
-
-
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()
-
-