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

    Modifier and Type
    Method
    Description
    void
    Called when a session is going to serialize this object.
  • Method Details

    • willSerialize

      void willSerialize(Session session)
      Called when a session is going to serialize this object.