Package org.onehippo.cms7.services
Interface ProxiedServiceTracker<T>
-
- Type Parameters:
T
- The (main) service interface of the service to be tracked
public interface ProxiedServiceTracker<T>
A ProxiedServiceTracker interface implementation can be used to get notified when a service is (un)registered in theHippoServiceRegistry
or aWhiteboardProxiedServiceRegistry
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
serviceRegistered(ProxiedServiceHolder<T> serviceHolder)
Invoked when a service is registered.void
serviceUnregistered(ProxiedServiceHolder<T> serviceHolder)
Invoked when a service is unregistered.
-
-
-
Method Detail
-
serviceRegistered
void serviceRegistered(ProxiedServiceHolder<T> serviceHolder)
Invoked when a service is registered.- Parameters:
serviceHolder
- the service holder
-
serviceUnregistered
void serviceUnregistered(ProxiedServiceHolder<T> serviceHolder)
Invoked when a service is unregistered.- Parameters:
serviceHolder
- the service holder
-
-