Interface AvailabilityService
- All Superinterfaces:
org.jvnet.hk2.config.ConfigBeanProxy,org.jvnet.hk2.config.types.PropertyBag
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Gets the value of theavailabilityEnabledproperty.default <T extends AvailabilityServiceExtension>
TgetExtensionByType(Class<T> type) Deprecated.Deprecated.@Max(65535L) @Min(1L) StringDeprecated.Deprecated.@Min(1L) StringDeprecated.Deprecated.List<org.jvnet.hk2.config.types.Property>Properties as perPropertyBag.Deprecated.voidsetAutoManageHaStore(String autoManage) Sets the value of theautoManageHaStoreproperty.voidsetAvailabilityEnabled(String availabilityEnabled) Sets the value of theavailabilityEnabledproperty.voidsetHaAgentHosts(String agentHosts) Sets the value of thehaAgentHostsproperty.voidsetHaAgentPassword(String agentPassword) Sets the value of thehaAgentPasswordproperty.voidsetHaAgentPort(String agentPort) Sets the value of thehaAgentPortproperty.voidsetHaStoreHealthcheckEnabled(String healthcheckEnabled) Sets the value of thehaStoreHealthcheckEnabledproperty.voidsetHaStoreHealthcheckIntervalInSeconds(String healthcheckInterval) Sets the value of thehaStoreHealthcheckIntervalInSecondsproperty.voidsetHaStoreName(String storeName) Sets the value of thehaStoreNameproperty.voidsetStorePoolName(String storePoolName) Sets the value of thestorePoolNameproperty.Methods inherited from interface org.jvnet.hk2.config.ConfigBeanProxy
createChild, deepCopy, getParent, getParentMethods inherited from interface org.jvnet.hk2.config.types.PropertyBag
addProperty, getProperty, getPropertyValue, getPropertyValue, lookupProperty, removeProperty, removeProperty
-
Method Details
-
getAvailabilityEnabled
String getAvailabilityEnabled()Gets the value of theavailabilityEnabledproperty.This boolean flag controls whether availability is enabled for HTTP session persistence. If this is
false, then session persistence is disabled for all web modules in j2ee apps and stand-alone web modules. If it istrue(and providing that the global availability-enabled inavailability-serviceis alsotrue, then j2ee apps and stand-alone web modules may be ha enabled. Finer-grained control exists at lower levels. If this attribute is missing, it "inherits" the value of the global availability-enabled under availability-service.- Returns:
- possible object is
String
-
setAvailabilityEnabled
Sets the value of theavailabilityEnabledproperty.- Parameters:
availabilityEnabled- allowed object isString- Throws:
PropertyVetoException
-
getHaAgentHosts
Deprecated.Gets the value of thehaAgentHostsproperty.Comma-delimited list of server host names or IP addresses where high availability store management agents are running.
- Returns:
- possible object is
String
-
setHaAgentHosts
Sets the value of thehaAgentHostsproperty.- Parameters:
agentHosts- allowed object isString- Throws:
PropertyVetoException
-
getHaAgentPort
Deprecated.Gets the value of thehaAgentPortproperty.Port number where highly available store management agents can be contacted.
- Returns:
- possible object is
String
-
setHaAgentPort
Sets the value of thehaAgentPortproperty.- Parameters:
agentPort- allowed object isString- Throws:
PropertyVetoException
-
getHaAgentPassword
Deprecated.Gets the value of thehaAgentPasswordproperty.Password needed to contact highly available store management agents.
- Returns:
- possible object is
String
-
setHaAgentPassword
Sets the value of thehaAgentPasswordproperty.- Parameters:
agentPassword- allowed object isString- Throws:
PropertyVetoException
-
getHaStoreName
Deprecated.Gets the value of thehaStoreNameproperty.Name of the session store.
- Returns:
- possible object is
String
-
setHaStoreName
Sets the value of thehaStoreNameproperty.- Parameters:
storeName- allowed object isString- Throws:
PropertyVetoException
-
getAutoManageHaStore
Deprecated.Gets the value of theautoManageHaStoreproperty.If set to
true, the lifecycle of the highly available store is matched with the lifecycle of the highly available cluster. The store is started or stopped with the cluster. It is removed when the cluster is deleted. When set tofalse, the store lifecycle would have to manually managed by the administrator.- Returns:
- possible object is
String
-
setAutoManageHaStore
Sets the value of theautoManageHaStoreproperty.- Parameters:
autoManage- allowed object isString- Throws:
PropertyVetoException
-
getStorePoolName
Deprecated.Gets the value of thestorePoolNameproperty.This is the
jndi-namefor the JDBC Connection Pool used potentially by both the Web Container and the EJB Stateful Session Bean Container for use in checkpointing/passivation when persistence-type = "ha". Seesfsb-ha-persistence-typeandsfsb-persistence-typefor more details. It will default to "jdbc/hastore". This attribute can be over-ridden in eitherweb-container-availability(withhttp-session-store-pool-name) and/or inejb-container-availability(withsfsb-store-pool-name). Ifstore-pool-nameis not overridden then both containers will share the same connection pool. If either container overrides then it may have its own dedicated pool. In this case there must also be a new corresponding JDBC Resource and JDBC Connection Pool defined for this new pool name.- Returns:
- possible object is
String
-
setStorePoolName
Sets the value of thestorePoolNameproperty.- Parameters:
storePoolName- allowed object isString- Throws:
PropertyVetoException
-
getHaStoreHealthcheckEnabled
Deprecated.Gets the value of thehaStoreHealthcheckEnabledproperty.Application server stops saving session state when the store service does not function properly or is not accessible for any reason. When this attribute is set to
true, periodic checking is done to detect if the store service has become available again. If healthcheck succeeds the session state saving is resumed.- Returns:
- possible object is
String
-
setHaStoreHealthcheckEnabled
Sets the value of thehaStoreHealthcheckEnabledproperty.- Parameters:
healthcheckEnabled- allowed object isString- Throws:
PropertyVetoException
-
getHaStoreHealthcheckIntervalInSeconds
Deprecated.Gets the value of thehaStoreHealthcheckIntervalInSecondsproperty.The periodicity at which store health is checked.
- Returns:
- possible object is
String
-
setHaStoreHealthcheckIntervalInSeconds
void setHaStoreHealthcheckIntervalInSeconds(String healthcheckInterval) throws PropertyVetoException Sets the value of thehaStoreHealthcheckIntervalInSecondsproperty.- Parameters:
healthcheckInterval- allowed object isString- Throws:
PropertyVetoException
-
getExtensions
List<AvailabilityServiceExtension> getExtensions() -
getExtensionByType
-
getProperty
@ToDo(priority=IMPORTANT, details="Provide PropertyDesc for legal props") @PropertiesDesc(props={}) List<org.jvnet.hk2.config.types.Property> getProperty()Properties as perPropertyBag.- Specified by:
getPropertyin interfaceorg.jvnet.hk2.config.types.PropertyBag
-