org.apache.activemq.console.filter
Class MBeansRegExQueryFilter
java.lang.Object
org.apache.activemq.console.filter.AbstractQueryFilter
org.apache.activemq.console.filter.RegExQueryFilter
org.apache.activemq.console.filter.MBeansRegExQueryFilter
- All Implemented Interfaces:
- QueryFilter
public class MBeansRegExQueryFilter
- extends RegExQueryFilter
Method Summary |
protected boolean |
matches(javax.management.AttributeList data,
java.util.Map regex)
Try to match the attribute list using the regular expression map |
protected boolean |
matches(javax.management.ObjectInstance data,
java.util.Map regex)
Try to match the object instance using the regular expression map |
protected boolean |
matches(java.lang.Object data,
java.util.Map regex)
Try to match the object data using the regular expression map. |
protected boolean |
matches(javax.management.ObjectName data,
java.util.Map regex)
Try to match the object name instance using the regular expression map |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MBeansRegExQueryFilter
public MBeansRegExQueryFilter(QueryFilter next)
- Creates a regular expression query that is able to match the values of specific mbeans
- Parameters:
next
- - next query filter
matches
protected boolean matches(java.lang.Object data,
java.util.Map regex)
throws java.lang.Exception
- Try to match the object data using the regular expression map. The regex map contains a key-value mapping of an attribute
key to a regular expression the value of the key should match. The basic rule of matching is that the data must contain
a property key that is included in the regex map, and that the value of the property key should match the regex specified.
- Specified by:
matches
in class RegExQueryFilter
- Parameters:
data
- - object data to matchregex
- - regex map
- Returns:
- true if the data matches the regex map specified
- Throws:
java.lang.Exception
matches
protected boolean matches(javax.management.ObjectInstance data,
java.util.Map regex)
- Try to match the object instance using the regular expression map
- Parameters:
data
- - object instance to matchregex
- - regex map
- Returns:
- true if the object instance matches the regex map
matches
protected boolean matches(javax.management.ObjectName data,
java.util.Map regex)
- Try to match the object name instance using the regular expression map
- Parameters:
data
- - object name to matchregex
- - regex map
- Returns:
- true if the object name matches the regex map
matches
protected boolean matches(javax.management.AttributeList data,
java.util.Map regex)
- Try to match the attribute list using the regular expression map
- Parameters:
data
- - attribute list to matchregex
- - regex map
- Returns:
- true if the attribute list matches the regex map
Copyright © 2009 Apache Software Foundation. All Rights Reserved.