站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 varia API Documentation 英文版文档

JMX.Getter (Various API) - JBoss 4.0.1 sp1 varia API Documentation 英文版文档


org.jboss.ant
Class JMX.Getter

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

public static class JMX.Getter
extends Object
implements JMX.Operation

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


Constructor Summary
JMX.Getter()
           
 
Method Summary
 void execute(javax.management.MBeanServerConnection server, org.apache.tools.ant.Task parent)
           
 void setAttribute(String attribute)
          The setAttribute method specifies the attribute to be retrieved.
 void setProperty(String property)
          The setProperty method specifies the name of the property to be set with the attribute value.
 void setTarget(javax.management.ObjectName 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(javax.management.ObjectName target)
The setTarget method sets the ObjectName of the target mbean.

Parameters:
target - an ObjectName value

setAttribute

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

Parameters:
attribute - a String value

setProperty

public void setProperty(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(javax.management.MBeanServerConnection server,
                    org.apache.tools.ant.Task parent)
             throws Exception
Specified by:
execute in interface JMX.Operation
Throws:
Exception


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.