Methods Summary |
---|
public EJBContainerAvailabilityConfig | createEJBContainerAvailabilityConfig(java.util.Map params)Creates an ejb-container-availability element.
|
public void | createJMSAvailabilityConfig(boolean availabilityEnabled, java.lang.String mqStorePoolName)
|
public WebContainerAvailabilityConfig | createWebContainerAvailabilityConfig(java.util.Map params)Creates a web-container-availability element
|
public boolean | getAutoManageHAStore()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 to false,
the store lifecycle would have to manually managed by the
administrator.
|
public boolean | getAvailabilityEnabled()
|
public EJBContainerAvailabilityConfig | getEJBContainerAvailabilityConfig()Get the EJBContainerAvailabilityConfig MBean.
|
public java.lang.String | getHAAgentHosts()comma-delimited list of server host names or IP addresses
where high availability store management agents are running.
For HADB the list must consist of an even number of hosts separated
by commas. E.g. host1,host2,host2,host1
|
public java.lang.String | getHAAgentPassword()
|
public java.lang.String | getHAAgentPort()port number where highly available store management agents
can be contacted. The default for HADB is 1862
|
public boolean | getHAStoreHealthcheckEnabled()Application server stops saving session state when the store
service does not function properly or is 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. Defaults to false.
|
public java.lang.String | getHAStoreHealthcheckIntervalSeconds()The periodicity at which store health is checked.
|
public java.lang.String | getHAStoreName()Name of the session store. In HADB this corresponds to the name of
the HADB instance. The default is the cluster-name.
|
public JMSAvailabilityConfig | getJMSAvailabilityConfig()
|
public java.lang.String | getStorePoolName()This is the jndi-name for 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". See sfsb-ha-persistence-type
and sfsb-persistence-type for more details. It will default
to "jdbc/hastore". This attribute can be over-ridden in
either web-container-availability (with
http-session-store-pool-name) and/or in
ejb-container-availability (with sfsb-store-pool-name). If
store-pool-name is not over-ridden then both containers will
share the same connection pool. If either container
over-rides 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.
|
public WebContainerAvailabilityConfig | getWebContainerAvailabilityConfig()Get the WebContainerAvailabilityConfig MBean.
|
public void | removeEJBContainerAvailabilityConfig()Removes ejb-container-availability element from the config.
|
public void | removeJMSAvailabilityConfig()
|
public void | removeWebContainerAvailabilityConfig()Removes web-container-availability element from the config.
|
public void | setAutoManageHAStore(boolean enabled)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 to false,
the store lifecycle would have to manually managed by the
administrator.
|
public void | setAvailabilityEnabled(boolean enabled)
|
public void | setHAAgentHosts(java.lang.String value)comma-delimited list of server host names or IP addresses
where high availability store management agents are running.
|
public void | setHAAgentPassword(java.lang.String password)
|
public void | setHAAgentPort(java.lang.String value)port number where highly available store management agents
can be contacted. The default for HADB is 1862
|
public void | setHAStoreHealthcheckEnabled(boolean value)
|
public void | setHAStoreHealthcheckIntervalSeconds(java.lang.String value)The periodicity at which store health is checked.
|
public void | setHAStoreName(java.lang.String value)Name of the session store. In HADB this corresponds to the name of
the HADB instance. The default is the cluster-name.
|
public void | setStorePoolName(java.lang.String storePoolName)This is the jndi-name for 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". See sfsb-ha-persistence-type
and sfsb-persistence-type for more details. It will default
to "jdbc/hastore". This attribute can be over-ridden in
either web-container-availability (with
http-session-store-pool-name) and/or in
ejb-container-availability (with sfsb-store-pool-name). If
store-pool-name is not over-ridden then both containers will
share the same connection pool. If either container
over-rides 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.
|