com.primix.tapestry.event
Interface PageCleanupListener

All Superinterfaces:
java.util.EventListener

public interface PageCleanupListener
extends java.util.EventListener

Listener interface for objects that need to know when the engine containing the page is discarded. This is typically relevant only to components that have persistent page properties that require some kind of cleanup (typically, because they are references to EJBs, or something similar).

Since:
1.0.5
Version:
$Id: PageCleanupListener.java,v 1.1 2001/08/26 04:53:58 hship Exp $
Author:
Howard Ship

Method Summary
 void pageCleanup(PageEvent event)
          Invoked when the page is notified, by the IEngine to cleanup; this occurs when the engine is discarded because its HttpSession was invalidated.
 

Method Detail

pageCleanup

public void pageCleanup(PageEvent event)
Invoked when the page is notified, by the IEngine to cleanup; this occurs when the engine is discarded because its HttpSession was invalidated. The page is rolled back to its last state and then invokes this method.

PageEvent.getRequestCycle() will return null.