org.jboss.ant
Class JMX.Getter

java.lang.Object
  extended byorg.jboss.ant.JMX.Getter
All Implemented Interfaces:
JMX.Operation (src)
Enclosing class:
JMX (src)

public static class JMX.Getter
extends java.lang.Object
implements JMX.Operation (src)

The class Getter specifies getting an attribute value of an mbean.


Constructor Summary
JMX.Getter()
           
 
Method Summary
 void execute(MBeanServerConnection (src)  server, Task parent)
           
 void setAttribute(java.lang.String attribute)
          The setAttribute method specifies the attribute to be retrieved.
 void setProperty(java.lang.String property)
          The setProperty method specifies the name of the property to be set with the attribute value.
 void setTarget(ObjectName (src)  target)
          The setTarget method sets the ObjectName of the target mbean.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JMX.Getter

public JMX.Getter()
Method Detail

setTarget

public void setTarget(ObjectName (src)  target)
The setTarget method sets the ObjectName of the target mbean.

Parameters:
target - an ObjectName value

setAttribute

public void setAttribute(java.lang.String attribute)
The setAttribute method specifies the attribute to be retrieved.

Parameters:
attribute - a String value

setProperty

public void setProperty(java.lang.String property)
The setProperty method specifies the name of the property to be set with the attribute value.

Parameters:
property - a String value

execute

public void execute(MBeanServerConnection (src)  server,
                    Task parent)
             throws java.lang.Exception
Specified by:
execute in interface JMX.Operation (src)
Throws:
java.lang.Exception