com.tripi.asp
Class AspSessionHandler.AspSynchronizedCollection

java.lang.Object
com.tripi.asp.AspCollection
com.tripi.asp.AspSessionHandler.AspSynchronizedCollection
- All Implemented Interfaces:
- java.io.Serializable, SimpleMap
- Enclosing class:
- AspSessionHandler
- public static class AspSessionHandler.AspSynchronizedCollection
- extends AspCollection
- implements SimpleMap
This class helps synchronize Asp Session data with Servlet Session
data.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DBG
private static org.apache.log4j.Category DBG
- Debugging class
session
javax.servlet.http.HttpSession session
connected
boolean connected
caseMapping
java.util.Map caseMapping
AspSessionHandler.AspSynchronizedCollection
AspSessionHandler.AspSynchronizedCollection(javax.servlet.http.HttpSession session,
java.util.Map caseMapping)
- Constructor.
get
public java.lang.Object get(java.lang.Object key)
throws AspException
- Obtains the value of data contained within the application
object.
- Specified by:
get in interface SimpleMap- Overrides:
get in class AspCollection
internalPut
public void internalPut(java.lang.Object key,
java.lang.Object obj)
throws AspException
- Internal function to store a value without touching the HttpSession
objects.
put
public void put(java.lang.Object key,
java.lang.Object obj)
throws AspException
- The put method adds an item to this collection
- Specified by:
put in interface SimpleMap- Overrides:
put in class AspCollection
internalRemove
public void internalRemove(java.lang.Object key)
throws AspException
- Internal function to remove the element without touching the
HTTPSession.
remove
public void remove(java.lang.Object key)
throws AspException
- Removes the element from this collection.
- Overrides:
remove in class AspCollection
removeAll
public void removeAll()
throws AspException
- Removes all of the elements from this collection.
- Overrides:
removeAll in class AspCollection
disconnectFromSession
public void disconnectFromSession()
- Disconnect from the session. Used when sessions are closed so
that setting/removing values to the session does not cause an
invalidated session error.