com.xenonsoft.bridgetown.test.ejb
Class SecondaryEJB

java.lang.Object
  extended bycom.xenonsoft.bridgetown.test.ejb.SecondaryEJB
All Implemented Interfaces:
javax.ejb.EnterpriseBean, java.io.Serializable, javax.ejb.SessionBean

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

A secondary session EJB bean

Version:
$Id: SecondaryEJB.java,v 1.1 2005/03/20 17:51:35 peter_pilgrim Exp $
Author:
Peter Pilgrim, 18-Mar-2005 16:02:47
See Also:
Serialized Form

Constructor Summary
SecondaryEJB()
          Default constructor
 
Method Summary
 void ejbActivate()
          Implements / overrides ejbActivate
 void ejbCreate()
          Implements ejb creation method for this session bean
 void ejbPassivate()
          Implements / overrides ejbPassivate
 void ejbRemove()
          Implements / overrides ejbRemove
 java.lang.String executeTest(java.lang.String name)
          Execute test
 void setSessionContext(javax.ejb.SessionContext arg0)
          Implements / overrides setSessionContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SecondaryEJB

public SecondaryEJB()
Default constructor

Method Detail

setSessionContext

public void setSessionContext(javax.ejb.SessionContext arg0)
                       throws javax.ejb.EJBException,
                              java.rmi.RemoteException
Implements / overrides setSessionContext

Specified by:
setSessionContext in interface javax.ejb.SessionBean
Parameters:
arg0 -
Throws:
javax.ejb.EJBException
java.rmi.RemoteException
See Also:
SessionBean.setSessionContext(javax.ejb.SessionContext)

ejbRemove

public void ejbRemove()
               throws javax.ejb.EJBException,
                      java.rmi.RemoteException
Implements / overrides ejbRemove

Specified by:
ejbRemove in interface javax.ejb.SessionBean
Throws:
javax.ejb.EJBException
java.rmi.RemoteException
See Also:
SessionBean.ejbRemove()

ejbActivate

public void ejbActivate()
                 throws javax.ejb.EJBException,
                        java.rmi.RemoteException
Implements / overrides ejbActivate

Specified by:
ejbActivate in interface javax.ejb.SessionBean
Throws:
javax.ejb.EJBException
java.rmi.RemoteException
See Also:
SessionBean.ejbActivate()

ejbPassivate

public void ejbPassivate()
                  throws javax.ejb.EJBException,
                         java.rmi.RemoteException
Implements / overrides ejbPassivate

Specified by:
ejbPassivate in interface javax.ejb.SessionBean
Throws:
javax.ejb.EJBException
java.rmi.RemoteException
See Also:
SessionBean.ejbPassivate()

ejbCreate

public void ejbCreate()
               throws javax.ejb.CreateException
Implements ejb creation method for this session bean

Throws:
javax.ejb.CreateException
javax.ejb.EJBException

executeTest

public java.lang.String executeTest(java.lang.String name)
Execute test

Parameters:
name - arbitary parameter
Returns:
the results as a String


Copyright © 2005 XeNoNSoFT.com. All Rights Reserved.