KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > corba > se > spi > monitoring > MonitoringManager


1 /*
2  * @(#)MonitoringManager.java 1.2 03/12/19
3  *
4  * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
5  * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
6  */

7 package com.sun.corba.se.spi.monitoring;
8
9 import com.sun.corba.se.spi.orb.ORB;
10 import com.sun.corba.se.spi.monitoring.MonitoredObject;
11 import java.util.*;
12
13 /**
14  * <p>
15  * Monitoring Manager will have a 1 to 1 association with the ORB. This
16  * gives access to the top level Monitored Object, using which more
17  * Monitored Objects and Attributes can be added and traversed.
18  * </p>
19  * <p>
20  *
21  * @author Hemanth Puttaswamy
22  * </p>
23  */

24 public interface MonitoringManager {
25
26   ///////////////////////////////////////
27
// operations
28

29 /**
30  * <p>
31  * Gets the Root Monitored Object which contains a Hierarchy Of Monitored
32  * Objects exposing various Monitorable Attributes of Various modules.
33  * </p>
34  * <p>
35  *
36  * @param MonitoredObject ...
37  * </p>
38  */

39     public MonitoredObject getRootMonitoredObject();
40 /**
41  * <p>
42  * Initialize is called whenever there is a start monitoring call to CORBA
43  * MBean. This will result in triaging initialize to all the
44  * MonitoredObjects and it's Monitored Attributes.
45  * </p>
46  *
47  */

48     public void clearState();
49
50 } // end MonitoringManager
51
Popular Tags