org.apache.tapestry5.services

## Interface LinkCreationListener2

- All Known Implementing Classes:
    ClientPersistentFieldStrategy, LinkDecorationListener

      public interface LinkCreationListener2

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `createdComponentEventLink(Link link, ComponentEventRequestParameters parameters)` Invoked when an action link (a link that asks a component to perform an action) is created.
    `void` | `createdPageRenderLink(Link link, PageRenderRequestParameters parameters)` Invoked when a page link (a link that renders a page) is created.

- - ### Method Detail

    - #### createdPageRenderLink

          void createdPageRenderLink(Link link,
                                     PageRenderRequestParameters parameters)

      Invoked when a page link (a link that renders a page) is created. The listener may decide to encode additional query parameters into the link (via `Link.addParameter(String, String)`).
      Parameters:
        `link` - the newly created link
        `parameters` - information encoded into the link
      Since:
        5.2.0

    - #### createdComponentEventLink

          void createdComponentEventLink(Link link,
                                         ComponentEventRequestParameters parameters)

      Invoked when an action link (a link that asks a component to perform an action) is created. The listener may decide to encode additional query parameters into the link (via `Link.addParameter(String, String)`).
      Parameters:
        `link` - the newly created link
        `parameters` - information encoded into the link

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