public class YourKitProfilerAgent extends Object implements Agent, MuleContextAware
| Modifier and Type | Field and Description |
|---|---|
protected static org.slf4j.Logger |
logger
Logger used by this class
|
protected MuleContext |
muleContext |
static String |
PROFILER_OBJECT_NAME
MBean name to register under.
|
| Constructor and Description |
|---|
YourKitProfilerAgent() |
| Modifier and Type | Method and Description |
|---|---|
void |
dispose() |
List<Class<? extends Agent>> |
getDependentAgents() |
String |
getDescription() |
String |
getName() |
void |
initialise() |
void |
setMuleContext(MuleContext context) |
void |
setName(String name) |
void |
start() |
void |
stop() |
protected void |
unregisterMBeansIfNecessary()
Unregister Profiler MBean if there are any left over the old deployment
|
protected void |
unregisterMeQuietly()
Quietly unregister ourselves.
|
public static final String PROFILER_OBJECT_NAME
protected static final org.slf4j.Logger logger
protected MuleContext muleContext
public void setMuleContext(MuleContext context)
setMuleContext in interface MuleContextAwarepublic String getName()
getName in interface org.mule.runtime.api.meta.NamedObjectpublic void setName(String name)
setName in interface org.mule.runtime.api.meta.NameableObjectpublic String getDescription()
getDescription in interface Agentpublic void initialise()
throws org.mule.runtime.api.lifecycle.InitialisationException
initialise in interface org.mule.runtime.api.lifecycle.Initialisableorg.mule.runtime.api.lifecycle.InitialisationExceptionprotected void unregisterMBeansIfNecessary()
throws MalformedObjectNameException,
InstanceNotFoundException,
MBeanRegistrationException
protected void unregisterMeQuietly()
public void start()
throws org.mule.runtime.api.exception.MuleException
start in interface org.mule.runtime.api.lifecycle.Startableorg.mule.runtime.api.exception.MuleExceptionpublic void stop()
throws org.mule.runtime.api.exception.MuleException
stop in interface org.mule.runtime.api.lifecycle.Stoppableorg.mule.runtime.api.exception.MuleExceptionpublic void dispose()
dispose in interface org.mule.runtime.api.lifecycle.DisposableCopyright © 2003–2016 MuleSoft, Inc.. All rights reserved.