org.jboss.test.web.interfaces
Interface StatelessSession

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

public interface StatelessSession
extends EJBObject (src)

A trivial SessionBean interface.


Method Summary
 java.lang.String echo(java.lang.String arg)
          A method that returns its arg
 java.lang.String forward(java.lang.String echoArg)
          Forward a request to another StatelessSession's echo method
 ReturnData (src) getData()
          Return a data object
 void noop(ReferenceTest (src)  test, boolean optimized)
          A method that does nothing.
 
Methods inherited from interface javax.ejb.EJBObject (src)
getEJBHome, getHandle, getPrimaryKey, isIdentical, remove
 

Method Detail

echo

public java.lang.String echo(java.lang.String arg)
                      throws java.rmi.RemoteException
A method that returns its arg

Throws:
java.rmi.RemoteException

noop

public void noop(ReferenceTest (src)  test,
                 boolean optimized)
          throws java.rmi.RemoteException
A method that does nothing. It is used to test call optimization.

Throws:
java.rmi.RemoteException

forward

public java.lang.String forward(java.lang.String echoArg)
                         throws java.rmi.RemoteException
Forward a request to another StatelessSession's echo method

Throws:
java.rmi.RemoteException

getData

public ReturnData (src)  getData()
                   throws java.rmi.RemoteException
Return a data object

Throws:
java.rmi.RemoteException