com.sun.enterprise.web.session
Class PersistenceType

java.lang.Object
  extended by com.sun.enterprise.web.session.PersistenceType

public final class PersistenceType
extends java.lang.Object

Represents each of the persistence mechanisms supported by the session managers.


Field Summary
static PersistenceType COHERENCE_WEB
          Coherence Web
static PersistenceType COOKIE
          Cookie-based persistence
static 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 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
 java.lang.String getType()
          Returns a string describing the persistence mechanism that the object represents.
static PersistenceType parseType(java.lang.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(java.lang.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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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

Method Detail

getType

public java.lang.String getType()
Returns a string describing the persistence mechanism that the object represents.


parseType

public static PersistenceType parseType(java.lang.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(java.lang.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



Copyright © 2012 GlassFish Community. All Rights Reserved.