接口 AttributeBindingListener

所有超级接口:
EventListener
所有已知实现类:
DestructionCallbackBindingListener

public interface AttributeBindingListener extends EventListener
Causes an object to be notified when it is bound to or unbound from a session. The object is notified by an WebSession object. This may be as a result of a programmer explicitly unbinding an attribute from a session, due to a session being invalidated, or due to a session timing out.
从以下版本开始:
4.0 2022/10/30 14:17
作者:
Harry Yang
另请参阅:
  • 方法概要

    修饰符和类型
    方法
    说明
    default void
    valueBound(WebSession session, String attributeName)
    Notifies the object that it is being bound to a session and identifies the session.
    default void
    valueUnbound(WebSession session, String attributeName)
    Notifies the object that it is being unbound from a session and identifies the session.