org.apache.geronimo.system.jmx
Class RealMBeanServerReference

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

@GBean
public class RealMBeanServerReference
extends Object
implements MBeanServerReference

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

Version:
$Rev: 749113 $ $Date: 2009-03-01 13:18:15 -0800 (Sun, 01 Mar 2009) $

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

Constructor Detail

RealMBeanServerReference

public RealMBeanServerReference(@ParamAttribute(name="usePlatformMBeanServer")
                                boolean usePlatformMBeanServer,
                                @ParamAttribute(name="mbeanServerId")
                                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


Copyright © 2003-2009 The Apache Geronimo development community. All Rights Reserved.