Coverage Report - org.mule.module.management.mbean.MuleServiceMBean
 
Classes in this File Line Coverage Branch Coverage Complexity
MuleServiceMBean
N/A
N/A
1
 
 1  
 /*
 2  
  * $Id: MuleServiceMBean.java 19191 2010-08-25 21:05:23Z tcarlson $
 3  
  * --------------------------------------------------------------------------------------
 4  
  * Copyright (c) MuleSoft, Inc.  All rights reserved.  http://www.mulesoft.com
 5  
  *
 6  
  * The software in this package is published under the terms of the CPAL v1.0
 7  
  * license, a copy of which has been included with this distribution in the
 8  
  * LICENSE.txt file.
 9  
  */
 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 MuleContext.
 19  
  * 
 20  
  */
 21  
 public interface MuleServiceMBean
 22  
 {
 23  
     // CRITICAL: do not modify the order of key/value pairs here, it MUST
 24  
     // match the one returned by ObjectName.getCanonicalKeyPropertyListString()
 25  
     String DEFAULT_JMX_NAME = "name=MuleContext";
 26  
 
 27  
     boolean isInitialised();
 28  
 
 29  
     boolean isStopped();
 30  
 
 31  
     Date getStartTime();
 32  
 
 33  
     String getVersion();
 34  
 
 35  
     String getVendor();
 36  
 
 37  
     void start() throws MuleException;
 38  
 
 39  
     void stop() throws MuleException;
 40  
 
 41  
     void dispose() throws MuleException;
 42  
 
 43  
     long getFreeMemory();
 44  
 
 45  
     long getMaxMemory();
 46  
 
 47  
     long getTotalMemory();
 48  
 
 49  
     String getServerId();
 50  
 
 51  
     String getHostname();
 52  
 
 53  
     String getHostIp();
 54  
 
 55  
     String getOsVersion();
 56  
 
 57  
     String getJdkVersion();
 58  
 
 59  
     String getCopyright();
 60  
 
 61  
     String getLicense();
 62  
 
 63  
     String getBuildDate();
 64  
 
 65  
     String getBuildNumber();
 66  
 
 67  
     String getInstanceId();
 68  
 
 69  
     /**
 70  
      * Contains value of option -builder
 71  
      *
 72  
      * @return builder class name
 73  
      */
 74  
     String getConfigBuilderClassName();
 75  
 }