org.ow2.jasmine.interfaces.jmx.alarms
Interface JMXAlarmManagerMBean

All Known Implementing Classes:
JMXAlarmManager

public interface JMXAlarmManagerMBean

Interface of the MBean dedicated to alarms.

This MBean supplies methods to retrieve alarm information by giving their id.

Author:
Awa OUEDRAOGO, Laurent RUAUD

Method Summary
 javax.management.openmbean.CompositeData getAlarm(int id)
          Sends a notification to the MBean server.
 javax.management.openmbean.TabularData getAlarmRange(int lowid, int highid)
          Retrieves information on the last raised alarms from the log interface.
 javax.management.openmbean.TabularData getLastAlarms(int nb)
          Retrieves information on the specified alarm from the log interface.
 

Method Detail

getAlarm

javax.management.openmbean.CompositeData getAlarm(int id)
Sends a notification to the MBean server.

Parameters:
id - id of the alarm to be notified.

getLastAlarms

javax.management.openmbean.TabularData getLastAlarms(int nb)
Retrieves information on the specified alarm from the log interface.

Parameters:
id - id of the alarm.
Returns:
a composite object containing a copy of alarm's information.

getAlarmRange

javax.management.openmbean.TabularData getAlarmRange(int lowid,
                                                     int highid)
Retrieves information on the last raised alarms from the log interface. The maximum number of alarm to retrieve must be specified.

Parameters:
nb - number of alarms to retrieve.
Returns:
a tabular object containing copies of alarm's information.


Copyright © 2009 OW2 Consortium. All Rights Reserved.