Package com.sun.enterprise.web.session
Class PersistenceType
- java.lang.Object
-
- com.sun.enterprise.web.session.PersistenceType
-
public final class PersistenceType extends Object
Represents each of the persistence mechanisms supported by the session managers.
-
-
Field Summary
Fields Modifier and Type Field Description static PersistenceTypeCOHERENCE_WEBCoherence Webstatic PersistenceTypeCOOKIECookie-based persistencestatic PersistenceTypeCUSTOMCustom/user implemented session manager.static PersistenceTypeFILEFile based persistence for sessions.static PersistenceTypeHAHADB based persistence for sessions.static PersistenceTypeHAZELCASTHazelcaststatic PersistenceTypeJDBCJDBC based persistence for sessions.static PersistenceTypeMEMORYMemory based persistence for sessions (i.e.static PersistenceTypeMMAPold iWS 6.0 style MMapSessionManager.static PersistenceTypeREPLICATEDSJSWS replicated persistence for sessions.static PersistenceTypeS1WS60old iWS 6.0 style session manager.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetType()Returns a string describing the persistence mechanism that the object represents.static PersistenceTypeparseType(String type)Parse the specified string and return the corresponding instance of this class that represents the persistence type specified in the string.static PersistenceTypeparseType(String type, PersistenceType defaultType)Parse the specified string and return the corresponding instance of this class that represents the persistence type specified in the string.
-
-
-
Field Detail
-
MEMORY
public static final PersistenceType MEMORY
Memory based persistence for sessions (i.e. none);
-
FILE
public static final PersistenceType FILE
File based persistence for sessions.
-
COOKIE
public static final PersistenceType COOKIE
Cookie-based persistence
-
CUSTOM
public static final PersistenceType CUSTOM
Custom/user implemented session manager.
-
S1WS60
public static final PersistenceType S1WS60
old iWS 6.0 style session manager.
-
MMAP
public static final PersistenceType MMAP
old iWS 6.0 style MMapSessionManager.
-
JDBC
public static final PersistenceType JDBC
JDBC based persistence for sessions.
-
HA
public static final PersistenceType HA
HADB based persistence for sessions.
-
REPLICATED
public static final PersistenceType REPLICATED
SJSWS replicated persistence for sessions.
-
COHERENCE_WEB
public static final PersistenceType COHERENCE_WEB
Coherence Web
-
HAZELCAST
public static final PersistenceType HAZELCAST
Hazelcast
-
-
Method Detail
-
getType
public String getType()
Returns a string describing the persistence mechanism that the object represents.
-
parseType
public static PersistenceType parseType(String type)
Parse the specified string and return the corresponding instance of this class that represents the persistence type specified in the string.
-
parseType
public static PersistenceType parseType(String type, PersistenceType defaultType)
Parse the specified string and return the corresponding instance of this class that represents the persistence type specified in the string. Default back into passed-in parameter
-
-