Package org.silverpeas.core.subscription
Class SubscriptionNodeEventListener
- java.lang.Object
-
- org.silverpeas.core.notification.system.CDIResourceEventListener<T>
-
- org.silverpeas.core.subscription.AbstractProfiledResourceSubscriptionListener<NodeDetail,NodeEvent>
-
- org.silverpeas.core.subscription.SubscriptionNodeEventListener
-
- All Implemented Interfaces:
ResourceEventListener<NodeEvent>
@Bean @Singleton public class SubscriptionNodeEventListener extends AbstractProfiledResourceSubscriptionListener<NodeDetail,NodeEvent>
Listener of events on the deletion of a node in a component instance to delete all subscriptions on that node.- Author:
- mmoquillon
-
-
Field Summary
-
Fields inherited from class org.silverpeas.core.notification.system.CDIResourceEventListener
logger
-
-
Constructor Summary
Constructors Constructor Description SubscriptionNodeEventListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected SubscriptionResource
getSubscriptionResource(NodeDetail resource)
protected boolean
isSubscriptionEnabled(NodeDetail resource)
-
Methods inherited from class org.silverpeas.core.subscription.AbstractProfiledResourceSubscriptionListener
getSubscriptionService, onDeletion, onUpdate
-
Methods inherited from class org.silverpeas.core.notification.system.CDIResourceEventListener
onEvent
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.silverpeas.core.notification.system.ResourceEventListener
dispatchEvent, isEnabled, onCreation, onMove, onRecovery, onRemoving, onUnlock
-
-
-
-
Method Detail
-
getSubscriptionResource
protected SubscriptionResource getSubscriptionResource(NodeDetail resource)
- Specified by:
getSubscriptionResource
in classAbstractProfiledResourceSubscriptionListener<NodeDetail,NodeEvent>
-
isSubscriptionEnabled
protected boolean isSubscriptionEnabled(NodeDetail resource)
- Specified by:
isSubscriptionEnabled
in classAbstractProfiledResourceSubscriptionListener<NodeDetail,NodeEvent>
-
-