org.jboss.test.cts.interfaces
Interface CallerSession

All Superinterfaces:
EJBObject (src) , java.rmi.Remote

public interface CallerSession
extends EJBObject (src)

A session bean that calls another bean in a seperate deployment


Method Summary
 void appEx()
          A method that throws an application exception
 void callAppEx()
           
 void callByValueInSameJar()
          An entry point
 CalleeData (src) simpleCall(boolean isCaller)
          A call that looks up the cts2.jar CalleeSessionHome from JNDI each time, creates an instance and calls simpleCall(false) to test type isolation between jars.
 CalleeData (src) simpleCall2(boolean isCaller)
          A call that looks up the cts2.jar CalleeSessionHome from JNDI once and resuses the home on subsequent calls, creates an instance and calls simpleCall(false) to test type isolation between jars.
 void validateValueMarshalling(ReferenceTest (src)  test)
          Make a call that requires is test argument to be passed by value
 
Methods inherited from interface javax.ejb.EJBObject (src)
getEJBHome, getHandle, getPrimaryKey, isIdentical, remove
 

Method Detail

simpleCall

public CalleeData (src)  simpleCall(boolean isCaller)
                      throws java.rmi.RemoteException
A call that looks up the cts2.jar CalleeSessionHome from JNDI each time, creates an instance and calls simpleCall(false) to test type isolation between jars.

Parameters:
isCaller -
Throws:
java.rmi.RemoteException

simpleCall2

public CalleeData (src)  simpleCall2(boolean isCaller)
                       throws java.rmi.RemoteException
A call that looks up the cts2.jar CalleeSessionHome from JNDI once and resuses the home on subsequent calls, creates an instance and calls simpleCall(false) to test type isolation between jars.

Parameters:
isCaller -
Throws:
java.rmi.RemoteException

callByValueInSameJar

public void callByValueInSameJar()
                          throws java.rmi.RemoteException
An entry point

Throws:
java.rmi.RemoteException

validateValueMarshalling

public void validateValueMarshalling(ReferenceTest (src)  test)
                              throws java.rmi.RemoteException
Make a call that requires is test argument to be passed by value

Parameters:
test - argument used to test call marshalling
Throws:
java.rmi.RemoteException

callAppEx

public void callAppEx()
               throws java.rmi.RemoteException,
                      CalleeException (src) 
Throws:
java.rmi.RemoteException
CalleeException (src)

appEx

public void appEx()
           throws java.rmi.RemoteException,
                  CalleeException (src) 
A method that throws an application exception

Throws:
java.rmi.RemoteException
CalleeException (src)