| |
|
| java.lang.Object groovy.lang.GroovyObjectSupport groovy.util.GroovyMBean
GroovyMBean | public class GroovyMBean extends GroovyObjectSupport (Code) | | A GroovyObject facade for an underlying MBean which acts like a normal
groovy object but which is actually implemented via
an underlying JMX MBean.
Properties and normal method invocations
delegate to the MBeanServer to the actual MBean.
author: James Strachan author: Steve Button version: $Revision: 3747 $ |
createOperationKey | protected String createOperationKey(String operation, int params)(Code) | | Construct a simple key based on the method name and the number of parameters
Parameters: operation - - the mbean operation name Parameters: params - - the number of parameters the operation supports simple unique identifier for a method |
describeAttribute | protected String describeAttribute(MBeanAttributeInfo attr)(Code) | | Description of the specified attribute name.
Parameters: attr - - the attribute String the description |
describeAttribute | public String describeAttribute(String attributeName)(Code) | | Description of the specified attribute name.
Parameters: attributeName - - stringified name of the attribute the description |
describeOperation | public List describeOperation(String operationName)(Code) | | Get the dessciptions of the named operation. This returns a Collection since
operations can be overloaded and one operationName can have multiple forms.
Parameters: operationName - Collection of operation description |
describeOperation | protected String describeOperation(MBeanOperationInfo operation)(Code) | | Dessciption of the named operation.
Parameters: operation - description |
listAttributeDescriptions | public Collection listAttributeDescriptions()(Code) | | List of string representations of all of the attributes on the MBean.
list of descriptions of each attribute on the mbean |
listAttributeNames | public Collection listAttributeNames()(Code) | | List of the names of each of the attributes on the MBean
list of attribute names |
listAttributeValues | public List listAttributeValues()(Code) | | The values of each of the attributes on the MBean
list of values of each attribute |
listOperationDescriptions | public Collection listOperationDescriptions()(Code) | | Description of all of the operations available on the MBean.
full description of each operation on the MBean |
listOperationNames | public Collection listOperationNames()(Code) | | Names of all the operations available on the MBean.
all the operations on the MBean |
toString | public String toString()(Code) | | Return an end user readable representation of the underlying MBean
the user readable description |
|
|
|