Package org.zkoss.zk.ui.util
Interface ComponentActivationListener
-
- All Known Implementing Classes:
BindComposer
,ClientBindComposer
,GenericAutowireComposer
,GenericForwardComposer
,SelectorComposer
public interface ComponentActivationListener
Used to notify an object stored in a component, when the session is going to be deactivated or has been activated.When a session is going to be deactivate, it checks every variable of a component to see whether this interface is implemented. If implemented,
willPassivate(org.zkoss.zk.ui.Component)
will be called. Similarly,didActivate(org.zkoss.zk.ui.Component)
is called if the session has been activated.- Since:
- 3.6.2
- Author:
- tomyeh
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
didActivate(Component comp)
Called when a session has just been activated (and its value has been deserialized).void
willPassivate(Component comp)
Called when a session is about to be passivated (and then serialize its value).
-