Package org.apache.tapestry5.runtime
Interface PageLifecycleListener
- 
- All Known Implementing Classes:
- PageLifecycleAdapter
 
 public interface PageLifecycleListener Deprecated.in 5.3.4, replaced withPageLifecycleCallbackHubA set of methods that allow components to know about page-level operations. When this interface is PlasticClass.introduceInterface(Class) introduced}, the component will automatically register itself as a listener with the page.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description voidcontainingPageDidAttach()Deprecated.In Tapestry 5.3, usePageLifecycleCallbackHub.addPageAttachedCallback(Runnable)instead.voidcontainingPageDidDetach()Deprecated.In Tapestry 5.3, usePageLifecycleCallbackHub.addPageDetachedCallback(Runnable)instead.voidcontainingPageDidLoad()Deprecated.in 5.3.4, usePageLifecycleCallbackHub.addPageLoadedCallback(Runnable)insteadvoidrestoreStateBeforePageAttach()Deprecated.In Tapestry 5.3, with no replacement (persisted fields now lazily restore their state)
 
- 
- 
- 
Method Detail- 
containingPageDidLoadvoid containingPageDidLoad() Deprecated.in 5.3.4, usePageLifecycleCallbackHub.addPageLoadedCallback(Runnable)insteadInvoked when the page finishes loading. This occurs once all components are loaded and all parameters have been set.
 - 
containingPageDidDetachvoid containingPageDidDetach() Deprecated.In Tapestry 5.3, usePageLifecycleCallbackHub.addPageDetachedCallback(Runnable)instead.Invoked when the page is detached, allowing components a chance to clear out any temporary or client specific state.
 - 
containingPageDidAttachvoid containingPageDidAttach() Deprecated.In Tapestry 5.3, usePageLifecycleCallbackHub.addPageAttachedCallback(Runnable)instead.Invoked when a page is first attached to the current request, giving components a chance to initialize for the current request.
 - 
restoreStateBeforePageAttachvoid restoreStateBeforePageAttach() Deprecated.In Tapestry 5.3, with no replacement (persisted fields now lazily restore their state)A kind of "pre-attach" phase allowing components to restore internal state before handling the actual attach; this is primarily used to restore persisted fields.- Since:
- 5.1.0.1
 
 
- 
 
-