Class NotificationPluginContainer

java.lang.Object
org.exoplatform.commons.notification.impl.setting.NotificationPluginContainer
All Implemented Interfaces:
org.exoplatform.commons.api.notification.service.setting.PluginContainer, org.picocontainer.Startable

public class NotificationPluginContainer extends Object implements org.exoplatform.commons.api.notification.service.setting.PluginContainer, org.picocontainer.Startable
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Notification bundles deployed even when no notification plugin declares them, such as the bundle holding the words of the digest email
  • Constructor Summary

    Constructors
    Constructor
    Description
    NotificationPluginContainer(org.exoplatform.container.xml.InitParams params)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addChildPlugin(org.exoplatform.commons.api.notification.plugin.AbstractNotificationChildPlugin plugin)
     
    void
    addPlugin(org.exoplatform.commons.api.notification.plugin.BaseNotificationPlugin plugin)
     
    List<org.exoplatform.commons.api.notification.model.PluginKey>
    getChildPluginKeys(org.exoplatform.commons.api.notification.model.PluginKey parentKey)
     
     
    org.exoplatform.commons.api.notification.plugin.BaseNotificationPlugin
    getPlugin(org.exoplatform.commons.api.notification.model.PluginKey key)
     
    boolean
    remove(org.exoplatform.commons.api.notification.model.PluginKey key)
     
    void
     
    void
     

    Methods inherited from class java.lang.Object

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

    • BUNDLE_PATHS_PARAM

      public static final String BUNDLE_PATHS_PARAM
      Notification bundles deployed even when no notification plugin declares them, such as the bundle holding the words of the digest email
      See Also:
  • Constructor Details

    • NotificationPluginContainer

      public NotificationPluginContainer(org.exoplatform.container.xml.InitParams params)
  • Method Details

    • start

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

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

      public org.exoplatform.commons.api.notification.plugin.BaseNotificationPlugin getPlugin(org.exoplatform.commons.api.notification.model.PluginKey key)
      Specified by:
      getPlugin in interface org.exoplatform.commons.api.notification.service.setting.PluginContainer
    • getChildPluginKeys

      public List<org.exoplatform.commons.api.notification.model.PluginKey> getChildPluginKeys(org.exoplatform.commons.api.notification.model.PluginKey parentKey)
      Specified by:
      getChildPluginKeys in interface org.exoplatform.commons.api.notification.service.setting.PluginContainer
    • addChildPlugin

      public void addChildPlugin(org.exoplatform.commons.api.notification.plugin.AbstractNotificationChildPlugin plugin)
      Specified by:
      addChildPlugin in interface org.exoplatform.commons.api.notification.service.setting.PluginContainer
    • addPlugin

      public void addPlugin(org.exoplatform.commons.api.notification.plugin.BaseNotificationPlugin plugin)
      Specified by:
      addPlugin in interface org.exoplatform.commons.api.notification.service.setting.PluginContainer
    • remove

      public boolean remove(org.exoplatform.commons.api.notification.model.PluginKey key)
      Specified by:
      remove in interface org.exoplatform.commons.api.notification.service.setting.PluginContainer
    • getDefaultActivePlugins

      public List<String> getDefaultActivePlugins()
      Specified by:
      getDefaultActivePlugins in interface org.exoplatform.commons.api.notification.service.setting.PluginContainer