org.jboss.mx.util
Class ObjectNameMatch

java.lang.Object
  extended by org.jboss.mx.util.ObjectNameMatch

public class ObjectNameMatch
extends Object

JMX ObjectName comparision utility methods

Version:
$Revision: 1.4.6.3 $
Author:
Scott.Stark@jboss.org

Constructor Summary
ObjectNameMatch()
           
 
Method Summary
static boolean match(ObjectName n0, ObjectName 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 n0,
                            ObjectName 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


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.