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. import com.sun.corba.se.spi.orb.ORB;
  9. import com.sun.corba.se.spi.monitoring.MonitoredObject;
  10. import java.util.*;
  11. /**
  12. * <p>
  13. * Monitoring Manager will have a 1 to 1 association with the ORB. This
  14. * gives access to the top level Monitored Object, using which more
  15. * Monitored Objects and Attributes can be added and traversed.
  16. * </p>
  17. * <p>
  18. *
  19. * @author Hemanth Puttaswamy
  20. * </p>
  21. */
  22. public interface MonitoringManager {
  23. ///////////////////////////////////////
  24. // operations
  25. /**
  26. * <p>
  27. * Gets the Root Monitored Object which contains a Hierarchy Of Monitored
  28. * Objects exposing various Monitorable Attributes of Various modules.
  29. * </p>
  30. * <p>
  31. *
  32. * @param MonitoredObject ...
  33. * </p>
  34. */
  35. public MonitoredObject getRootMonitoredObject();
  36. /**
  37. * <p>
  38. * Initialize is called whenever there is a start monitoring call to CORBA
  39. * MBean. This will result in triaging initialize to all the
  40. * MonitoredObjects and it's Monitored Attributes.
  41. * </p>
  42. *
  43. */
  44. public void clearState();
  45. } // end MonitoringManager