org.mule.management.mbeans
Class MuleService

java.lang.Object
  extended byorg.mule.management.mbeans.MuleService
All Implemented Interfaces:
MuleServiceMBean

public class MuleService
extends Object
implements MuleServiceMBean

MuleService exposes certain Mule server functions for management

Version:
$Revision: 7976 $
Author:
Ross Mason

Field Summary
protected  Log logger
          logger used by this class
 
Constructor Summary
MuleService()
           
 
Method Summary
 void dispose()
           
 String getBuildDate()
           
 String getCopyright()
           
 long getFreeMemory()
           
 String getHostIp()
           
 String getHostname()
           
 String getInstanceId()
           
 String getJdkVersion()
           
 String getLicense()
           
 long getMaxMemory()
           
 String getOsVersion()
           
 String getServerId()
           
 Date getStartTime()
           
 long getTotalMemory()
           
 String getVendor()
           
 String getVersion()
           
 boolean isInitialised()
           
 boolean isInstanciated()
           
 boolean isStopped()
           
 void start()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected transient Log logger
logger used by this class

Constructor Detail

MuleService

public MuleService()
Method Detail

isInstanciated

public boolean isInstanciated()
Specified by:
isInstanciated in interface MuleServiceMBean

isInitialised

public boolean isInitialised()
Specified by:
isInitialised in interface MuleServiceMBean

isStopped

public boolean isStopped()
Specified by:
isStopped in interface MuleServiceMBean

getStartTime

public Date getStartTime()
Specified by:
getStartTime in interface MuleServiceMBean

getVersion

public String getVersion()
Specified by:
getVersion in interface MuleServiceMBean

getVendor

public String getVendor()
Specified by:
getVendor in interface MuleServiceMBean

start

public void start()
           throws UMOException
Specified by:
start in interface MuleServiceMBean
Throws:
UMOException

stop

public void stop()
          throws UMOException
Specified by:
stop in interface MuleServiceMBean
Throws:
UMOException

dispose

public void dispose()
             throws UMOException
Specified by:
dispose in interface MuleServiceMBean
Throws:
UMOException

getFreeMemory

public long getFreeMemory()
Specified by:
getFreeMemory in interface MuleServiceMBean

getMaxMemory

public long getMaxMemory()
Specified by:
getMaxMemory in interface MuleServiceMBean

getTotalMemory

public long getTotalMemory()
Specified by:
getTotalMemory in interface MuleServiceMBean

getServerId

public String getServerId()
Specified by:
getServerId in interface MuleServiceMBean

getHostname

public String getHostname()
Specified by:
getHostname in interface MuleServiceMBean

getHostIp

public String getHostIp()
Specified by:
getHostIp in interface MuleServiceMBean

getOsVersion

public String getOsVersion()
Specified by:
getOsVersion in interface MuleServiceMBean

getJdkVersion

public String getJdkVersion()
Specified by:
getJdkVersion in interface MuleServiceMBean

getCopyright

public String getCopyright()
Specified by:
getCopyright in interface MuleServiceMBean

getLicense

public String getLicense()
Specified by:
getLicense in interface MuleServiceMBean

getBuildDate

public String getBuildDate()
Specified by:
getBuildDate in interface MuleServiceMBean

getInstanceId

public String getInstanceId()
Specified by:
getInstanceId in interface MuleServiceMBean


Copyright © 2003-2008 MuleSource, Inc.. All Rights Reserved.