org.apache.tapestry5.internal.services

## Interface PageActivationContextCollector

- All Known Implementing Classes:
    PageActivationContextCollectorImpl

      public interface PageActivationContextCollector

  Fires the `EventConstants.PASSIVATE` event on a page, and collects the result, converting it to an array of objects.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `Object[]` | `collectPageActivationContext(String pageName)` Fires the passivate event and collects the response, which is coerced to an object array.

- - ### Method Detail

    - #### collectPageActivationContext

          Object[] collectPageActivationContext(String pageName)

      Fires the passivate event and collects the response, which is coerced to an object array. A page that does not have an event handler for the passivate event will return an empty array.
      Parameters:
        `pageName` - to collect context from ; this should be the canonical page name
      Returns:
        the activation context, or an empty array of the page does not provide a context

${project.version} - Copyright © 2003-2015 The Apache Software Foundation.