|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.ant.JMX.Invoke
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 |
public JMX.Invoke()
Method Detail |
public void setProperty(String property)
setProperty
method sets the name of the property
that will contain the result of the operation.
property
- a String
valuepublic void setTarget(javax.management.ObjectName target)
setTarget
method sets the ObjectName
of the target mbean.
target
- an ObjectName
valuepublic void setOperation(String operation)
setOperation
method specifies the operation to
be performed.
operation
- a String
valuepublic void addParameter(JMX.Param param)
addParameter
method adds a parameter for
the operation. You must specify type and value.
param
- a Param
valuepublic void execute(javax.management.MBeanServerConnection server, org.apache.tools.ant.Task parent) throws Exception
execute
in interface JMX.Operation
Exception
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |