Class AlarmNotificationListeners
- java.lang.Object
-
- org.opendaylight.genius.fcapsmanager.alarmmanager.AlarmNotificationListeners
-
- All Implemented Interfaces:
java.lang.Runnable
public class AlarmNotificationListeners extends java.lang.Object implements java.lang.Runnable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
AlarmNotificationListeners.DelegateListener
Gets register notification when a mbean is registered in platform Mbeanserver and checks if it is alarm mbean and add attribute notification listener to it.
-
Constructor Summary
Constructors Constructor Description AlarmNotificationListeners(org.osgi.framework.BundleContext context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
queryMbeans()
Pre-provisioning case to handle all alarm mbeans which are registered before installation of framework bundle.void
run()
Gets the platform MBeanServer instance and registers to get notification whenever alarm mbean is registered in the mbeanserver.void
setShouldContinue(boolean shouldContinue)
-
-
-
Method Detail
-
setShouldContinue
public void setShouldContinue(boolean shouldContinue)
-
run
public void run()
Gets the platform MBeanServer instance and registers to get notification whenever alarm mbean is registered in the mbeanserver.- Specified by:
run
in interfacejava.lang.Runnable
-
queryMbeans
public void queryMbeans()
Pre-provisioning case to handle all alarm mbeans which are registered before installation of framework bundle. Queries the platform Mbeanserver to retrieve registered alarm mbean and add attribute notification listener to it.
-
-