public static interface MBeanServerExecutor.MBeanEachCallback
MBeanServerExecutor.each(ObjectName, MBeanEachCallback) for iterating over all
active MBeanServers. The callback is responsible on its own to collect the information queried.| Modifier and Type | Method and Description |
|---|---|
void |
callback(MBeanServerConnection pConn,
ObjectName pName)
Callback call for a specific MBeanServer for a given object name.
|
void callback(MBeanServerConnection pConn, ObjectName pName) throws ReflectionException, InstanceNotFoundException, IOException, MBeanException
pConn - MBeanServerpName - object name as given by the surrounding MBeanServerExecutor.each(ObjectName, MBeanEachCallback) call, which
can be either a pattern or null (in which case the names are searched for before) or a direct name.ReflectionExceptionInstanceNotFoundException - if the provided full-ObjectName is not registered at the MBeanServerIOExceptionMBeanException - if an operation of an MBean failsCopyright © 2017. All rights reserved.