org.apache.tapestry5.services

## Interface LinkCreationHub

- All Known Implementing Classes:
    LinkSourceImpl

      public interface LinkCreationHub

  A service that allows listeners to be registered to learn about `Link` creation.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `addListener(LinkCreationListener listener)` Adds a listener.
    `void` | `addListener(LinkCreationListener2 listener)` Adds a listener.

- - ### Method Detail

    - #### addListener

          void addListener(LinkCreationListener listener)

      Adds a listener. If the scope of the listener is per-thread, then it must be removed.
      Parameters:
        `listener` -

    - #### addListener

          void addListener(LinkCreationListener2 listener)

      Adds a listener. If the scope of the listener is per-thread, then it must be removed.
      Parameters:
        `listener` -
      Since:
        5.2.0

5.6.4 - Copyright © 2003-2021 The Apache Software Foundation.