KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > mule > management > mbeans > MuleServiceMBean


1 /*
2  * $Id: MuleServiceMBean.java 3798 2006-11-04 04:07:14Z aperepel $
3  * --------------------------------------------------------------------------------------
4  * Copyright (c) MuleSource, Inc. All rights reserved. http://www.mulesource.com
5  *
6  * The software in this package is published under the terms of the MuleSource MPL
7  * license, a copy of which has been included with this distribution in the
8  * LICENSE.txt file.
9  */

10
11 package org.mule.management.mbeans;
12
13 import java.util.Date JavaDoc;
14
15 import org.mule.umo.UMOException;
16
17 /**
18  * <code>MuleServiceMBean</code> is a JMX service interface for the UMOManager
19  *
20  * @author <a HREF="mailto:ross.mason@symphonysoft.com">Ross Mason</a>
21  * @version $Revision: 3798 $
22  */

23 public interface MuleServiceMBean
24 {
25     boolean isInstanciated();
26
27     boolean isInitialised();
28
29     boolean isStopped();
30
31     Date JavaDoc getStartTime();
32
33     String JavaDoc getVersion();
34
35     String JavaDoc getVendor();
36
37     void start() throws UMOException;
38
39     void stop() throws UMOException;
40
41     void dispose() throws UMOException;
42
43     long getFreeMemory();
44
45     long getMaxMemory();
46
47     long getTotalMemory();
48
49     String JavaDoc getServerId();
50
51     String JavaDoc getHostname();
52
53     String JavaDoc getHostIp();
54
55     String JavaDoc getOsVersion();
56
57     String JavaDoc getJdkVersion();
58
59     String JavaDoc getCopyright();
60
61     String JavaDoc getLicense();
62
63     String JavaDoc getBuildDate();
64
65     String JavaDoc getInstanceId();
66 }
67
Popular Tags