|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.openejb.test.stateful.BasicStatefulPojoBean
public class BasicStatefulPojoBean
Constructor Summary | |
---|---|
BasicStatefulPojoBean()
|
Method Summary | |
---|---|
java.lang.String |
businessMethod(java.lang.String text)
Maps to BasicStatelessObject.businessMethod |
void |
create(java.lang.String name)
|
java.lang.Object |
echo(java.lang.Object object)
|
OperationsPolicy |
getAllowedOperationsReport(java.lang.String methodName)
Maps to BasicStatelessObject.getAllowedOperationsReport Returns a report of the allowed opperations for one of the bean's methods. |
java.util.Properties |
getPermissionsReport()
Maps to BasicStatelessObject.getPermissionsReport Returns a report of the bean's runtime permissions |
java.lang.Object |
remove()
Verify if we can invoke remove() on a stateful session bean as a business method |
java.lang.String |
remove(java.lang.String arg)
|
void |
removeBean()
|
void |
setSessionContext(javax.ejb.SessionContext ctx)
|
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 class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BasicStatefulPojoBean()
Method Detail |
---|
public void create(java.lang.String name)
public void removeBean()
public java.lang.String businessMethod(java.lang.String text)
businessMethod
in interface BasicStatefulBusinessLocal
businessMethod
in interface BasicStatefulBusinessRemote
BasicStatelessObject.businessMethod(java.lang.String)
public java.lang.Object echo(java.lang.Object object)
echo
in interface BasicStatefulBusinessLocal
echo
in interface BasicStatefulBusinessRemote
public void throwApplicationException() throws ApplicationException
throwApplicationException
in interface BasicStatefulBusinessLocal
throwApplicationException
in interface BasicStatefulBusinessRemote
ApplicationException
public void throwSystemException_NullPointer()
throwSystemException_NullPointer
in interface BasicStatefulBusinessLocal
throwSystemException_NullPointer
in interface BasicStatefulBusinessRemote
public java.util.Properties getPermissionsReport()
getPermissionsReport
in interface BasicStatefulBusinessLocal
getPermissionsReport
in interface BasicStatefulBusinessRemote
BasicStatelessObject.getPermissionsReport()
public OperationsPolicy getAllowedOperationsReport(java.lang.String methodName)
getAllowedOperationsReport
in interface BasicStatefulBusinessLocal
getAllowedOperationsReport
in interface BasicStatefulBusinessRemote
methodName
- The method for which to get the allowed opperations report
BasicStatelessObject.getAllowedOperationsReport(java.lang.String)
public void setSessionContext(javax.ejb.SessionContext ctx) throws javax.ejb.EJBException, java.rmi.RemoteException
javax.ejb.EJBException
java.rmi.RemoteException
public java.lang.Object remove()
BasicStatefulBusinessLocal
remove
in interface BasicStatefulBusinessLocal
remove
in interface BasicStatefulBusinessRemote
public java.lang.String remove(java.lang.String arg)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |