Package org.hippoecm.frontend.plugin
Interface IServiceTracker<S extends org.apache.wicket.util.io.IClusterable>
- Type Parameters:
S
- the type of the service to track
- All Superinterfaces:
org.apache.wicket.util.io.IClusterable
,Serializable
- All Known Implementing Classes:
AbstractRenderService.ExtensionPoint
,ListRenderService.ExtensionPoint
,RenderService.ExtensionPoint
,ServiceTracker
public interface IServiceTracker<S extends org.apache.wicket.util.io.IClusterable>
extends org.apache.wicket.util.io.IClusterable
The service tracker interface makes service registry events accessible to plugins.
This is particularly useful for plugins that provide extension points. Those extension points will
be populated by other plugins by their registration of additional services. A service tracker allows
the extension point provider by responding in an appropriate manner.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addService
(S service, String name) A service is being registered.void
removeService
(S service, String name) A service is being unregistered.
-
Method Details
-
addService
A service is being registered.- Parameters:
service
- the service that is registeredname
- the name that was used to register the service tracker
-
removeService
A service is being unregistered.- Parameters:
service
- the service that is unregisteredname
- the name that was used to register the service tracker
-