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