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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddChildPlugin(org.exoplatform.commons.api.notification.plugin.AbstractNotificationChildPlugin plugin) voidaddPlugin(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.BaseNotificationPlugingetPlugin(org.exoplatform.commons.api.notification.model.PluginKey key) booleanremove(org.exoplatform.commons.api.notification.model.PluginKey key) voidstart()voidstop()
-
Constructor Details
-
NotificationPluginContainer
public NotificationPluginContainer()
-
-
Method Details
-
start
public void start()- Specified by:
startin interfaceorg.picocontainer.Startable
-
stop
public void stop()- Specified by:
stopin interfaceorg.picocontainer.Startable
-
getPlugin
public org.exoplatform.commons.api.notification.plugin.BaseNotificationPlugin getPlugin(org.exoplatform.commons.api.notification.model.PluginKey key) - Specified by:
getPluginin interfaceorg.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:
getChildPluginKeysin interfaceorg.exoplatform.commons.api.notification.service.setting.PluginContainer
-
addChildPlugin
public void addChildPlugin(org.exoplatform.commons.api.notification.plugin.AbstractNotificationChildPlugin plugin) - Specified by:
addChildPluginin interfaceorg.exoplatform.commons.api.notification.service.setting.PluginContainer
-
addPlugin
public void addPlugin(org.exoplatform.commons.api.notification.plugin.BaseNotificationPlugin plugin) - Specified by:
addPluginin interfaceorg.exoplatform.commons.api.notification.service.setting.PluginContainer
-
remove
public boolean remove(org.exoplatform.commons.api.notification.model.PluginKey key) - Specified by:
removein interfaceorg.exoplatform.commons.api.notification.service.setting.PluginContainer
-
getDefaultActivePlugins
- Specified by:
getDefaultActivePluginsin interfaceorg.exoplatform.commons.api.notification.service.setting.PluginContainer
-