org.apache.geronimo.system.jmx
Class RealMBeanServerReference

java.lang.Object
  extended by org.apache.geronimo.system.jmx.RealMBeanServerReference
All Implemented Interfaces:
MBeanServerReference

public class RealMBeanServerReference
extends Object
implements MBeanServerReference

Creates a real mbean server of finds an existing one with the specified mbeanServerId


Field Summary
static GBeanInfo GBEAN_INFO
           
 
Constructor Summary
RealMBeanServerReference()
          Finds an existing MBeanServer with default domain GERONIMO_DEFAULT_DOMAIN or creates a new one if there isn't any.
RealMBeanServerReference(String mbeanServerId)
           
 
Method Summary
static GBeanInfo getGBeanInfo()
           
 MBeanServer getMBeanServer()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

GBEAN_INFO

public static final GBeanInfo GBEAN_INFO
Constructor Detail

RealMBeanServerReference

public RealMBeanServerReference(String mbeanServerId)
                         throws MBeanServerNotFound
Throws:
MBeanServerNotFound

RealMBeanServerReference

public RealMBeanServerReference()
Finds an existing MBeanServer with default domain GERONIMO_DEFAULT_DOMAIN or creates a new one if there isn't any.

Method Detail

getMBeanServer

public MBeanServer getMBeanServer()
Specified by:
getMBeanServer in interface MBeanServerReference

getGBeanInfo

public static GBeanInfo getGBeanInfo()


Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.