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 PersistenceType
COHERENCE_WEB
Coherence Webstatic PersistenceType
COOKIE
Cookie-based persistencestatic PersistenceType
CUSTOM
Custom/user implemented session manager.static PersistenceType
FILE
File based persistence for sessions.static PersistenceType
HA
HADB based persistence for sessions.static PersistenceType
HAZELCAST
Hazelcaststatic PersistenceType
JDBC
JDBC based persistence for sessions.static PersistenceType
MEMORY
Memory based persistence for sessions (i.e.static PersistenceType
MMAP
old iWS 6.0 style MMapSessionManager.static PersistenceType
REPLICATED
SJSWS replicated persistence for sessions.static PersistenceType
S1WS60
old iWS 6.0 style session manager.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getType()
Returns a string describing the persistence mechanism that the object represents.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.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.
-
-
-
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
-
-