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
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.exoplatform.commons.api.notification.channel.AbstractChannel
    getChannel(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.AbstractNotificationLifecycle
    getLifecycle(org.exoplatform.commons.api.notification.model.ChannelKey key)
     
    List<org.exoplatform.commons.api.notification.channel.AbstractChannel>
     
    void
    register(org.exoplatform.commons.api.notification.channel.AbstractChannel channel)
     
    void
    registerOverrideTemplateProvider(org.exoplatform.commons.api.notification.channel.template.TemplateProvider provider)
     
    void
    registerTemplateProvider(org.exoplatform.commons.api.notification.channel.template.TemplateProvider provider)
     
    int
     
    void
     
    void
     
    void
    unregister(org.exoplatform.commons.api.notification.channel.AbstractChannel channel)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ChannelManagerImpl

      public ChannelManagerImpl()
  • Method Details

    • register

      public void register(org.exoplatform.commons.api.notification.channel.AbstractChannel channel)
      Specified by:
      register in interface org.exoplatform.commons.api.notification.channel.ChannelManager
    • unregister

      public void unregister(org.exoplatform.commons.api.notification.channel.AbstractChannel channel)
      Specified by:
      unregister in interface org.exoplatform.commons.api.notification.channel.ChannelManager
    • registerTemplateProvider

      public void registerTemplateProvider(org.exoplatform.commons.api.notification.channel.template.TemplateProvider provider)
      Specified by:
      registerTemplateProvider in interface org.exoplatform.commons.api.notification.channel.ChannelManager
    • registerOverrideTemplateProvider

      public void registerOverrideTemplateProvider(org.exoplatform.commons.api.notification.channel.template.TemplateProvider provider)
      Specified by:
      registerOverrideTemplateProvider in interface org.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:
      getChannel in interface org.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:
      getLifecycle in interface org.exoplatform.commons.api.notification.channel.ChannelManager
    • sizeChannels

      public int sizeChannels()
      Specified by:
      sizeChannels in interface org.exoplatform.commons.api.notification.channel.ChannelManager
    • getDefaultChannels

      public List<org.exoplatform.commons.api.notification.channel.AbstractChannel> getDefaultChannels()
      Specified by:
      getDefaultChannels in interface org.exoplatform.commons.api.notification.channel.ChannelManager
    • getSpecificChannels

      public List<org.exoplatform.commons.api.notification.channel.AbstractChannel> getSpecificChannels()
      Specified by:
      getSpecificChannels in interface org.exoplatform.commons.api.notification.channel.ChannelManager
    • getChannels

      public List<org.exoplatform.commons.api.notification.channel.AbstractChannel> getChannels()
      Specified by:
      getChannels in interface org.exoplatform.commons.api.notification.channel.ChannelManager
    • start

      public void start()
      Specified by:
      start in interface org.picocontainer.Startable
    • stop

      public void stop()
      Specified by:
      stop in interface org.picocontainer.Startable