Package org.onehippo.cms7.services
package org.onehippo.cms7.services
-
ClassDescriptionThe HippoServiceRegistry is used for registration and lookup/discovery of singleton services which can be shared between multiple web applications (cross-context, using different classloaders).The ProxiedServiceHolder holds a service object and a proxy instance of its service interface(s).A ProxiedServiceTracker interface implementation can be used to get notified when a service is (un)registered in the
HippoServiceRegistry
or aWhiteboardProxiedServiceRegistry
The ServiceHolder holds a service object with its context classloader at the time of creating the holder.A ServiceTracker interface implementation can be used to get notified when a service object is (un)registered in aWhiteboardServiceRegistry
.WhiteboardProxiedServiceRegistry<T> is an abstract base class for implementing and using the Whiteboard Patternfor decoupled lookup/wiring of multiple service objects by a common (main) interface.WhiteboardServiceRegistry<T> is an abstract base class for implementing and using the Whiteboard Patternfor decoupled lookup/wiring of multiple service objects by a common (base) type, which can be a class or interface.