org.apache.geronimo.messaging.jmx
Class MBeanServerEndPointImpl

java.lang.Object
  extended byorg.apache.geronimo.messaging.BaseEndPoint
      extended byorg.apache.geronimo.messaging.GBeanBaseEndPoint
          extended byorg.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 $

Field Summary
 
Fields inherited from class org.apache.geronimo.messaging.GBeanBaseEndPoint
GBEAN_INFO
 
Fields inherited from class org.apache.geronimo.messaging.BaseEndPoint
id, node, out, sender
 
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 org.apache.geronimo.messaging.GBeanBaseEndPoint
doFail, doStart, doStop, getGBeanInfo
 
Methods inherited from class org.apache.geronimo.messaging.BaseEndPoint
getID, getMsgConsumerOut, handleRequest, handleResponse, setMsgProducerOut
 
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
 
Methods inherited from interface org.apache.geronimo.messaging.MsgProducer
setMsgProducerOut
 
Methods inherited from interface org.apache.geronimo.messaging.MsgConsumer
getMsgConsumerOut
 

Constructor Detail

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.
Method Detail

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.