Package com.j_spaces.jmx
Class AbstractDynamicMBean
java.lang.Object
com.j_spaces.jmx.AbstractDynamicMBean
- All Implemented Interfaces:
DynamicMBean
- Direct Known Subclasses:
XMLDescriptorsMBean
Copyright (c) 2010 GigaSpaces Technologies Ltd. All rights reserved
The software source code is proprietary and confidential information of GigaSpaces. You may use
the software source code solely under the terms and limitations of The license agreement granted
to you by GigaSpaces.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract Objectprotected abstract void__setConfig(Object config) voidvoidvoidvoidprotected MBeanAttributeInfo[]protected MBeanConstructorInfo[]protected MBeanNotificationInfo[]protected MBeanOperationInfo[]getAttribute(String attributeName) Allows the value of the specified attribute of the Dynamic MBean to be obtained.getAttributes(String[] attributeNames) Enables the to get the values of several attributes of the Dynamic MBean.protected StringThis method provides the exposed attributes and operations of the Dynamic MBean.protected abstract StringgetType()Allows an operation to be invoked on the Dynamic MBean.voidsetAttribute(Attribute attribute) Sets the value of the specified attribute of the Dynamic MBean.setAttributes(AttributeList attributes) Sets the values of several attributes of the Dynamic MBean, and returns the list of attributes that have been set.voidsetMBeanDescription(String descr) protected Stringprotected StringtoUpperCase(String str, int charIndex) Convert a specified character of string in upper case.
-
Field Details
-
THIS_CLASS_NAME
-
-
Constructor Details
-
AbstractDynamicMBean
protected AbstractDynamicMBean()
-
-
Method Details
-
__setConfig
-
__getConfig
-
getType
-
addMBeanAttributeInfo
-
addMBeanOperationInfo
-
addMBeanNotificationInfo
-
addMBeanConstructorInfo
-
setMBeanDescription
-
createMBeanAttributesInfo
-
createMBeanOperationsInfo
-
createMBeanNotificationsInfo
-
createMBeanConstructorsInfo
-
getMBeanDescription
-
toUpperCase
Convert a specified character of string in upper case. -
toLowCase
-
getAttribute
public Object getAttribute(String attributeName) throws AttributeNotFoundException, MBeanException, ReflectionException Allows the value of the specified attribute of the Dynamic MBean to be obtained.- Specified by:
getAttributein interfaceDynamicMBean- Throws:
AttributeNotFoundExceptionMBeanExceptionReflectionException
-
setAttribute
public void setAttribute(Attribute attribute) throws AttributeNotFoundException, InvalidAttributeValueException, MBeanException, ReflectionException Sets the value of the specified attribute of the Dynamic MBean.- Specified by:
setAttributein interfaceDynamicMBean- Throws:
AttributeNotFoundExceptionInvalidAttributeValueExceptionMBeanExceptionReflectionException
-
getAttributes
Enables the to get the values of several attributes of the Dynamic MBean.- Specified by:
getAttributesin interfaceDynamicMBean
-
setAttributes
Sets the values of several attributes of the Dynamic MBean, and returns the list of attributes that have been set.- Specified by:
setAttributesin interfaceDynamicMBean
-
invoke
public Object invoke(String operationName, Object[] params, String[] signature) throws MBeanException, ReflectionException Allows an operation to be invoked on the Dynamic MBean.- Specified by:
invokein interfaceDynamicMBean- Throws:
MBeanExceptionReflectionException
-
getMBeanInfo
This method provides the exposed attributes and operations of the Dynamic MBean. It provides this information using an MBeanInfo object.- Specified by:
getMBeanInfoin interfaceDynamicMBean
-