public class LazyPlatformMBeanServer extends Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
LazyPlatformMBeanServer.InitListener |
| Modifier and Type | Method and Description |
|---|---|
void |
addInitListener(LazyPlatformMBeanServer.InitListener initListener) |
void |
close() |
static LazyPlatformMBeanServer |
create(String mainClass) |
List<MBeanServer> |
findAllMBeanServers() |
Object |
getAttribute(ObjectName name,
String attribute,
List<MBeanServer> mbeanServers) |
MBeanInfo |
getMBeanInfo(ObjectName name,
List<MBeanServer> mbeanServers) |
Object |
invoke(ObjectName name,
String operationName,
Object[] params,
String[] signature) |
void |
lazyRegisterMBean(Object object,
String name) |
Set<ObjectName> |
queryNames(ObjectName name,
QueryExp query,
List<MBeanServer> mbeanServers) |
void |
setPlatformMBeanServerAvailable() |
public void addInitListener(LazyPlatformMBeanServer.InitListener initListener)
@OnlyUsedByTests public void close() throws Exception
Exceptionpublic static LazyPlatformMBeanServer create(String mainClass) throws Exception
Exceptionpublic List<MBeanServer> findAllMBeanServers() throws Exception
Exceptionpublic Object getAttribute(ObjectName name, String attribute, List<MBeanServer> mbeanServers) throws Exception
Exceptionpublic MBeanInfo getMBeanInfo(ObjectName name, List<MBeanServer> mbeanServers) throws Exception
Exceptionpublic Object invoke(ObjectName name, String operationName, Object[] params, String[] signature) throws Exception
Exceptionpublic Set<ObjectName> queryNames(ObjectName name, QueryExp query, List<MBeanServer> mbeanServers) throws Exception
Exceptionpublic void setPlatformMBeanServerAvailable()
Copyright © 2011–2020 Glowroot contributors. All rights reserved.