ManagementRegistrar (Bitronix Transaction Manager :: Core 2.1.4 API)
Date: 2013-09-15

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## bitronix.tm.utils
Class ManagementRegistrar

    java.lang.Object
      bitronix.tm.utils.ManagementRegistrar

    public final class ManagementRegistrar

extends Object

Simple JMX facade. In case JMX is disabled, calling methods of this class have no effect.

Author:
  lorban

Method Summary
`static String` | `makeValidName(String name)` Replace characters considered illegal in a management object's name.
`static void` | `register(String name, Object obj)` Register the specified management object.
`static void` | `unregister(String name)` Unregister the management object with the specified name.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Method Detail

### makeValidName

    public static String makeValidName(String name)

  Replace characters considered illegal in a management object's name.

  Parameters:
    `name` - the name to work on.
  Returns:
    a fully valid name where all invalid characters have been replaced with '_'.

### register

    public static void register(String name,
                                Object obj)

  Register the specified management object.

  Parameters:
    `name` - the name of the object.
    `obj` - the management object.

### unregister

    public static void unregister(String name)

  Unregister the management object with the specified name.

  Parameters:
    `name` - the name of the object.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2006-2013 Bitronix Software. All Rights Reserved.