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 aboutLink
creation.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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
-
-