Difference between revisions of "Jmx-call"

From GreenVulcano Wiki
Jump to: navigation, search
(Created page with "==Description== ''jmx-call'' is the JMX VCL plugin to invoke MBean methods or set/get attributes on local servers. =={{VULCON}} / {{GVCONSOLE}} Configuration== The ''jmx-call'...")
 
Line 30: Line 30:
  
 
* invoke-parameter
 
* invoke-parameter
 
  
 
===invoke-parameter===
 
===invoke-parameter===
Line 51: Line 50:
 
** true
 
** true
 
** false
 
** false
 +
 +
==set-attribute==
 +
 +
Sets a MBean's attribute value. It is used only by ''jmx-call''.
 +
 +
It has the following attributes:
 +
 +
* ''type'': method.
 +
* ''class'': it.greenvulcano.gvesb.virtual.jmx.methods.JMXSetOperation.
 +
* ''name'': Attribute name of the MBean.
 +
* ''value'': Attribute value of the MBean to set. Can contains [[placeholders]]
 +
* ''value-type'': Parameter type. Only used for invoke method. The attribute's admitted values are:
 +
** byte
 +
** boolean
 +
** char
 +
** double
 +
** float
 +
** int
 +
** long
 +
** short
 +
** String

Revision as of 22:35, 28 January 2012

Description

jmx-call is the JMX VCL plugin to invoke MBean methods or set/get attributes on local servers.

VulCon / GV Console Configuration

The jmx-call Element is used by Channel and routed-call. It has the following attributes:

  • type: call.
  • class: it.greenvulcano.gvesb.virtual.jmx.JMXCallOperation.
  • name: Operation name. Used in the 'Flow' section to associate workflow nodes to VCL operations.
  • object-name: Defines an object name filter to invoke/set/get via JMX server. Can contains placeholders

and the subelements:

  • Description,
  • (invoke-method | set-attribute | get-attribute)

invoke-method

This element invokes a method to the MBean. It is only used by jmx-call.

It has the following attributes:

  • type: method.
  • class: it.greenvulcano.gvesb.virtual.jmx.methods.JMXInvokeOperation
  • method: MBean's method to invoke.

and the subelement:

  • invoke-parameter

invoke-parameter

This element specifies an invoker method parameter. It is only used by invoke-method.

It has the attributes:

  • type: Parameter type. Only used for invoke method. Its admitted values are:
    • byte
    • boolean
    • char
    • double
    • float
    • int
    • long
    • short
    • String
  • value: Parameter value. Can contains the following placeholders. The attribute's admitted values are:
    • true
    • false

set-attribute

Sets a MBean's attribute value. It is used only by jmx-call.

It has the following attributes:

  • type: method.
  • class: it.greenvulcano.gvesb.virtual.jmx.methods.JMXSetOperation.
  • name: Attribute name of the MBean.
  • value: Attribute value of the MBean to set. Can contains placeholders
  • value-type: Parameter type. Only used for invoke method. The attribute's admitted values are:
    • byte
    • boolean
    • char
    • double
    • float
    • int
    • long
    • short
    • String