Coverage Report - org.mule.management.mbeans.MuleServiceMBean
 
Classes in this File Line Coverage Branch Coverage Complexity
MuleServiceMBean
N/A
N/A
1
 
 1  
 /*
 2  
  * $Id: MuleServiceMBean.java 9994 2007-12-05 11:24:06Z akuzmin $
 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.management.mbeans;
 12  
 
 13  
 import org.mule.umo.UMOException;
 14  
 
 15  
 import java.util.Date;
 16  
 
 17  
 /**
 18  
  * <code>MuleServiceMBean</code> is a JMX service interface for the UMOManager
 19  
  */
 20  
 public interface MuleServiceMBean
 21  
 {
 22  
     boolean isInstanciated();
 23  
 
 24  
     boolean isInitialised();
 25  
 
 26  
     boolean isStopped();
 27  
 
 28  
     Date getStartTime();
 29  
 
 30  
     String getVersion();
 31  
 
 32  
     String getVendor();
 33  
 
 34  
     void start() throws UMOException;
 35  
 
 36  
     void stop() throws UMOException;
 37  
 
 38  
     void dispose() throws UMOException;
 39  
 
 40  
     long getFreeMemory();
 41  
 
 42  
     long getMaxMemory();
 43  
 
 44  
     long getTotalMemory();
 45  
 
 46  
     String getServerId();
 47  
 
 48  
     String getHostname();
 49  
 
 50  
     String getHostIp();
 51  
 
 52  
     String getOsVersion();
 53  
 
 54  
     String getJdkVersion();
 55  
 
 56  
     String getCopyright();
 57  
 
 58  
     String getLicense();
 59  
 
 60  
     String getBuildDate();
 61  
 
 62  
     String getBuildNumber();
 63  
 
 64  
     String getInstanceId();
 65  
 
 66  
     /**
 67  
      * Contains value of option -builder
 68  
      *
 69  
      * @return builder class name
 70  
      */
 71  
     String getConfigBuilderClassName();
 72  
 
 73  
 }