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 the
HippoServiceRegistry
or a WhiteboardProxiedServiceRegistry
-
Method Summary
Modifier and TypeMethodDescriptionvoid
serviceRegistered
(ProxiedServiceHolder<T> serviceHolder) Invoked when a service is registered.void
serviceUnregistered
(ProxiedServiceHolder<T> serviceHolder) Invoked when a service is unregistered.
-
Method Details
-
serviceRegistered
Invoked when a service is registered.- Parameters:
serviceHolder
- the service holder
-
serviceUnregistered
Invoked when a service is unregistered.- Parameters:
serviceHolder
- the service holder
-