Package org.jboss.test.messaging.tools.jmx

Source Code of org.jboss.test.messaging.tools.jmx.MBeanServerBuilder

/**
* JBoss, Home of Professional Open Source
*
* Distributable under LGPL license.
* See terms of license at gnu.org.
*/
package org.jboss.test.messaging.tools.jmx;

import org.jboss.mx.server.MBeanServerImpl;

import javax.management.MBeanServer;
import javax.management.MBeanServerDelegate;

/**
* @author <a href="mailto:ovidiu@jboss.org">Ovidiu Feodorov</a>
* @version <tt>$Revision: 595 $</tt>
*
* $Id: MBeanServerBuilder.java 595 2006-01-16 02:28:30Z ovidiu $
*/
public class MBeanServerBuilder extends javax.management.MBeanServerBuilder
{
   // Constants -----------------------------------------------------

   // Static --------------------------------------------------------
  
   // Attributes ----------------------------------------------------

   // Constructors --------------------------------------------------

   public MBeanServerBuilder()
   {
   }

   // MBeanServerBuilder overrides ----------------------------------

   public MBeanServer newMBeanServer(String defaultDomain,
                                     MBeanServer outer,
                                     MBeanServerDelegate delegate)
   {
      return new MBeanServerImpl("jboss", outer, delegate);
   }

   public MBeanServerDelegate  newMBeanServerDelegate()
   {
      return new MBeanServerDelegate();
   }

   // Public --------------------------------------------------------

   // Package protected ---------------------------------------------
  
   // Protected -----------------------------------------------------
  
   // Private -------------------------------------------------------

   // Inner classes -------------------------------------------------
}
TOP

Related Classes of org.jboss.test.messaging.tools.jmx.MBeanServerBuilder

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.