FileDocCategorySizeDatePackage
ObjectNameQuery.javaAPI DocGlassfish v2 API4608Fri May 04 22:31:04 BST 2007com.sun.appserv.management.util.jmx

ObjectNameQuery

public interface ObjectNameQuery

Fields Summary
Constructors Summary
Methods Summary
public java.util.SetmatchAll(java.util.Set startingSet, java.lang.String[] regexNames, java.lang.String[] regexValues)
Return the ObjectNames of all MBeans whose properties match all the specified regular expressions. Both property names and values may be searched. A starting set may be specified by using an ObjectName pattern. This can greatly improve the performance of the search by restricting the set of MBeans which are examined; otherwise all registered MBeans must be examined. The regexNames[ i ] pattern corresponds to regexValues[ i ]. A value of null for any item is taken to mean "match anything". Thus specifing null for 'regexNames' means "match any name" and specifying regexNames[ i ] = null means to match only based on regexValues[ i ] (and vice versa).

param
startingSet optional ObjectName pattern for starting set to search
param
regexNames optional series of regular expressions for Property names
param
regexValues optional series of regular expressions for Property values
return
array of ObjectName (may be of zero length)

public java.util.SetmatchAny(java.util.Set startingSet, java.lang.String[] regexNames, java.lang.String[] regexValues)
Return the ObjectNames of all MBeans whose properties match any of the specified regular expressions. Both property names and values may be searched. A starting set may be specified by using an ObjectName pattern. This can greatly improve the performance of the search by restricting the set of MBeans which are examined; otherwise all registered MBeans must be examined. The regexNames[ i ] pattern corresponds to regexValues[ i ]. A value of null for any item is taken to mean "match anything". Thus specifing null for 'regexNames' means "match any name" and specifying regexNames[ i ] = null means to match only based on regexValues[ i ] (and vice versa).

param
startingSet optional ObjectName pattern for starting set to search
param
regexNames optional series of regular expressions for Property names
param
regexValues optional series of regular expressions for Property values
return
array of ObjectName (may be of zero length)