org.apache.geronimo.messaging
Class GBeanBaseEndPoint

java.lang.Object
  extended byorg.apache.geronimo.messaging.BaseEndPoint
      extended byorg.apache.geronimo.messaging.GBeanBaseEndPoint
All Implemented Interfaces:
EndPoint, org.apache.geronimo.gbean.GBeanLifecycle, MsgConsProd, MsgConsumer, MsgProducer
Direct Known Subclasses:
AdminServer, ManagedServer, MBeanServerEndPointImpl, ReplicationMemberImpl

public abstract class GBeanBaseEndPoint
extends BaseEndPoint
implements EndPoint, org.apache.geronimo.gbean.GBeanLifecycle

Based implementation for EndPoints to be exposed as GBeans.

Version:
$Revision: 1.2 $ $Date: 2004/07/17 03:50:27 $

Field Summary
static org.apache.geronimo.gbean.GBeanInfo GBEAN_INFO
           
 
Fields inherited from class org.apache.geronimo.messaging.BaseEndPoint
id, node, out, sender
 
Constructor Summary
GBeanBaseEndPoint(Node aNode, Object anID)
          Creates an EndPoint, which is mounted by the specified Node and having the specified identifier.
 
Method Summary
 void doFail()
           
 void doStart()
           
 void doStop()
           
static org.apache.geronimo.gbean.GBeanInfo 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
 

Field Detail

GBEAN_INFO

public static final org.apache.geronimo.gbean.GBeanInfo GBEAN_INFO
Constructor Detail

GBeanBaseEndPoint

public GBeanBaseEndPoint(Node aNode,
                         Object anID)
Creates an EndPoint, which is mounted by the specified Node and having the specified identifier.

Parameters:
aNode - Node owning this connector.
anID - EndPoint identifier.
Method Detail

doStart

public void doStart()
             throws org.apache.geronimo.gbean.WaitingException,
                    Exception
Specified by:
doStart in interface org.apache.geronimo.gbean.GBeanLifecycle
Throws:
org.apache.geronimo.gbean.WaitingException
Exception

doStop

public void doStop()
            throws org.apache.geronimo.gbean.WaitingException,
                   Exception
Specified by:
doStop in interface org.apache.geronimo.gbean.GBeanLifecycle
Throws:
org.apache.geronimo.gbean.WaitingException
Exception

doFail

public void doFail()
Specified by:
doFail in interface org.apache.geronimo.gbean.GBeanLifecycle

getGBeanInfo

public static org.apache.geronimo.gbean.GBeanInfo getGBeanInfo()


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