org.mule.management.agents
Class Mx4jAgent

java.lang.Object
  extended byorg.mule.management.agents.Mx4jAgent
All Implemented Interfaces:
Disposable, Initialisable, Lifecycle, Startable, Stoppable, UMOAgent

public class Mx4jAgent
extends java.lang.Object
implements UMOAgent

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

Version:
$Revision: 1.1.1.1 $
Author:
Guillaume Nodet

Constructor Summary
Mx4jAgent()
           
 
Method Summary
protected  java.lang.Object createAdaptor()
           
 void dispose()
           
 java.lang.String getDescription()
          Should be a 1 line description of the agent
 java.lang.String getJmxAdaptorUrl()
           
 java.lang.String getName()
          Gets the name of this agent
 void initialise()
           
 void registered()
           
 void setJmxAdaptorUrl(java.lang.String jmxAdaptorUrl)
           
 void setName(java.lang.String name)
          Sets the name of this agent
 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

Mx4jAgent

public Mx4jAgent()
Method Detail

createAdaptor

protected java.lang.Object createAdaptor()
                                  throws java.lang.Exception
Throws:
java.lang.Exception

getName

public java.lang.String getName()
Description copied from interface: UMOAgent
Gets the name of this agent

Specified by:
getName in interface UMOAgent
Returns:
the agent name

setName

public void setName(java.lang.String name)
Description copied from interface: UMOAgent
Sets the name of this agent

Specified by:
setName in interface UMOAgent
Parameters:
name - the name of the agent

getDescription

public java.lang.String getDescription()
Description copied from interface: UMOAgent
Should be a 1 line description of the agent

Specified by:
getDescription in interface UMOAgent
Returns:

start

public void start()
           throws UMOException
Specified by:
start in interface Startable
Throws:
UMOException

stop

public void stop()
          throws UMOException
Specified by:
stop in interface Stoppable
Throws:
UMOException

dispose

public void dispose()
             throws UMOException
Specified by:
dispose in interface Disposable
Throws:
UMOException

registered

public void registered()
Specified by:
registered in interface UMOAgent

unregistered

public void unregistered()
Specified by:
unregistered in interface UMOAgent

initialise

public void initialise()
                throws InitialisationException
Specified by:
initialise in interface Initialisable
Throws:
InitialisationException

getJmxAdaptorUrl

public java.lang.String getJmxAdaptorUrl()
Returns:
Returns the jmxAdaptorUrl.

setJmxAdaptorUrl

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


Copyright © 2003-2005 SymphonySoft Limited. All Rights Reserved.