org.mule.module.management.mbean
Class MuleService
java.lang.Object
org.mule.module.management.mbean.MuleService
- All Implemented Interfaces:
- MuleServiceMBean
public class MuleService
- extends java.lang.Object
- implements MuleServiceMBean
MuleService
exposes certain Mule server functions for management
Field Summary |
protected Log |
logger
logger used by this class |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected transient Log logger
- logger used by this class
MuleService
public MuleService(MuleContext muleContext)
isInitialised
public boolean isInitialised()
- Specified by:
isInitialised
in interface MuleServiceMBean
isStopped
public boolean isStopped()
- Specified by:
isStopped
in interface MuleServiceMBean
getStartTime
public java.util.Date getStartTime()
- Specified by:
getStartTime
in interface MuleServiceMBean
getVersion
public java.lang.String getVersion()
- Specified by:
getVersion
in interface MuleServiceMBean
getVendor
public java.lang.String getVendor()
- Specified by:
getVendor
in interface MuleServiceMBean
start
public void start()
throws MuleException
- Specified by:
start
in interface MuleServiceMBean
- Throws:
MuleException
stop
public void stop()
throws MuleException
- Specified by:
stop
in interface MuleServiceMBean
- Throws:
MuleException
dispose
public void dispose()
throws MuleException
- Specified by:
dispose
in interface MuleServiceMBean
- Throws:
MuleException
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 java.lang.String getServerId()
- Specified by:
getServerId
in interface MuleServiceMBean
getHostname
public java.lang.String getHostname()
- Specified by:
getHostname
in interface MuleServiceMBean
getHostIp
public java.lang.String getHostIp()
- Specified by:
getHostIp
in interface MuleServiceMBean
getOsVersion
public java.lang.String getOsVersion()
- Specified by:
getOsVersion
in interface MuleServiceMBean
getJdkVersion
public java.lang.String getJdkVersion()
- Specified by:
getJdkVersion
in interface MuleServiceMBean
getCopyright
public java.lang.String getCopyright()
- Specified by:
getCopyright
in interface MuleServiceMBean
getLicense
public java.lang.String getLicense()
- Specified by:
getLicense
in interface MuleServiceMBean
getBuildDate
public java.lang.String getBuildDate()
- Deprecated. use getBuildNumber() instead
- Specified by:
getBuildDate
in interface MuleServiceMBean
getBuildNumber
public java.lang.String getBuildNumber()
- Specified by:
getBuildNumber
in interface MuleServiceMBean
getInstanceId
public java.lang.String getInstanceId()
- Specified by:
getInstanceId
in interface MuleServiceMBean
getConfigBuilderClassName
public java.lang.String getConfigBuilderClassName()
- Description copied from interface:
MuleServiceMBean
- Contains value of option -builder
- Specified by:
getConfigBuilderClassName
in interface MuleServiceMBean
- Returns:
- builder class name
Copyright © 2003-2010 MuleSoft, Inc.. All Rights Reserved.