cz.cuni.amis.introspection.jmx
Class FolderMBean
java.lang.Object
cz.cuni.amis.introspection.jmx.FolderMBean
- All Implemented Interfaces:
- DynamicMBean
public class FolderMBean
- extends Object
- implements DynamicMBean
Adapter exposing the Folder as a DynamicMBean.
- Author:
- Ik
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
folder
protected Folder folder
FolderMBean
public FolderMBean(Folder folder)
getAttribute
public Object getAttribute(String attribute)
throws AttributeNotFoundException,
MBeanException,
ReflectionException
- Specified by:
getAttribute in interface DynamicMBean
- Throws:
AttributeNotFoundException
MBeanException
ReflectionException
setAttribute
public void setAttribute(Attribute attribute)
throws AttributeNotFoundException,
InvalidAttributeValueException,
MBeanException,
ReflectionException
- Specified by:
setAttribute in interface DynamicMBean
- Throws:
AttributeNotFoundException
InvalidAttributeValueException
MBeanException
ReflectionException
getAttributes
public AttributeList getAttributes(String[] attributes)
- Specified by:
getAttributes in interface DynamicMBean
setAttributes
public AttributeList setAttributes(AttributeList attributes)
- Specified by:
setAttributes in interface DynamicMBean
invoke
public Object invoke(String actionName,
Object[] params,
String[] signature)
throws MBeanException,
ReflectionException
- Specified by:
invoke in interface DynamicMBean
- Throws:
MBeanException
ReflectionException
getMBeanInfo
public MBeanInfo getMBeanInfo()
- Specified by:
getMBeanInfo in interface DynamicMBean
registerFolderHierarchyInJMX
public void registerFolderHierarchyInJMX(MBeanServer mBeanServer,
String domain,
String path)
throws JMException,
IntrospectionException
- Export this folder to a JMX MBeanServer.
- Parameters:
mBeanServer - MBeanServer where this folder will be registereddomain - domain under which the folder will appear, eg. "MyDomain"
- Throws:
JMException
IntrospectionException
exportFolderHierarchy
public static void exportFolderHierarchy(Folder folder,
MBeanServer mBeanServer,
String domain,
String rootName)
throws JMException,
IntrospectionException
- Throws:
JMException
IntrospectionException
Copyright © 2014 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.