Package 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

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

- ## Method Details

  - ### 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