org.objectweb.easybeans.jmx
Class CommonsModelerHelper

java.lang.Object
  extended by org.objectweb.easybeans.jmx.CommonsModelerHelper

public final class CommonsModelerHelper
extends java.lang.Object

Author:
Florent Benoit

Field Summary
private static JLog logger
          Logger.
private static org.apache.commons.modeler.Registry registry
          Registry of commons modeler.
 
Constructor Summary
private CommonsModelerHelper()
          Utility class, no public constructor.
 
Method Summary
static org.apache.commons.modeler.Registry getRegistry()
          Gets the registry.
static void initRegistry()
          Load the registry of managed object descriptions.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

registry

private static org.apache.commons.modeler.Registry registry
Registry of commons modeler.


logger

private static JLog logger
Logger.

Constructor Detail

CommonsModelerHelper

private CommonsModelerHelper()
Utility class, no public constructor.

Method Detail

initRegistry

public static void initRegistry()
                         throws CommonsModelerException
Load the registry of managed object descriptions.

Throws:
CommonsModelerException - if the MBeans cannot be registered.

getRegistry

public static org.apache.commons.modeler.Registry getRegistry()
                                                       throws CommonsModelerException
Gets the registry.

Returns:
registry object.
Throws:
CommonsModelerException - if registry is not initialized.