|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.activemq.console.filter.AbstractQueryFilter
org.apache.activemq.console.filter.MBeansObjectNameQueryFilter
public class MBeansObjectNameQueryFilter
| Field Summary | |
|---|---|
static String |
DEFAULT_JMX_DOMAIN
|
static String |
QUERY_EXP_PREFIX
|
| Fields inherited from class org.apache.activemq.console.filter.AbstractQueryFilter |
|---|
next |
| Fields inherited from interface org.apache.activemq.console.filter.QueryFilter |
|---|
QUERY_DELIMETER |
| Constructor Summary | |
|---|---|
MBeansObjectNameQueryFilter(JMXServiceURL jmxUrl)
Creates an mbeans objecet name query filter that will query on the given JMX Service URL |
|
MBeansObjectNameQueryFilter(String jmxUrl)
Creates an mbeans object name query filter that will query on the given JMX Service URL |
|
| Method Summary | |
|---|---|
protected JMXConnector |
createJmxConnector()
Creates a JMX connector |
protected QueryExp |
createQueryExp(String queryExpStr)
Creates a query expression based on the query expression string Note: currently unsupported |
JMXServiceURL |
getJmxServiceUrl()
Get the JMX service URL the query is connecting to. |
List |
query(List queries)
Queries the JMX service using a mapping of keys and values to construct the object name |
protected List |
queryMBeans(ObjectName objName,
String queryExpStr)
Advance query that enables you to specify both the object name and the query expression to use. |
void |
setJmxServiceUrl(JMXServiceURL jmxServiceUrl)
Sets the JMX service URL the query is going to connect to. |
void |
setJmxServiceUrl(String jmxServiceUrl)
Sets the JMX service URL the query is going to connect to. |
| Methods inherited from class org.apache.activemq.console.filter.AbstractQueryFilter |
|---|
query |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String DEFAULT_JMX_DOMAIN
public static final String QUERY_EXP_PREFIX
| Constructor Detail |
|---|
public MBeansObjectNameQueryFilter(String jmxUrl)
throws MalformedURLException
jmxUrl - - JMX service URL to connect to
MalformedURLExceptionpublic MBeansObjectNameQueryFilter(JMXServiceURL jmxUrl)
jmxUrl - - JMX service URL to connect to| Method Detail |
|---|
public List query(List queries)
throws MalformedObjectNameException,
IOException
queries - - mapping of keys and values
MalformedObjectNameException - - if the given string is an invalid
object name
IOException - - if there is a problem querying the JMX context
protected List queryMBeans(ObjectName objName,
String queryExpStr)
throws IOException
objName - - object name to use for queryqueryExpStr - - query expression string
IOException - - if there is a problem querying the JMX contextpublic JMXServiceURL getJmxServiceUrl()
public void setJmxServiceUrl(JMXServiceURL jmxServiceUrl)
jmxServiceUrl - - new JMX service URL
public void setJmxServiceUrl(String jmxServiceUrl)
throws MalformedURLException
jmxServiceUrl - - new JMX service URL
MalformedURLException
protected JMXConnector createJmxConnector()
throws IOException
IOExceptionprotected QueryExp createQueryExp(String queryExpStr)
queryExpStr - - query expression string
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||