org.apache.geronimo.tomcat.cluster
Class ChannelGBean
java.lang.Object
   org.apache.geronimo.tomcat.BaseGBean
org.apache.geronimo.tomcat.BaseGBean
       org.apache.geronimo.tomcat.cluster.ChannelGBean
org.apache.geronimo.tomcat.cluster.ChannelGBean
- All Implemented Interfaces: 
- GBeanLifecycle, ObjectRetriever
- public class ChannelGBean 
- extends BaseGBean- implements GBeanLifecycle, ObjectRetriever
 
 
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
J2EE_TYPE
public static final String J2EE_TYPE
- See Also:
- Constant Field Values
GBEAN_INFO
public static final GBeanInfo GBEAN_INFO
ChannelGBean
public ChannelGBean()
ChannelGBean
public ChannelGBean(String className,
                    Map initParams,
                    MembershipServiceGBean membership,
                    ReceiverGBean receiver,
                    SenderGBean sender,
                    ChannelInterceptorGBean interceptorChain)
             throws Exception
- Throws:
- Exception
getInternalObject
public Object getInternalObject()
- 
- Specified by:
- getInternalObjectin interface- ObjectRetriever
 
- 
 
doFail
public void doFail()
- Description copied from interface: GBeanLifecycle
- Fails the GBean.  This informs the GBean that it is about to transition to the failed state.
 
- 
- Specified by:
- doFailin interface- GBeanLifecycle
 
- 
 
doStart
public void doStart()
             throws Exception
- Description copied from interface: GBeanLifecycle
- Starts the GBean.  This informs the GBean that it is about to transition to the running state.
 
- 
- Specified by:
- doStartin interface- GBeanLifecycle
 
- 
- Throws:
- Exception- if the target failed to start; this will cause a transition to the failed state
 
doStop
public void doStop()
            throws Exception
- Description copied from interface: GBeanLifecycle
- Stops the target.  This informs the GBean that it is about to transition to the stopped state.
 
- 
- Specified by:
- doStopin interface- GBeanLifecycle
 
- 
- Throws:
- Exception- if the target failed to stop; this will cause a transition to the failed state
 
getGBeanInfo
public static GBeanInfo getGBeanInfo()
- 
 
- 
 
Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.