Interface SessionBindingListener
-
- All Superinterfaces:
java.util.EventListener
- All Known Implementing Classes:
HttpSessionAdapter.HttpSessionScope
,SessionScope
public interface SessionBindingListener extends java.util.EventListener
Causes an object to be notified when it is bound to or unbound from a session.Created: 2017. 6. 25.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default void
valueBound(Session session, java.lang.String name, java.lang.Object value)
Notifies the object that it is being bound to a session and identifies the session.default void
valueUnbound(Session session, java.lang.String name, java.lang.Object value)
Notifies the object that it is being unbound from a session and identifies the session.
-
-
-
Method Detail
-
valueBound
default void valueBound(Session session, java.lang.String name, java.lang.Object value)
Notifies the object that it is being bound to a session and identifies the session.- Parameters:
session
- the session to which the object is bound or unboundname
- the name with which the object is bound or unboundvalue
- the value of the attribute that has been added, removed or replaced.- See Also:
valueUnbound(com.aspectran.core.component.session.Session, java.lang.String, java.lang.Object)
-
valueUnbound
default void valueUnbound(Session session, java.lang.String name, java.lang.Object value)
Notifies the object that it is being unbound from a session and identifies the session.- Parameters:
session
- the session to which the object is bound or unboundname
- the name with which the object is bound or unboundvalue
- the value of the attribute that has been added, removed or replaced.- See Also:
valueBound(com.aspectran.core.component.session.Session, java.lang.String, java.lang.Object)
-
-