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

    • NotificationPluginContainer

      public NotificationPluginContainer()
  • 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