Calls a method of an MBean.
Syntax
JMX_INVOKE MBEAN=..., OPERATIONNAME=..., PARAMS=... [, SIGNATURE=...]
Syntax |
Description/Format |
---|---|
MBEAN= |
The object name of the MBean. |
OPERATIONNAME= |
The name of the operation that should be executed. |
PARAMS= |
A parameter list. Several parameters must be separated with commas. |
SIGNATURE= |
When the indicated MBean contains several methods of the name OPERATIONNAME= , the signature of the method to be executed must be assigned with this parameter. |
Comments
This scriptEgalement un type d'objet distinct dans l'Automation Engine. element calls the function of an MBean and assigns parameters to it. If the MBean has more than one function, you can address a particular one with SIGNATURE=.
In the agent"Programme permettant l'exécution de Traitements sur des systèmes cible comme un ordinateur ou des solutions d'entreprise. Egalement un type d'objet distinct dans l'Automation Engine. [Anciennement appelé ""Exécuteur de tâches"".]"'s INI-file parameter search_all=, the administrator can specify whether this function searches the MBean on all local MBean servers or only on those to which the agent is connected.
Example
JMX_INVOKE MBEAN=UC4:type=DatabaseExample, OPERATIONNAME=selectInvoice, PARAMS="1996-07-04,1996-07-10", SIGNATURE="java.lang.String,java.lang.String"
See also:
Sample Collection
Calling an MBean