public interface ChannelManager
| Modifier and Type | Method and Description |
|---|---|
AbstractChannel |
getChannel(ChannelKey key)
Gets the channel by the specified key
|
List<AbstractChannel> |
getChannels()
Gets list of the channels
|
AbstractNotificationLifecycle |
getLifecycle(ChannelKey key)
Gets the lifecycle by the ChannelKey
|
void |
register(AbstractChannel channel)
Register new channel
|
void |
registerOverrideTemplateProvider(TemplateProvider provider)
Register and override the Template provider
|
void |
registerTemplateProvider(TemplateProvider provider)
Register the Template provider
|
int |
sizeChannels()
Gets size of channels has been registered
|
void |
unregister(AbstractChannel channel)
Unregister the specified channel
|
void register(AbstractChannel channel)
channel - void unregister(AbstractChannel channel)
channel - void registerTemplateProvider(TemplateProvider provider)
provider - void registerOverrideTemplateProvider(TemplateProvider provider)
provider - AbstractChannel getChannel(ChannelKey key)
key - the channel keyList<AbstractChannel> getChannels()
AbstractNotificationLifecycle getLifecycle(ChannelKey key)
key - int sizeChannels()
Copyright © 2003–2019 eXo Platform SAS. All rights reserved.