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 TypeMethodDescriptionvoidaddListener(LinkCreationListener listener) Adds a listener.voidaddListener(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
-