KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > mx4j > monitor > MX4JMonitorMBean


1 /*
2  * Copyright (C) The MX4J Contributors.
3  * All rights reserved.
4  *
5  * This software is distributed under the terms of the MX4J License version 1.0.
6  * See the terms of the MX4J License in the documentation provided with this software.
7  */

8
9 package mx4j.monitor;
10
11 import javax.management.ObjectName JavaDoc;
12
13 /**
14  * @version $Revision: 1.2 $
15  */

16 public interface MX4JMonitorMBean
17 {
18    public void start();
19
20    public void stop();
21
22    public boolean isActive();
23
24    public void addObservedObject(ObjectName JavaDoc object) throws IllegalArgumentException JavaDoc;
25
26    public void removeObservedObject(ObjectName JavaDoc object);
27
28    public boolean containsObservedObject(ObjectName JavaDoc object);
29
30    public ObjectName JavaDoc[] getObservedObjects();
31
32    public String JavaDoc getObservedAttribute();
33
34    public void setObservedAttribute(String JavaDoc attribute);
35
36    public long getGranularityPeriod();
37
38    public void setGranularityPeriod(long period) throws java.lang.IllegalArgumentException JavaDoc;
39 }
40
Popular Tags