Skip navigation links

Oracle® Coherence Java API Reference
Release 12.1.2.0.3

E26043-02


com.tangosol.coherence.servlet
Class TraditionalHttpSessionModel

java.lang.Object
  extended by com.tangosol.util.Base
      extended by com.tangosol.coherence.servlet.AbstractHttpSessionModel
          extended by com.tangosol.coherence.servlet.TraditionalHttpSessionModel

All Implemented Interfaces:
HttpSessionModel, ExternalizableLite, java.io.Externalizable, java.io.Serializable
Direct Known Subclasses:
SplitHttpSessionModel

Deprecated. In releases following 3.6 customization will be declarative.

public class TraditionalHttpSessionModel
extends AbstractHttpSessionModel

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.

Version:
Coherence 2.3
Author:
cp 2003.08.21

Field Summary

 

Fields inherited from class com.tangosol.coherence.servlet.AbstractHttpSessionModel
CTX_OPTIMIZE_MODIFIED_SESSIONS, MAGIC_V350, STRING_ARRAY

 

Constructor Summary
TraditionalHttpSessionModel()
          Deprecated. Default constructor for deserialization.
TraditionalHttpSessionModel(TraditionalHttpSessionCollection collection, javax.servlet.http.HttpSession session, java.lang.String sId)
          Deprecated. Session creation constructor.

 

Method Summary
protected  AttributeHolder instantiateAttributeHolder()
          Deprecated. Factory method: Instantiate an AttributeHolder for deserialization purposes.
protected  AttributeHolder instantiateAttributeHolder(java.lang.String sName, java.lang.Object oValue)
          Deprecated. Factory method: Instantiate an AttributeHolder to manage the passed value.
 java.lang.String toString()
          Deprecated. Returns a string representation of the object.

 

Methods inherited from class com.tangosol.coherence.servlet.AbstractHttpSessionModel
activate, addEnteredThread, bind, checkActive, checkUsable, checkValid, discard, enter, exit, extractAttributeName, extractAttributeNames, flush, getActualAttributeMap, getAttribute, getAttributeMap, getAttributeNameArray, getCollection, getCreationTime, getDescription, getEnteredThreads, getHttpSession, getId, getLastAccessedTime, getLastFlushedTime, getLocalAttributeMap, getMaxInactiveInterval, getNewId, getReferenceCount, getThreadOwner, getVersion, isActivatableAttributes, isActive, isExpired, isExpiredInternal, isImmutable, isLastAccessTimeFlushRequired, isLocal, isModified, isNew, isOwnedByThisThread, isUsable, isValid, logAttributeSerializationFailure, obtainThreadOwnership, passivate, qualifyAttributeName, readAttributes, readExternal, readExternal, releaseThreadOwnership, removeAttribute, removeEnteredThread, sessionReturned, setActivatableAttributes, setAttribute, setCollection, setHttpSession, setId, setLastAccessedTime, setLastFlushedTime, setMaxInactiveInterval, setModified, setNewId, setValid, setVersion, touch, unbind, unbind, writeAttributes, writeExternal, writeExternal

 

Constructor Detail

TraditionalHttpSessionModel

public TraditionalHttpSessionModel()
Deprecated. 
Default constructor for deserialization.

TraditionalHttpSessionModel

public TraditionalHttpSessionModel(TraditionalHttpSessionCollection collection,
                                   javax.servlet.http.HttpSession session,
                                   java.lang.String sId)
Deprecated. 
Session creation constructor.
Parameters:
collection - the collection that manages this model
session - the session that delegates to this model
sId - the session ID

Method Detail

instantiateAttributeHolder

protected AttributeHolder instantiateAttributeHolder()
Deprecated. 
Factory method: Instantiate an AttributeHolder for deserialization purposes.
Overrides:
instantiateAttributeHolder in class AbstractHttpSessionModel
Returns:
a new AttributeHolder that can be deserialized into

instantiateAttributeHolder

protected AttributeHolder instantiateAttributeHolder(java.lang.String sName,
                                                     java.lang.Object oValue)
Deprecated. 
Factory method: Instantiate an AttributeHolder to manage the passed value.
Overrides:
instantiateAttributeHolder in class AbstractHttpSessionModel
Parameters:
sName - the attribute name
oValue - a non-null Object value
Returns:
a new AttributeHolder that will manage the passed value

toString

public java.lang.String toString()
Deprecated. 
Returns a string representation of the object.
Overrides:
toString in class AbstractHttpSessionModel
Returns:
a string representation of the object

Skip navigation links

Oracle® Coherence Java API Reference
Release 12.1.2.0.3

E26043-02


Copyright © 2000, 2014, Oracle and/or its affiliates. All rights reserved.