public final class HttpSessionScopeAdapter extends java.lang.Object implements ADFScope, javax.servlet.http.HttpSessionBindingListener, java.io.Serializable
Constructor and Description |
---|
HttpSessionScopeAdapter(java.lang.String scopeName,
javax.servlet.http.HttpSession session)
Deprecated.
applications should not use.
|
Modifier and Type | Method and Description |
---|---|
void |
addScopeListener(ADFScopeListener listener) |
void |
clear() |
boolean |
containsKey(java.lang.Object key) |
boolean |
containsValue(java.lang.Object value) |
java.util.Set |
entrySet() |
java.lang.Object |
get(java.lang.Object key) |
void |
invalidate() |
boolean |
isEmpty() |
java.util.Set |
keySet() |
java.lang.Object |
put(java.lang.Object key,
java.lang.Object value) |
void |
putAll(java.util.Map map) |
java.lang.Object |
putTransient(java.lang.Object key,
java.lang.Object value)
If the scope supports failover then this may be used to notify the
scope that the state does not require failover.
|
java.lang.Object |
remove(java.lang.Object key) |
void |
removeScopeListener(ADFScopeListener listener) |
void |
sessionCreated(javax.servlet.http.HttpSessionEvent se) |
void |
sessionDestroyed(javax.servlet.http.HttpSessionEvent se) |
int |
size() |
void |
valueBound(javax.servlet.http.HttpSessionBindingEvent ev) |
java.util.Collection |
values() |
void |
valueUnbound(javax.servlet.http.HttpSessionBindingEvent ev) |
public HttpSessionScopeAdapter(java.lang.String scopeName, javax.servlet.http.HttpSession session)
public int size()
size
in interface java.util.Map
public void clear()
clear
in interface java.util.Map
public boolean isEmpty()
isEmpty
in interface java.util.Map
public boolean containsKey(java.lang.Object key)
containsKey
in interface java.util.Map
public boolean containsValue(java.lang.Object value)
containsValue
in interface java.util.Map
public java.util.Collection values()
values
in interface java.util.Map
public void putAll(java.util.Map map)
putAll
in interface java.util.Map
public java.util.Set entrySet()
entrySet
in interface java.util.Map
public java.util.Set keySet()
keySet
in interface java.util.Map
public java.lang.Object get(java.lang.Object key)
get
in interface java.util.Map
public java.lang.Object remove(java.lang.Object key)
remove
in interface java.util.Map
public java.lang.Object put(java.lang.Object key, java.lang.Object value)
put
in interface java.util.Map
public java.lang.Object putTransient(java.lang.Object key, java.lang.Object value)
ADFScope
putTransient
in interface ADFScope
key
- map key for transient objectvalue
- map valuepublic void invalidate()
invalidate
in interface ADFScope
public void addScopeListener(ADFScopeListener listener)
addScopeListener
in interface ADFScope
public void removeScopeListener(ADFScopeListener listener)
removeScopeListener
in interface ADFScope
public void sessionCreated(javax.servlet.http.HttpSessionEvent se)
public void sessionDestroyed(javax.servlet.http.HttpSessionEvent se)
public void valueBound(javax.servlet.http.HttpSessionBindingEvent ev)
valueBound
in interface javax.servlet.http.HttpSessionBindingListener
public void valueUnbound(javax.servlet.http.HttpSessionBindingEvent ev)
valueUnbound
in interface javax.servlet.http.HttpSessionBindingListener