org.jboss.test.cts.interfaces
Interface StatelessSession

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

public interface StatelessSession
extends EJBObject (src)

Interface for tests of stateless sessions


Method Summary
 void callbackTest(ClientCallback (src)  callback, java.lang.String data)
           
 void loopbackTest()
           
 void loopbackTest(EJBObject (src)  obj)
           
 java.lang.String method1(java.lang.String msg)
           
 void npeError()
           
 void testLocalHome()
          Obtain the session local home and create a local proxy to test the ability to access the local home through the local interface
 void testPassivationByTimeLocal()
           
 
Methods inherited from interface javax.ejb.EJBObject (src)
getEJBHome, getHandle, getPrimaryKey, isIdentical, remove
 

Method Detail

method1

public java.lang.String method1(java.lang.String msg)
                         throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

loopbackTest

public void loopbackTest()
                  throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

loopbackTest

public void loopbackTest(EJBObject (src)  obj)
                  throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

callbackTest

public void callbackTest(ClientCallback (src)  callback,
                         java.lang.String data)
                  throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

npeError

public void npeError()
              throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

testLocalHome

public void testLocalHome()
                   throws java.lang.reflect.InvocationTargetException,
                          java.rmi.RemoteException
Obtain the session local home and create a local proxy to test the ability to access the local home through the local interface

Throws:
java.rmi.RemoteException
java.lang.reflect.InvocationTargetException

testPassivationByTimeLocal

public void testPassivationByTimeLocal()
                                throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException