org.jboss.ant
Class JMX.Setter

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

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

The class Setter specifies setting an attribute value on an mbean.


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

Constructor Detail

JMX.Setter

public JMX.Setter()
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 set.

Parameters:
attribute - a String value

setValue

public void setValue(JMX.Param (src)  value)
The setValue method specifies the value to be used. The type is used to convert the value to the correct type.

Parameters:
value - a Param 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