org.apache.openejb.test.stateful
Interface BasicStatefulLocalObject

All Superinterfaces:
javax.ejb.EJBLocalObject

public interface BasicStatefulLocalObject
extends javax.ejb.EJBLocalObject

The local interface for BasicStatefulPojoBean.

Version:
$Rev: 576134 $ $Date: 2007-09-16 19:39:40 +0200 (So, 16. Sep 2007) $
Author:
David Blevins, Richard Monson-Haefel, Mohammad Nour El-Din

Method Summary
 java.lang.String businessMethod(java.lang.String text)
          Reverses the string passed in then returns it
 OperationsPolicy getAllowedOperationsReport(java.lang.String methodName)
          Returns a report of the allowed opperations for one of the bean's methods.
 java.util.Properties getPermissionsReport()
          Returns a report of the bean's runtime permissions
 java.lang.String remove(java.lang.String obj)
           
 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.
 
Methods inherited from interface javax.ejb.EJBLocalObject
getEJBLocalHome, getPrimaryKey, isIdentical, remove
 

Method Detail

businessMethod

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


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

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


getAllowedOperationsReport

OperationsPolicy getAllowedOperationsReport(java.lang.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

remove

java.lang.String remove(java.lang.String obj)


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