org.apache.cactus.internal.server
Class EJBTestRedirectorBean

java.lang.Object
  extended by org.apache.cactus.internal.server.EJBTestRedirectorBean
All Implemented Interfaces:
java.io.Serializable, javax.ejb.EnterpriseBean, javax.ejb.SessionBean

public class EJBTestRedirectorBean
extends java.lang.Object
implements javax.ejb.SessionBean

Prototype of EJBRedirector for Cactus.

Author:
Siddhartha P. Chandurkar (siddhartha@visioncodified.com)
See Also:
Serialized Form

Constructor Summary
EJBTestRedirectorBean()
          No argument constructor needed by the Container
 
Method Summary
 void ejbActivate()
           
 void ejbCreate()
          Create method specified in EJB 1.1 section 6.10.3.
 void ejbPassivate()
           
 void ejbRemove()
           
 void setSessionContext(javax.ejb.SessionContext context)
           
 void test(EJBRequest theRequest)
          The "main" method of the redirector object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EJBTestRedirectorBean

public EJBTestRedirectorBean()
No argument constructor needed by the Container

Method Detail

test

public void test(EJBRequest theRequest)
The "main" method of the redirector object.

Parameters:
theRequest -

ejbCreate

public void ejbCreate()
               throws javax.ejb.CreateException
Create method specified in EJB 1.1 section 6.10.3.

Throws:
javax.ejb.CreateException - in case an error occurs

setSessionContext

public void setSessionContext(javax.ejb.SessionContext context)
Specified by:
setSessionContext in interface javax.ejb.SessionBean
See Also:
javax.ejb.SessionBean#setContext(javax.ejb.SessionContext)

ejbActivate

public void ejbActivate()
Specified by:
ejbActivate in interface javax.ejb.SessionBean
See Also:
SessionBean.ejbActivate()

ejbPassivate

public void ejbPassivate()
Specified by:
ejbPassivate in interface javax.ejb.SessionBean
See Also:
SessionBean.ejbPassivate()

ejbRemove

public void ejbRemove()
Specified by:
ejbRemove in interface javax.ejb.SessionBean
See Also:
SessionBean.ejbRemove()


Copyright © 2001-2009 The Apache Software Foundation. All Rights Reserved.