Class ChannelManagerImpl
java.lang.Object
org.exoplatform.commons.notification.channel.ChannelManagerImpl
- All Implemented Interfaces:
org.exoplatform.commons.api.notification.channel.ChannelManager,org.picocontainer.Startable
public class ChannelManagerImpl
extends Object
implements org.exoplatform.commons.api.notification.channel.ChannelManager, org.picocontainer.Startable
Created by The eXo Platform SAS Author : eXoPlatform thanhvc@exoplatform.com
Dec 12, 2014
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.exoplatform.commons.api.notification.channel.AbstractChannelgetChannel(org.exoplatform.commons.api.notification.model.ChannelKey key) List<org.exoplatform.commons.api.notification.channel.AbstractChannel> List<org.exoplatform.commons.api.notification.channel.AbstractChannel> org.exoplatform.commons.api.notification.lifecycle.AbstractNotificationLifecyclegetLifecycle(org.exoplatform.commons.api.notification.model.ChannelKey key) List<org.exoplatform.commons.api.notification.channel.AbstractChannel> voidregister(org.exoplatform.commons.api.notification.channel.AbstractChannel channel) voidregisterOverrideTemplateProvider(org.exoplatform.commons.api.notification.channel.template.TemplateProvider provider) voidregisterTemplateProvider(org.exoplatform.commons.api.notification.channel.template.TemplateProvider provider) intvoidstart()voidstop()voidunregister(org.exoplatform.commons.api.notification.channel.AbstractChannel channel)
-
Constructor Details
-
ChannelManagerImpl
public ChannelManagerImpl()
-
-
Method Details
-
register
public void register(org.exoplatform.commons.api.notification.channel.AbstractChannel channel) - Specified by:
registerin interfaceorg.exoplatform.commons.api.notification.channel.ChannelManager
-
unregister
public void unregister(org.exoplatform.commons.api.notification.channel.AbstractChannel channel) - Specified by:
unregisterin interfaceorg.exoplatform.commons.api.notification.channel.ChannelManager
-
registerTemplateProvider
public void registerTemplateProvider(org.exoplatform.commons.api.notification.channel.template.TemplateProvider provider) - Specified by:
registerTemplateProviderin interfaceorg.exoplatform.commons.api.notification.channel.ChannelManager
-
registerOverrideTemplateProvider
public void registerOverrideTemplateProvider(org.exoplatform.commons.api.notification.channel.template.TemplateProvider provider) - Specified by:
registerOverrideTemplateProviderin interfaceorg.exoplatform.commons.api.notification.channel.ChannelManager
-
getChannel
public org.exoplatform.commons.api.notification.channel.AbstractChannel getChannel(org.exoplatform.commons.api.notification.model.ChannelKey key) - Specified by:
getChannelin interfaceorg.exoplatform.commons.api.notification.channel.ChannelManager
-
getLifecycle
public org.exoplatform.commons.api.notification.lifecycle.AbstractNotificationLifecycle getLifecycle(org.exoplatform.commons.api.notification.model.ChannelKey key) - Specified by:
getLifecyclein interfaceorg.exoplatform.commons.api.notification.channel.ChannelManager
-
sizeChannels
public int sizeChannels()- Specified by:
sizeChannelsin interfaceorg.exoplatform.commons.api.notification.channel.ChannelManager
-
getDefaultChannels
- Specified by:
getDefaultChannelsin interfaceorg.exoplatform.commons.api.notification.channel.ChannelManager
-
getSpecificChannels
- Specified by:
getSpecificChannelsin interfaceorg.exoplatform.commons.api.notification.channel.ChannelManager
-
getChannels
- Specified by:
getChannelsin interfaceorg.exoplatform.commons.api.notification.channel.ChannelManager
-
start
public void start()- Specified by:
startin interfaceorg.picocontainer.Startable
-
stop
public void stop()- Specified by:
stopin interfaceorg.picocontainer.Startable
-