站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 jmx API Documentation 英文版文档

ObjectNameMatch (JBoss/JMX API) - JBoss 4.0.1 sp1 jmx API Documentation 英文版文档


org.jboss.mx.util
Class ObjectNameMatch

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

public class ObjectNameMatch
extends Object

JMX ObjectName comparision utility methods

Version:
$Revision: 1.4 $
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.