|
Oracle Fusion Middleware Workflow Services Java API Reference for Oracle SOA Suite 11g Release 1 (11.1.1) E10660-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.tip.pc.services.hw.worklist.servlet.SessionWrapper
Deprecated. Replaced by classes in oracle.bpel.services.workflow package
public class SessionWrapper
SessionWrapper is a simple wrapper class to store all session related information for a user. It maintains all session information in a private map. When a session cleanup occurs, all session attributes stored internally are cleanedup ensuring that there are no unused objects consuming memory.
Constructor Summary | |
---|---|
SessionWrapper(HttpSession userSession) Deprecated. Constructor for creating a new session wrapper instance |
Method Summary | |
---|---|
java.lang.Object |
get(java.lang.String key) Deprecated. gets the object associated with the specified key |
static SessionWrapper |
getInstance(HttpSession userSession) Deprecated. gets the session wrapper instance associated with the specified HttpSession |
java.util.List |
getKeys() Deprecated. returns a list of keys for all the session attributes stored in this class. |
void |
remove(java.lang.String key) Deprecated. removes the key and the associated object from the session attributes stored in this class. |
void |
set(java.lang.String key, java.lang.Object obj) Deprecated. sets the object as the value of the specified key |
int |
size() Deprecated. returns the size of the key list for all the session attributes stored in this class. |
void |
valueBound(HttpSessionBindingEvent event) Deprecated. callback method for handling session binding event. |
void |
valueUnbound(HttpSessionBindingEvent event) Deprecated. callback method for handling session unbinding event. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SessionWrapper(HttpSession userSession)
userSession
- the HttpSession associated with the requestMethod Detail |
---|
public static SessionWrapper getInstance(HttpSession userSession)
userSession
- the HttpSession associated with the requestpublic void set(java.lang.String key, java.lang.Object obj)
key
- name of the session attributeobject
- the associated objectpublic java.lang.Object get(java.lang.String key)
key
- name of the session attributepublic java.util.List getKeys()
public void remove(java.lang.String key)
key
- name of the session attributepublic int size()
public void valueBound(HttpSessionBindingEvent event)
public void valueUnbound(HttpSessionBindingEvent event)
|
Oracle Fusion Middleware Workflow Services Java API Reference for Oracle SOA Suite 11g Release 1 (11.1.1) E10660-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |