Class ChannelEventListenerRegistry
java.lang.Object
org.onehippo.cms7.services.WhiteboardServiceRegistry<Object>
org.hippoecm.hst.pagecomposer.jaxrs.api.ChannelEventListenerRegistry
Singleton registry for decoupled/wring lookup/wiring of listeners that handle using
the Whiteboard Pattern.
HST site webapp may want to subscribe BaseChannelEvent
s from the Channel Manager.
In that case, you should implement a listener class annotated with Subscribe
and register the listener instance
through ChannelEventListenerRegistry.register(listener);
.
Note: Also, you should unregister the listener when the listener is not needed any more (e.g. your
site webapp getting stopped or undeployed) through ChannelEventListenerRegistry.unregister(listener);
-
Method Summary
Methods inherited from class org.onehippo.cms7.services.WhiteboardServiceRegistry
addTracker, getEntries, getEntriesList, register, removeTracker, size, unregister
-
Method Details
-
get
-