org.objectweb.easybeans.jmx
Class MBeansHelper

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

public final class MBeansHelper
extends java.lang.Object

Creates the MBeans and register them.

Author:
florent

Constructor Summary
private MBeansHelper()
          Utility class, no public constructor.
 
Method Summary
static void createMBeanDeployer(org.apache.commons.modeler.Registry registry)
          Create the Deployer MBean (and register it).
static void initMBeans()
          Init all MBeans of this EJB3 container.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MBeansHelper

private MBeansHelper()
Utility class, no public constructor.

Method Detail

initMBeans

public static void initMBeans()
                       throws MBeansException
Init all MBeans of this EJB3 container.

Throws:
MBeansException - if MBeans are not created.

createMBeanDeployer

public static void createMBeanDeployer(org.apache.commons.modeler.Registry registry)
                                throws MBeansException
Create the Deployer MBean (and register it).

Parameters:
registry - the Commons modeler registry to lookup model
Throws:
MBeansException - if the MBean is not registered.