public class HttpSessionMapBindingListener
extends java.lang.Object
implements javax.servlet.http.HttpSessionBindingListener
AttributeMapBindingListener
to a HTTP specific
HttpSessionBindingListener
. Calls will be forwarded to the wrapped listener.Constructor and Description |
---|
HttpSessionMapBindingListener(AttributeMapBindingListener listener,
java.util.Map<java.lang.String,java.lang.Object> sessionMap)
Create a new wrapper for given listener.
|
Modifier and Type | Method and Description |
---|---|
AttributeMapBindingListener |
getListener()
Returns the wrapped listener.
|
java.util.Map<java.lang.String,java.lang.Object> |
getSessionMap()
Returns the session map containing the listener.
|
void |
valueBound(javax.servlet.http.HttpSessionBindingEvent event) |
void |
valueUnbound(javax.servlet.http.HttpSessionBindingEvent event) |
public HttpSessionMapBindingListener(AttributeMapBindingListener listener, java.util.Map<java.lang.String,java.lang.Object> sessionMap)
listener
- the listener to wrapsessionMap
- the session map containing the listenerpublic AttributeMapBindingListener getListener()
public java.util.Map<java.lang.String,java.lang.Object> getSessionMap()
public void valueBound(javax.servlet.http.HttpSessionBindingEvent event)
valueBound
in interface javax.servlet.http.HttpSessionBindingListener
public void valueUnbound(javax.servlet.http.HttpSessionBindingEvent event)
valueUnbound
in interface javax.servlet.http.HttpSessionBindingListener