Package org.zkoss.zk.ui.util

## Interface SessionSerializationListener

-     public interface SessionSerializationListener

  Used to notify an object stored in a session, when the session is going to be serialized or has been deserialized.

  When a session is going to be serialized, it checks every attribute (`Session.setAttribute(java.lang.String, java.lang.Object)`) to see whether this interface is implemented. If implemented, `willSerialize(org.zkoss.zk.ui.Session)` will be called.

  Since:
    2.4.0
  Author:
    tomyeh

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | `willSerialize​(Session session)` | Called when a session is going to serialize this object.

- - ### Method Detail

    - #### willSerialize

          void willSerialize​(Session session)

      Called when a session is going to serialize this object.