IBM WebSphereTM eXtreme Scale, Release 8.6
API Specification

com.ibm.websphere.objectgrid.httpsession
Class HttpSessionConfigurationUtility

java.lang.Object
  extended by com.ibm.websphere.objectgrid.httpsession.HttpSessionConfigurationUtility

public class HttpSessionConfigurationUtility
extends Object

The HTTPSessioncConfigurationUtility is a singleton utility class that allows configuring or overriding the ObjectGrid HTTP Session plugin options at the server scope, affecting all web applications for the server. All web applications using this utility must be configured share the same classloader.

This utility is to be used for all web applications deployed on web application servers other than WebSphere Application Server, such as Apache Geronimo. Web applications deployed on WebSphere Application Server do not require this utility.

Since:
WAS XD 6.1.0.2

Method Summary
 String getCatalogServiceEndPoints()
          Returns a comma-separated, String representation of host:port tuples.
static HttpSessionConfigurationUtility getInstance()
          Returns the singleton instance of a HttpSessionConfigurationUtility.
 boolean isReplicationDisabled()
          Returns whether replication is currently disabled or not.
 void setCatalogServiceEndPoints(String catalogServiceEndPoints)
          Sets the String which represents the endpoints for all available catalog services
 void setReplicationDisabled(boolean replicationDisabled)
          Sets whether or not replication is disabled for this server.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static HttpSessionConfigurationUtility getInstance()
Returns the singleton instance of a HttpSessionConfigurationUtility.

Returns:
the singleton instance of this class

getCatalogServiceEndPoints

public String getCatalogServiceEndPoints()
Returns a comma-separated, String representation of host:port tuples. Multiple tuples are realized when catalog servers are clustered for high availability reasons among others.

Returns:
the String of endpoint tuples

setCatalogServiceEndPoints

public void setCatalogServiceEndPoints(String catalogServiceEndPoints)
Sets the String which represents the endpoints for all available catalog services

Parameters:
catalogServiceEndPoints - a non-null, comma-separated, String representation of host:port tuples.

isReplicationDisabled

public boolean isReplicationDisabled()
Returns whether replication is currently disabled or not.

Returns:
true if replication is disabled, false otherwise

setReplicationDisabled

public void setReplicationDisabled(boolean replicationDisabled)
Sets whether or not replication is disabled for this server.

Parameters:
replicationDisabled - true if replication is to be disabled, false otherwise

IBM WebSphereTM eXtreme Scale, Release 8.6
API Specification

© Copyright International Business Machines Corp 2005,2012. All rights reserved.