# Uses of Interface
org.apache.tapestry5.runtime.PageLifecycleListener

Packages that use PageLifecycleListener
Package
Description
org.apache.tapestry5
Root package for Tapestry, containing common interfaces and data types used throughout the framework.
org.apache.tapestry5.internal.structure
[INTERNAL USE ONLY] page structure implementation details; API subject to change.
org.apache.tapestry5.runtime
Contains interfaces that are added to component classes at runtime.

- ## Uses of PageLifecycleListener in org.apache.tapestry5

  Methods in org.apache.tapestry5 with parameters of type PageLifecycleListener
  Modifier and Type
  Method
  Description
  `void`
  ComponentResources.`addPageLifecycleListener(PageLifecycleListener listener)`
  Deprecated.
  In 5.3.4, use `ComponentResources.getPageLifecycleCallbackHub()` instead
  `void`
  ComponentResources.`removePageLifecycleListener(PageLifecycleListener listener)`
  Deprecated.
  in 5.3.4, not necessary with `PageLifecycleCallbackHub.addPageLoadedCallback(Runnable)`.

- ## Uses of PageLifecycleListener in org.apache.tapestry5.internal.structure

  Methods in org.apache.tapestry5.internal.structure with parameters of type PageLifecycleListener
  Modifier and Type
  Method
  Description
  `void`
  Page.`addLifecycleListener(PageLifecycleListener listener)`
  Deprecated.
  in 5.3.4; use `PageLifecycleCallbackHub.addPageLoadedCallback(Runnable)`, `PageLifecycleCallbackHub.addPageAttachedCallback(Runnable)`, or `PageLifecycleCallbackHub.addPageDetachedCallback(Runnable)` instead
  `void`
  PageImpl.`addLifecycleListener(PageLifecycleListener listener)`
  `void`
  InternalComponentResourcesImpl.`addPageLifecycleListener(PageLifecycleListener listener)`
  `void`
  Page.`removeLifecycleListener(PageLifecycleListener listener)`
  Deprecated.
  in 5.3.4, due to introduction of `PageLifecycleCallbackHub.addPageLoadedCallback(Runnable)`
  `void`
  PageImpl.`removeLifecycleListener(PageLifecycleListener listener)`
  `void`
  InternalComponentResourcesImpl.`removePageLifecycleListener(PageLifecycleListener listener)`

- ## Uses of PageLifecycleListener in org.apache.tapestry5.runtime

  Classes in org.apache.tapestry5.runtime that implement PageLifecycleListener
  Modifier and Type
  Class
  Description
  `class`
  `PageLifecycleAdapter`
  Deprecated.
  in 5.3.4, as `PageLifecycleListener` has been deprecated