org.jboss.mx.util
Class ObjectNameMatch

java.lang.Object
  extended byorg.jboss.mx.util.ObjectNameMatch

public class ObjectNameMatch
extends java.lang.Object

JMX ObjectName comparision utility methods


Constructor Summary
ObjectNameMatch()
           
 
Method Summary
static boolean match(ObjectName (src)  n0, ObjectName (src)  n1)
          Compare two ObjectNames to see if the match via equality or as a pattern.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectNameMatch

public ObjectNameMatch()
Method Detail

match

public static boolean match(ObjectName (src)  n0,
                            ObjectName (src)  n1)
Compare two ObjectNames to see if the match via equality or as a pattern.

Parameters:
n0 - An ObjectName or pattern
n1 - An ObjectName or pattern
Returns:
true if n0 and n1 match, false otherwise