|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface NamespaceActivationListener
Used to notify an object stored in a namespace, when the namespace is going to be deactivated or has been activated.
When a namespace is going to be deactivate, it checks every
variable to see whether this interface is implemented.
If implemented, willPassivate(org.zkoss.zk.scripting.Namespace) will be called.
Similarly, didActivate(org.zkoss.zk.scripting.Namespace) is called if the namespace has
been activated.
| Method Summary | |
|---|---|
void |
didActivate(Namespace ns)
Called when a session has just been activated (and its value has been deserialized). |
void |
willPassivate(Namespace ns)
Called when a session is about to be passivated (and then serialize its value). |
| Method Detail |
|---|
void didActivate(Namespace ns)
void willPassivate(Namespace ns)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||