Package com.j_spaces.jmx
Class JMXSpaceContainer
java.lang.Object
com.j_spaces.jmx.AbstractDynamicMBean
com.j_spaces.jmx.XMLDescriptorsMBean
com.j_spaces.jmx.JMXSpaceContainer
- All Implemented Interfaces:
DynamicMBean,MBeanRegistration
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 inherited from class com.j_spaces.jmx.AbstractDynamicMBean
THIS_CLASS_NAME -
Constructor Summary
ConstructorsConstructorDescriptionJMXSpaceContainer(IJSpaceContainer container, String xmlDescriptorsFileURL) This constructor receive instance of manageable container. -
Method Summary
Modifier and TypeMethodDescriptionprotected Objectprotected void__setConfig(Object config) Implements the abstract methods of AbstractDynamicMBeanReturn the GigaSpaces Container.String[]voidvoidpostRegister(Boolean arg0) voidpreRegister(MBeanServer mbs, ObjectName objName) Implements of MBeanRegistration interfacevoidsetAttribute(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.voidvoidvoidshutdown()Shuts down this container.Methods inherited from class com.j_spaces.jmx.XMLDescriptorsMBean
getTypeMethods inherited from class com.j_spaces.jmx.AbstractDynamicMBean
addMBeanAttributeInfo, addMBeanConstructorInfo, addMBeanNotificationInfo, addMBeanOperationInfo, createMBeanAttributesInfo, createMBeanConstructorsInfo, createMBeanNotificationsInfo, createMBeanOperationsInfo, getAttribute, getAttributes, getMBeanDescription, getMBeanInfo, invoke, setMBeanDescription, toLowCase, toUpperCase
-
Constructor Details
-
JMXSpaceContainer
This constructor receive instance of manageable container.- Throws:
Exception
-
JMXSpaceContainer
public JMXSpaceContainer()
-
-
Method Details
-
__setConfig
Implements the abstract methods of AbstractDynamicMBean- Specified by:
__setConfigin classAbstractDynamicMBean
-
__getConfig
- Specified by:
__getConfigin classAbstractDynamicMBean
-
setAttributes
Description copied from class:AbstractDynamicMBeanSets the values of several attributes of the Dynamic MBean, and returns the list of attributes that have been set.- Specified by:
setAttributesin interfaceDynamicMBean- Overrides:
setAttributesin classAbstractDynamicMBean
-
getContainer
Return the GigaSpaces Container.- Returns:
- m_container
-
shutdown
Shuts down this container. This also involves unregistering all spaces from Lookup services and closing connections to storage adapters.- Throws:
RemoteException
-
getSpaceNames
- Returns:
- list of spaces contained in this container
- Throws:
RemoteException
-
getRuntimeConfigReport
- Returns:
- runtime config report
- Throws:
RemoteException
-
isJndiRegistration
-
setJndiRegistration
-
isJiniRegistration
-
setJiniRegistration
-
getSchemaName
- Returns:
- the container schema used to create this container
-
setAttribute
public void setAttribute(Attribute attribute) throws AttributeNotFoundException, InvalidAttributeValueException, MBeanException, ReflectionException Description copied from class:AbstractDynamicMBeanSets the value of the specified attribute of the Dynamic MBean.- Specified by:
setAttributein interfaceDynamicMBean- Overrides:
setAttributein classAbstractDynamicMBean- Throws:
AttributeNotFoundExceptionInvalidAttributeValueExceptionMBeanExceptionReflectionException
-
preRegister
Implements of MBeanRegistration interface- Specified by:
preRegisterin interfaceMBeanRegistration- Throws:
Exception
-
postRegister
- Specified by:
postRegisterin interfaceMBeanRegistration
-
preDeregister
- Specified by:
preDeregisterin interfaceMBeanRegistration- Throws:
Exception
-
postDeregister
public void postDeregister()- Specified by:
postDeregisterin interfaceMBeanRegistration
-