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 11234 2008-03-06 23:44:34Z tcarlson $
 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 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 UMOManager
 19  
  * 
 20  
  */
 21  
 public interface MuleServiceMBean
 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  
 }