org.apache.openejb.test.stateful
Interface BasicStatefulBusinessRemote

All Known Implementing Classes:
BasicStatefulPojoBean

public interface BasicStatefulBusinessRemote

Author:
David Blevins, Richard Monson-Haefel

Method Summary
 String businessMethod(String text)
          Reverses the string passed in then returns it
 Object echo(Object object)
           
 OperationsPolicy getAllowedOperationsReport(String methodName)
          Returns a report of the allowed opperations for one of the bean's methods.
 Properties getPermissionsReport()
          Returns a report of the bean's runtime permissions
 Object remove()
          Verify if we can invoke remove() on a stateful session bean as a business method
 void throwApplicationException()
          Throws an ApplicationException when invoked
 void throwSystemException_NullPointer()
          Throws a java.lang.NullPointerException when invoked This is a system exception and should result in the destruction of the instance and invalidation of the remote reference.
 

Method Detail

businessMethod

String businessMethod(String text)
Reverses the string passed in then returns it

Returns:
string

echo

Object echo(Object object)

throwApplicationException

void throwApplicationException()
                               throws ApplicationException
Throws an ApplicationException when invoked

Throws:
ApplicationException

throwSystemException_NullPointer

void throwSystemException_NullPointer()
Throws a java.lang.NullPointerException when invoked This is a system exception and should result in the destruction of the instance and invalidation of the remote reference.


getPermissionsReport

Properties getPermissionsReport()
Returns a report of the bean's runtime permissions

Returns:
properties

getAllowedOperationsReport

OperationsPolicy getAllowedOperationsReport(String methodName)
Returns a report of the allowed opperations for one of the bean's methods.

Parameters:
methodName - The method for which to get the allowed opperations report
Returns:
operations policy

remove

Object remove()
Verify if we can invoke remove() on a stateful session bean as a business method



Copyright © 1999-2011 The Apache OpenEJB development community. All Rights Reserved.