public class MuleService extends Object implements MuleServiceMBean
MuleService exposes certain Mule server functions for management| Modifier and Type | Field and Description |
|---|---|
protected org.slf4j.Logger |
logger
logger used by this class
|
DEFAULT_JMX_NAME| Constructor and Description |
|---|
MuleService(MuleContext muleContext) |
| Modifier and Type | Method and Description |
|---|---|
void |
dispose() |
String |
getBuildDate()
Deprecated.
use getBuildNumber() instead
|
String |
getBuildNumber() |
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 |
isStopped() |
void |
start() |
void |
stop() |
public MuleService(MuleContext muleContext)
public boolean isInitialised()
isInitialised in interface MuleServiceMBeanpublic boolean isStopped()
isStopped in interface MuleServiceMBeanpublic Date getStartTime()
getStartTime in interface MuleServiceMBeanpublic String getVersion()
getVersion in interface MuleServiceMBeanpublic String getVendor()
getVendor in interface MuleServiceMBeanpublic void start()
throws org.mule.runtime.api.exception.MuleException
start in interface MuleServiceMBeanorg.mule.runtime.api.exception.MuleExceptionpublic void stop()
throws org.mule.runtime.api.exception.MuleException
stop in interface MuleServiceMBeanorg.mule.runtime.api.exception.MuleExceptionpublic void dispose()
throws org.mule.runtime.api.exception.MuleException
dispose in interface MuleServiceMBeanorg.mule.runtime.api.exception.MuleExceptionpublic long getFreeMemory()
getFreeMemory in interface MuleServiceMBeanpublic long getMaxMemory()
getMaxMemory in interface MuleServiceMBeanpublic long getTotalMemory()
getTotalMemory in interface MuleServiceMBeanpublic String getServerId()
getServerId in interface MuleServiceMBeanpublic String getHostname()
getHostname in interface MuleServiceMBeanpublic String getHostIp()
getHostIp in interface MuleServiceMBeanpublic String getOsVersion()
getOsVersion in interface MuleServiceMBeanpublic String getJdkVersion()
getJdkVersion in interface MuleServiceMBeanpublic String getCopyright()
getCopyright in interface MuleServiceMBeanpublic String getLicense()
getLicense in interface MuleServiceMBeanpublic String getBuildDate()
getBuildDate in interface MuleServiceMBeanpublic String getBuildNumber()
getBuildNumber in interface MuleServiceMBeanpublic String getInstanceId()
getInstanceId in interface MuleServiceMBeanCopyright © 2003–2016 MuleSoft, Inc.. All rights reserved.