@Service @PerLookup public class ServerConfigLookup extends Object
Constructor and Description |
---|
ServerConfigLookup() |
Modifier and Type | Method and Description |
---|---|
boolean |
calculateWebAvailabilityEnabledFromConfig()
Get the availability-enabled from domain.xml.
|
boolean |
calculateWebAvailabilityEnabledFromConfig(WebModule ctx)
Get the availability-enabled from domain.xml.
|
boolean |
getAsyncReplicationFromConfig(WebModule ctx) |
boolean |
getAvailabilityEnabledFromConfig()
Get the availability-enabled from domain.xml.
|
protected AvailabilityService |
getAvailabilityService()
Get the availability-service element from domain.xml.
|
boolean |
getDisableJreplicaFromConfig() |
SessionManager |
getInstanceSessionManager()
Get the session manager bean from domain.xml
return null if not defined or other problem
|
ManagerProperties |
getInstanceSessionManagerManagerProperties()
Get the manager properties bean from domain.xml
return null if not defined or other problem
|
StoreProperties |
getInstanceSessionManagerStoreProperties()
Get the store properties bean from domain.xml
return null if not defined or other problem
|
SessionProperties |
getInstanceSessionProperties()
Get the session properties bean from server.xml
return null if not defined or other problem
|
String |
getPersistenceFrequencyFromConfig()
Get the persistenceFrequency from domain.xml.
|
String |
getPersistenceScopeFromConfig()
Get the persistenceScope from domain.xml.
|
PersistenceType |
getPersistenceTypeFromConfig()
Get the persistenceType from domain.xml.
|
boolean |
getWebContainerAvailabilityEnabledFromConfig()
Get the availability-enabled for the web container from domain.xml.
|
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
|
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
|
boolean |
isSsoFailoverEnabledFromConfig()
Get the sso-failover-enabled boolean from domain.xml.
|
protected Boolean |
toBoolean(String value)
convert the input value to the appropriate Boolean value
if input value is null, return null
|
public SessionManager getInstanceSessionManager()
public ManagerProperties getInstanceSessionManagerManagerProperties()
public StoreProperties getInstanceSessionManagerStoreProperties()
public SessionProperties getInstanceSessionProperties()
protected AvailabilityService getAvailabilityService()
public boolean getAvailabilityEnabledFromConfig()
protected String getWebContainerAvailabilityPropertyString(String propName)
propName
- protected String getWebContainerAvailabilityPropertyString(String propName, String defaultValue)
propName
- public boolean getWebContainerAvailabilityEnabledFromConfig()
public boolean isSsoFailoverEnabledFromConfig()
public boolean calculateWebAvailabilityEnabledFromConfig()
public boolean calculateWebAvailabilityEnabledFromConfig(WebModule ctx)
public boolean getAsyncReplicationFromConfig(WebModule ctx)
public PersistenceType getPersistenceTypeFromConfig()
public String getPersistenceFrequencyFromConfig()
public String getPersistenceScopeFromConfig()
public boolean getDisableJreplicaFromConfig()
Copyright © 2019. All rights reserved.