Package org.hippoecm.frontend.service
Class ServiceTracker<S extends org.apache.wicket.util.io.IClusterable>
java.lang.Object
org.hippoecm.frontend.service.ServiceTracker<S>
- Type Parameters:
S
- the service interface class
- All Implemented Interfaces:
Serializable
,org.apache.wicket.util.io.IClusterable
,IServiceTracker<S>
- Direct Known Subclasses:
AbstractRenderService.ExtensionPoint
public class ServiceTracker<S extends org.apache.wicket.util.io.IClusterable>
extends Object
implements IServiceTracker<S>
Service tracker implementation that is aware of it's class.
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal void
addService
(S service, String name) A service is being registered.protected void
onRemoveService
(S service, String name) protected void
onServiceAdded
(S service, String name) protected void
onServiceChanged
(S service, String name) final void
removeService
(S service, String name) A service is being unregistered.
-
Constructor Details
-
ServiceTracker
-
-
Method Details
-
addService
A service is being registered.- Specified by:
addService
in interfaceIServiceTracker<S extends org.apache.wicket.util.io.IClusterable>
- Parameters:
service
- the service that is registeredname
- the name that was used to register the service tracker
-
removeService
A service is being unregistered.- Specified by:
removeService
in interfaceIServiceTracker<S extends org.apache.wicket.util.io.IClusterable>
- Parameters:
service
- the service that is unregisteredname
- the name that was used to register the service tracker
-
onServiceAdded
-
onServiceChanged
-
onRemoveService
-