|
CoherenceTM v3.3 Copyright© 2000-2007 by Oracle Corporation |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.tangosol.util.Base
com.tangosol.coherence.servlet.AbstractHttpSessionModel
com.tangosol.coherence.servlet.TraditionalHttpSessionModel
public class TraditionalHttpSessionModel
An implementation of HttpSessionModel that is managed as a single unit, but optimizes the management of individual attributes within a session for purposes of serialization and deserialization. This is how HttpSession objects have 'traditionally' been implemented, hence the name.
| Nested Class Summary | |
|---|---|
class |
TraditionalHttpSessionModel.OptimizedHolder
An immutable object to hold attribute values and related information. |
| Nested classes/interfaces inherited from class com.tangosol.coherence.servlet.AbstractHttpSessionModel |
|---|
AbstractHttpSessionModel.AttributeHolder |
| Field Summary |
|---|
| Fields inherited from class com.tangosol.coherence.servlet.AbstractHttpSessionModel |
|---|
ENTRY_ARRAY, STRING_ARRAY |
| Constructor Summary | |
|---|---|
TraditionalHttpSessionModel()
Default constructor for deserialization. |
|
TraditionalHttpSessionModel(TraditionalHttpSessionCollection collection,
HttpSession session,
String sId)
Session creation constructor. |
|
| Method Summary | |
|---|---|
protected AbstractHttpSessionModel.AttributeHolder |
instantiateAttributeHolder()
Factory method: Instantiate an AttributeHolder for deserialization purposes. |
protected AbstractHttpSessionModel.AttributeHolder |
instantiateAttributeHolder(String sName,
Object oValue)
Factory method: Instantiate an AttributeHolder to manage the passed value. |
String |
toString()
Returns a string representation of the object. |
| Methods inherited from interface java.io.Externalizable |
|---|
readExternal, writeExternal |
| Methods inherited from interface com.tangosol.io.ExternalizableLite |
|---|
readExternal, writeExternal |
| Constructor Detail |
|---|
public TraditionalHttpSessionModel()
public TraditionalHttpSessionModel(TraditionalHttpSessionCollection collection,
HttpSession session,
String sId)
collection - the collection that manages this modelsession - the session that delegates to this modelsId - the session ID| Method Detail |
|---|
public String toString()
toString in class AbstractHttpSessionModelprotected AbstractHttpSessionModel.AttributeHolder instantiateAttributeHolder()
instantiateAttributeHolder in class AbstractHttpSessionModel
protected AbstractHttpSessionModel.AttributeHolder instantiateAttributeHolder(String sName,
Object oValue)
instantiateAttributeHolder in class AbstractHttpSessionModelsName - the attribute nameoValue - a non-null Object value
|
CoherenceTM v3.3 Copyright© 2000-2007 by Oracle Corporation |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||