S
- the service interface classpublic class ServiceTracker<S extends org.apache.wicket.util.io.IClusterable> extends Object implements IServiceTracker<S>
Constructor and Description |
---|
ServiceTracker(Class<S> clazz) |
Modifier and Type | Method and Description |
---|---|
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) |
void |
removeService(S service,
String name)
A service is being unregistered.
|
void |
updateService(S service,
String name) |
public final void addService(S service, String name)
addService
in interface IServiceTracker<S extends org.apache.wicket.util.io.IClusterable>
service
- the service that is registeredname
- the name that was used to register the service trackerpublic final void removeService(S service, String name)
removeService
in interface IServiceTracker<S extends org.apache.wicket.util.io.IClusterable>
service
- the service that is unregisteredname
- the name that was used to register the service trackerpublic final void updateService(S service, String name)
updateService
in interface IServiceTracker<S extends org.apache.wicket.util.io.IClusterable>
Copyright © 2007–2016 Hippo B.V. (http://www.onehippo.com). All rights reserved.