org.apache.activemq.console.util
Class JmxMBeansUtil

java.lang.Object
  extended by org.apache.activemq.console.util.JmxMBeansUtil

public final class JmxMBeansUtil
extends Object


Method Summary
static QueryFilter createMBeansAttributeQuery(MBeanServerConnection jmxConnection, Set attributes)
           
static QueryFilter createMBeansObjectNameQuery(MBeanServerConnection jmxConnection)
           
static QueryFilter createMessageQueryFilter(MBeanServerConnection jmxConnection, ObjectName destName)
           
static String createQueryString(String query, List params)
           
static String createQueryString(String query, String param)
           
static List filterMBeansView(List mbeans, Set viewFilter)
           
static List filterMessagesView(List messages, Set groupViews, Set attributeViews)
           
static List getAllBrokers(MBeanServerConnection jmxConnection)
           
static List getAllBrokers(MBeanServerConnection jmxConnection, Set attributes)
           
static List getBrokersByName(MBeanServerConnection jmxConnection, String brokerName)
           
static List getBrokersByName(MBeanServerConnection jmxConnection, String brokerName, Set attributes)
           
static List queryMBeans(MBeanServerConnection jmxConnection, List queryList)
           
static List queryMBeans(MBeanServerConnection jmxConnection, List queryList, Set attributes)
           
static List queryMBeans(MBeanServerConnection jmxConnection, String queryString)
           
static List queryMBeans(MBeanServerConnection jmxConnection, String queryString, Set attributes)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getAllBrokers

public static List getAllBrokers(MBeanServerConnection jmxConnection)
                          throws Exception
Throws:
Exception

getBrokersByName

public static List getBrokersByName(MBeanServerConnection jmxConnection,
                                    String brokerName)
                             throws Exception
Throws:
Exception

getAllBrokers

public static List getAllBrokers(MBeanServerConnection jmxConnection,
                                 Set attributes)
                          throws Exception
Throws:
Exception

getBrokersByName

public static List getBrokersByName(MBeanServerConnection jmxConnection,
                                    String brokerName,
                                    Set attributes)
                             throws Exception
Throws:
Exception

queryMBeans

public static List queryMBeans(MBeanServerConnection jmxConnection,
                               List queryList)
                        throws Exception
Throws:
Exception

queryMBeans

public static List queryMBeans(MBeanServerConnection jmxConnection,
                               List queryList,
                               Set attributes)
                        throws Exception
Throws:
Exception

queryMBeans

public static List queryMBeans(MBeanServerConnection jmxConnection,
                               String queryString)
                        throws Exception
Throws:
Exception

queryMBeans

public static List queryMBeans(MBeanServerConnection jmxConnection,
                               String queryString,
                               Set attributes)
                        throws Exception
Throws:
Exception

filterMBeansView

public static List filterMBeansView(List mbeans,
                                    Set viewFilter)
                             throws Exception
Throws:
Exception

createQueryString

public static String createQueryString(String query,
                                       String param)

createQueryString

public static String createQueryString(String query,
                                       List params)

createMBeansObjectNameQuery

public static QueryFilter createMBeansObjectNameQuery(MBeanServerConnection jmxConnection)

createMBeansAttributeQuery

public static QueryFilter createMBeansAttributeQuery(MBeanServerConnection jmxConnection,
                                                     Set attributes)

createMessageQueryFilter

public static QueryFilter createMessageQueryFilter(MBeanServerConnection jmxConnection,
                                                   ObjectName destName)

filterMessagesView

public static List filterMessagesView(List messages,
                                      Set groupViews,
                                      Set attributeViews)
                               throws Exception
Throws:
Exception


Copyright © 2005-2013 The Apache Software Foundation. All Rights Reserved.