org.apache.geronimo.messaging.jmx
Class MBeanServerEndPointImpl
java.lang.Object
org.apache.geronimo.messaging.BaseEndPoint
org.apache.geronimo.messaging.GBeanBaseEndPoint
org.apache.geronimo.messaging.jmx.MBeanServerEndPointImpl
- All Implemented Interfaces:
- EndPoint, org.apache.geronimo.gbean.GBeanLifecycle, MBeanServerEndPoint, MsgConsProd, MsgConsumer, MsgProducer
- public class MBeanServerEndPointImpl
- extends GBeanBaseEndPoint
- implements MBeanServerEndPoint
MBeanServerEndPoint implementation.
- Version:
- $Revision: 1.3 $ $Date: 2004/06/10 23:12:25 $
Constructor Summary |
MBeanServerEndPointImpl(Node aNode,
Object anID,
org.apache.geronimo.kernel.KernelMBean aKernel)
Creates an EndPoint providing an access to the MBeanServer used by
the specified KernelMBean. |
Method Summary |
javax.management.MBeanServer |
getMBeanServer()
Gets a Referenceable MBeanServer. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.geronimo.messaging.EndPoint |
getID |
MBeanServerEndPointImpl
public MBeanServerEndPointImpl(Node aNode,
Object anID,
org.apache.geronimo.kernel.KernelMBean aKernel)
- Creates an EndPoint providing an access to the MBeanServer used by
the specified KernelMBean.
- Parameters:
aNode
- Hosting Node.anID
- EndPoint identifier.aKernel
- Kernel whose MBeanServer is to be exposed.
getMBeanServer
public javax.management.MBeanServer getMBeanServer()
- Description copied from interface:
MBeanServerEndPoint
- Gets a Referenceable MBeanServer.
The returned MBeanServer is a Referenceable. This way it can be
passed around to EndPoints registered by remote Nodes.
- Specified by:
getMBeanServer
in interface MBeanServerEndPoint
- Returns:
- A Referenceable MBeanServer.
Copyright © 2003-2005 Apache Software Foundation. All Rights Reserved.