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

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


org.jboss.ant
Class JMX.Invoke

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

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

The class Invoke specifies the invocation of a managed operation.


Constructor Summary
JMX.Invoke()
           
 
Method Summary
 void addParameter(JMX.Param param)
          The addParameter method adds a parameter for the operation.
 void execute(javax.management.MBeanServerConnection server, org.apache.tools.ant.Task parent)
           
 void setOperation(String operation)
          The setOperation method specifies the operation to be performed.
 void setProperty(String property)
          The setProperty method sets the name of the property that will contain the result of the operation.
 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.Invoke

public JMX.Invoke()
Method Detail

setProperty

public void setProperty(String property)
The setProperty method sets the name of the property that will contain the result of the operation.

Parameters:
property - a String value

setTarget

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

Parameters:
target - an ObjectName value

setOperation

public void setOperation(String operation)
The setOperation method specifies the operation to be performed.

Parameters:
operation - a String value

addParameter

public void addParameter(JMX.Param param)
The addParameter method adds a parameter for the operation. You must specify type and value.

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