|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.mule.management.mbeans.ComponentService
ComponentService
exposes service information about
a Mule Managed component
Constructor Summary | |
ComponentService(java.lang.String name)
|
Method Summary | |
void |
dispose()
|
java.lang.String |
getName()
The name of this component |
int |
getQueueSize()
The number of queued events for this component |
ObjectName |
getStatistics()
The statistics for this component |
boolean |
isPaused()
|
boolean |
isStopped()
|
void |
pause()
Pauses event processing for theComponent. |
void |
postDeregister()
|
void |
postRegister(java.lang.Boolean registrationDone)
|
void |
preDeregister()
|
ObjectName |
preRegister(MBeanServer server,
ObjectName name)
|
void |
resume()
Resumes the Component that has been paused. |
void |
start()
|
void |
stop()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ComponentService(java.lang.String name)
Method Detail |
public java.lang.String getName()
ComponentServiceMBean
getName
in interface ComponentServiceMBean
public int getQueueSize()
ComponentServiceMBean
getQueueSize
in interface ComponentServiceMBean
public void pause() throws UMOException
pause
in interface ComponentServiceMBean
UMOException
- if the component failed to pause.MuleConfiguration
public void resume() throws UMOException
resume
in interface ComponentServiceMBean
UMOException
- if the component failed to resumepublic boolean isPaused()
isPaused
in interface ComponentServiceMBean
public boolean isStopped()
isStopped
in interface ComponentServiceMBean
public void stop() throws UMOException
stop
in interface Stoppable
UMOException
public void dispose() throws UMOException
dispose
in interface ComponentServiceMBean
UMOException
public void start() throws UMOException
start
in interface Startable
UMOException
public ObjectName getStatistics()
ComponentServiceMBean
getStatistics
in interface ComponentServiceMBean
ComponentStats
public ObjectName preRegister(MBeanServer server, ObjectName name) throws java.lang.Exception
java.lang.Exception
public void postRegister(java.lang.Boolean registrationDone)
public void preDeregister() throws java.lang.Exception
java.lang.Exception
public void postDeregister()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |