Package 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
Modifier and TypeMethodDescriptionvoid
addListener
(LinkCreationListener listener) Adds a listener.void
addListener
(LinkCreationListener2 listener) Adds a listener.
-
Method Details
-
addListener
Adds a listener. If the scope of the listener is per-thread, then it must be removed.- Parameters:
listener
-
-
addListener
Adds a listener. If the scope of the listener is per-thread, then it must be removed.- Parameters:
listener
-- Since:
- 5.2.0
-