org.oddjob.jmx.general
Class MBeanCacheMap
java.lang.Object
org.oddjob.jmx.general.MBeanCacheMap
- All Implemented Interfaces:
- MBeanCache
public class MBeanCacheMap
- extends Object
- implements MBeanCache
A Simple Map based implementation of a MBeanCache
.
- Author:
- rob
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MBeanCacheMap
public MBeanCacheMap(MBeanServerConnection mBeanServer,
ClassResolver classResolver)
findBean
public MBeanNode findBean(ObjectName objectName)
throws IntrospectionException,
InstanceNotFoundException,
ReflectionException,
IOException
- Description copied from interface:
MBeanCache
- Find a single MBean matching the object name. If the object
name is a wild card there must be only one match.
- Specified by:
findBean
in interface MBeanCache
- Returns:
- A single node. Never null.
- Throws:
IntrospectionException
InstanceNotFoundException
ReflectionException
IOException
findBeans
public MBeanNode[] findBeans(ObjectName objectName)
throws IntrospectionException,
InstanceNotFoundException,
ReflectionException,
IOException
- Description copied from interface:
MBeanCache
- Find all MBeans matching the object name. The object name is
expected to be a wild card.
- Specified by:
findBeans
in interface MBeanCache
- Returns:
- An array of 0 or more nodes.
- Throws:
IntrospectionException
InstanceNotFoundException
ReflectionException
IOException