public class MuleService extends Object implements MuleServiceMBean
MuleService exposes certain Mule server functions for management| Modifier and Type | Field and Description |
|---|---|
protected org.apache.commons.logging.Log |
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 |
getConfigBuilderClassName()
Contains value of option -builder
|
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() |
protected transient org.apache.commons.logging.Log logger
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 MuleException
start in interface MuleServiceMBeanMuleExceptionpublic void stop()
throws MuleException
stop in interface MuleServiceMBeanMuleExceptionpublic void dispose()
throws MuleException
dispose in interface MuleServiceMBeanMuleExceptionpublic 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 MuleServiceMBeanpublic String getConfigBuilderClassName()
MuleServiceMBeangetConfigBuilderClassName in interface MuleServiceMBeanCopyright © 2003–2021 MuleSoft, Inc.. All rights reserved.