01: /*
02: * $Id: MuleServiceMBean.java 11234 2008-03-06 23:44:34Z tcarlson $
03: * --------------------------------------------------------------------------------------
04: * Copyright (c) MuleSource, Inc. All rights reserved. http://www.mulesource.com
05: *
06: * The software in this package is published under the terms of the CPAL v1.0
07: * license, a copy of which has been included with this distribution in the
08: * LICENSE.txt file.
09: */
10:
11: package org.mule.module.management.mbean;
12:
13: import org.mule.api.MuleException;
14:
15: import java.util.Date;
16:
17: /**
18: * <code>MuleServiceMBean</code> is a JMX service interface for the UMOManager
19: *
20: */
21: public interface MuleServiceMBean {
22: boolean isInitialised();
23:
24: boolean isStopped();
25:
26: Date getStartTime();
27:
28: String getVersion();
29:
30: String getVendor();
31:
32: void start() throws MuleException;
33:
34: void stop() throws MuleException;
35:
36: void dispose() throws MuleException;
37:
38: long getFreeMemory();
39:
40: long getMaxMemory();
41:
42: long getTotalMemory();
43:
44: String getServerId();
45:
46: String getHostname();
47:
48: String getHostIp();
49:
50: String getOsVersion();
51:
52: String getJdkVersion();
53:
54: String getCopyright();
55:
56: String getLicense();
57:
58: String getBuildDate();
59:
60: String getBuildNumber();
61:
62: String getInstanceId();
63:
64: /**
65: * Contains value of option -builder
66: *
67: * @return builder class name
68: */
69: String getConfigBuilderClassName();
70: }
|