Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Constructor and description |
---|
GroovyMBean
(MBeanServerConnection server, String objectName) |
GroovyMBean
(MBeanServerConnection server, String objectName, boolean ignoreErrors) |
GroovyMBean
(MBeanServerConnection server, ObjectName name) |
GroovyMBean
(MBeanServerConnection server, ObjectName name, boolean ignoreErrors) |
Type | Name and description |
---|---|
protected String |
createOperationKey(String operation, int params) Construct a simple key based on the method name and the number of parameters |
protected String[] |
createSignature(MBeanOperationInfo info) |
protected String |
describeAttribute(MBeanAttributeInfo attr) Description of the specified attribute name. |
String |
describeAttribute(String attributeName) Description of the specified attribute name. |
List<String> |
describeOperation(String operationName) Get the description of the specified operation. |
protected String |
describeOperation(MBeanOperationInfo operation) Description of the operation. |
Object |
getProperty(String property) |
MBeanInfo |
info() |
Object |
invokeMethod(String method, Object arguments) |
Collection<String> |
listAttributeDescriptions() List of string representations of all of the attributes on the MBean. |
Collection<String> |
listAttributeNames() List of the names of each of the attributes on the MBean |
List<String> |
listAttributeValues() The values of each of the attributes on the MBean |
Collection<String> |
listOperationDescriptions() Description of all of the operations available on the MBean. |
Collection<String> |
listOperationNames() Names of all the operations available on the MBean. |
ObjectName |
name() |
MBeanServerConnection |
server() |
void |
setProperty(String property, Object value) |
String |
toString() Return an end user readable representation of the underlying MBean |
Methods inherited from class | Name |
---|---|
class GroovyObjectSupport |
getMetaClass, getProperty, invokeMethod, setMetaClass, setProperty |
class Object |
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Construct a simple key based on the method name and the number of parameters
operation
- - the mbean operation nameparams
- - the number of parameters the operation supportsDescription of the specified attribute name.
attr
- - the attributeDescription of the specified attribute name.
attributeName
- - stringified name of the attributeGet the description of the specified operation. This returns a Collection since operations can be overloaded and one operationName can have multiple forms.
operationName
- the name of the operation to describeDescription of the operation.
operation
- the operation to describeList of string representations of all of the attributes on the MBean.
List of the names of each of the attributes on the MBean
The values of each of the attributes on the MBean
Description of all of the operations available on the MBean.
Names of all the operations available on the MBean.
Return an end user readable representation of the underlying MBean
Copyright © 2003-2015 The Apache Software Foundation. All rights reserved.