public final class ChannelManagerEventListenerRegistry extends WhiteboardProxiedServiceRegistry<ChannelManagerEventListener>
ChannelManagerEvent
s using
the Whiteboard Pattern.
HST site webapp may want to subscribe ChannelManagerEvent
s from the Channel Manager.
In that case, you should implement a ChannelManagerEventListener
and register a listener instance
through ChannelManagerEventListenerRegistry.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 ChannelManagerEventListenerRegistry.unregister(listener);
Modifier and Type | Method and Description |
---|---|
static ChannelManagerEventListenerRegistry |
get() |
addTracker, getEntries, getEntriesList, getServices, register, removeTracker, size, unregister
public static ChannelManagerEventListenerRegistry get()
Copyright © 2008–2021 Hippo B.V. (http://www.onehippo.com). All rights reserved.