org.mule.management.agents
Class JdmkAgent

java.lang.Object
  extended byorg.mule.management.agents.JdmkAgent
All Implemented Interfaces:
org.mule.umo.lifecycle.Disposable, org.mule.umo.lifecycle.Initialisable, org.mule.umo.lifecycle.Lifecycle, org.mule.umo.lifecycle.Startable, org.mule.umo.lifecycle.Stoppable, org.mule.umo.manager.UMOAgent

public class JdmkAgent
extends Object
implements org.mule.umo.manager.UMOAgent

JdmkAgent configures an Jdmk Http Adaptor for Jmx management, statistics and configuration viewing of a Mule instance.

Version:
$Revision: 3798 $
Author:
Guillaume Nodet

Constructor Summary
JdmkAgent()
           
 
Method Summary
protected  Object createAdaptor()
           
 void dispose()
           
 String getDescription()
           
 String getJmxAdaptorUrl()
           
 String getName()
           
 void initialise()
           
 void registered()
           
 void setJmxAdaptorUrl(String jmxAdaptorUrl)
           
 void setName(String name)
           
 void start()
           
 void stop()
           
 void unregistered()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JdmkAgent

public JdmkAgent()
Method Detail

createAdaptor

protected Object createAdaptor()
                        throws Exception
Throws:
Exception

getName

public String getName()
Specified by:
getName in interface org.mule.umo.manager.UMOAgent

setName

public void setName(String name)
Specified by:
setName in interface org.mule.umo.manager.UMOAgent

getDescription

public String getDescription()
Specified by:
getDescription in interface org.mule.umo.manager.UMOAgent

start

public void start()
           throws org.mule.umo.UMOException
Specified by:
start in interface org.mule.umo.lifecycle.Startable
Throws:
org.mule.umo.UMOException

stop

public void stop()
          throws org.mule.umo.UMOException
Specified by:
stop in interface org.mule.umo.lifecycle.Stoppable
Throws:
org.mule.umo.UMOException

dispose

public void dispose()
Specified by:
dispose in interface org.mule.umo.lifecycle.Disposable

registered

public void registered()
Specified by:
registered in interface org.mule.umo.manager.UMOAgent

unregistered

public void unregistered()
Specified by:
unregistered in interface org.mule.umo.manager.UMOAgent

initialise

public void initialise()
                throws org.mule.umo.lifecycle.InitialisationException
Specified by:
initialise in interface org.mule.umo.lifecycle.Initialisable
Throws:
org.mule.umo.lifecycle.InitialisationException

getJmxAdaptorUrl

public String getJmxAdaptorUrl()
Returns:
Returns the jmxAdaptorUrl.

setJmxAdaptorUrl

public void setJmxAdaptorUrl(String jmxAdaptorUrl)
Parameters:
jmxAdaptorUrl - The jmxAdaptorUrl to set.


Copyright © 2003-2006 MuleSource Inc.. All Rights Reserved.