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