org.jboss.dependency.plugins
Class JMXObjectNameFix

java.lang.Object
  extended by org.jboss.dependency.plugins.JMXObjectNameFix

public class JMXObjectNameFix
extends Object

Hacky Class to fixup "object names" to their canonical form

Version:
$Revision: 1.1 $
Author:
Adrian Brock

Constructor Summary
JMXObjectNameFix()
           
 
Method Summary
static Object needsAnAlias(Object original)
          Whether the given name needs an alias
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JMXObjectNameFix

public JMXObjectNameFix()
Method Detail

needsAnAlias

public static Object needsAnAlias(Object original)
Whether the given name needs an alias

By default we just add aliases for JMX like ObjectNames to have a canonical name alias

Parameters:
original - the original name
Returns:
the alias if required or null if no alias required


Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.