org.jboss.test.security.interfaces
Interface StatelessSession

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

public interface StatelessSession
extends EJBObject (src)


Method Summary
 java.lang.String echo(java.lang.String arg)
          A method that returns its arg
 void excluded()
          A method that is assigned to the exclude-list tag to indicate that no users should be allowed to call it.
 java.lang.String forward(java.lang.String echoArg)
          A method that looks up the StatelessSession bean located at java:comp/env/ejb/Session and invokes echo(echoArg) on the bean and returns the result.
 void noop()
          A method that does nothing but is not assiged a method-permission in the ejb-jar.xml descriptor
 void npeError()
          A method that throws a NullPointerException
 void unchecked()
          A method that is assigned the method-permission/unchecked tag to allow any authenticated user call the method.
 
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()
          throws java.rmi.RemoteException
A method that does nothing but is not assiged a method-permission in the ejb-jar.xml descriptor

Throws:
java.rmi.RemoteException

forward

public java.lang.String forward(java.lang.String echoArg)
                         throws java.rmi.RemoteException
A method that looks up the StatelessSession bean located at java:comp/env/ejb/Session and invokes echo(echoArg) on the bean and returns the result.

Throws:
java.rmi.RemoteException

npeError

public void npeError()
              throws java.rmi.RemoteException
A method that throws a NullPointerException

Throws:
java.rmi.RemoteException

unchecked

public void unchecked()
               throws java.rmi.RemoteException
A method that is assigned the method-permission/unchecked tag to allow any authenticated user call the method.

Throws:
java.rmi.RemoteException

excluded

public void excluded()
              throws java.rmi.RemoteException
A method that is assigned to the exclude-list tag to indicate that no users should be allowed to call it.

Throws:
java.rmi.RemoteException