public class YourKitProfilerAgent extends Object implements Agent, MuleContextAware
| Modifier and Type | Field and Description |
|---|---|
protected static org.apache.commons.logging.Log |
logger
Logger used by this class
|
protected MuleContext |
muleContext |
static String |
PROFILER_OBJECT_NAME
MBean name to register under.
|
PHASE_NAMEPHASE_NAMEPHASE_NAMEPHASE_NAME| 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.apache.commons.logging.Log logger
protected MuleContext muleContext
public void setMuleContext(MuleContext context)
setMuleContext in interface MuleContextAwarepublic String getName()
getName in interface NamedObjectpublic void setName(String name)
setName in interface NameableObjectpublic String getDescription()
getDescription in interface Agentpublic void initialise()
throws InitialisationException
initialise in interface InitialisableInitialisationExceptionprotected void unregisterMBeansIfNecessary()
throws MalformedObjectNameException,
InstanceNotFoundException,
MBeanRegistrationException
protected void unregisterMeQuietly()
public void start()
throws MuleException
start in interface StartableMuleExceptionpublic void stop()
throws MuleException
stop in interface StoppableMuleExceptionpublic void dispose()
dispose in interface DisposableCopyright © 2003–2021 MuleSoft, Inc.. All rights reserved.