Search in sources :

Example 11 with QueryMgr

use of com.sun.appserv.management.base.QueryMgr in project Payara by payara.

the class CustomMBeanConfigTest method getRegisteredCustoms.

private Set<ObjectName> getRegisteredCustoms() {
    final QueryMgr queryMgr = getQueryMgr();
    final Set<ObjectName> mbeans = queryMgr.queryPatternObjectNameSet(CustomMBeanConfig.JMX_DOMAIN, "type=" + TEST_TYPE);
    return mbeans;
}
Also used : QueryMgr(com.sun.appserv.management.base.QueryMgr) ObjectName(javax.management.ObjectName)

Aggregations

QueryMgr (com.sun.appserv.management.base.QueryMgr)11 Iterator (java.util.Iterator)6 Set (java.util.Set)6 ObjectName (javax.management.ObjectName)5 HashSet (java.util.HashSet)4 AMX (com.sun.appserv.management.base.AMX)2 SSLConfig (com.sun.appserv.management.config.SSLConfig)2 IOException (java.io.IOException)2 CountStatistic (org.glassfish.j2ee.statistics.CountStatistic)2 DomainRoot (com.sun.appserv.management.DomainRoot)1 Container (com.sun.appserv.management.base.Container)1 NotificationService (com.sun.appserv.management.base.NotificationService)1 AMXConfig (com.sun.appserv.management.config.AMXConfig)1 NotificationServiceHelper (com.sun.appserv.management.helper.NotificationServiceHelper)1 EventProvider (com.sun.appserv.management.j2ee.EventProvider)1 J2EEManagedObject (com.sun.appserv.management.j2ee.J2EEManagedObject)1 JVM (com.sun.appserv.management.j2ee.JVM)1 StateManageable (com.sun.appserv.management.j2ee.StateManageable)1 NumberStatistic (com.sun.appserv.management.j2ee.statistics.NumberStatistic)1 BeanCacheMonitor (com.sun.appserv.management.monitor.BeanCacheMonitor)1