public class BasicStatefulPojoBean extends Object implements BasicStatefulBusinessLocal, BasicStatefulBusinessRemote
| Constructor and Description |
|---|
BasicStatefulPojoBean() |
| Modifier and Type | Method and Description |
|---|---|
String |
businessMethod(String text)
Maps to BasicStatelessObject.businessMethod
|
void |
create(String name) |
Object |
echo(Object object) |
OperationsPolicy |
getAllowedOperationsReport(String methodName)
Maps to BasicStatelessObject.getAllowedOperationsReport
Returns a report of the allowed opperations
for one of the bean's methods.
|
Properties |
getPermissionsReport()
Maps to BasicStatelessObject.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
|
String |
remove(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.
|
public void create(String name)
public void removeBean()
public String businessMethod(String text)
businessMethod in interface BasicStatefulBusinessLocalbusinessMethod in interface BasicStatefulBusinessRemoteBasicStatelessObject.businessMethod(java.lang.String)public Object echo(Object object)
echo in interface BasicStatefulBusinessLocalecho in interface BasicStatefulBusinessRemotepublic void throwApplicationException()
throws ApplicationException
throwApplicationException in interface BasicStatefulBusinessLocalthrowApplicationException in interface BasicStatefulBusinessRemoteApplicationExceptionpublic void throwSystemException_NullPointer()
throwSystemException_NullPointer in interface BasicStatefulBusinessLocalthrowSystemException_NullPointer in interface BasicStatefulBusinessRemotepublic Properties getPermissionsReport()
getPermissionsReport in interface BasicStatefulBusinessLocalgetPermissionsReport in interface BasicStatefulBusinessRemoteBasicStatelessObject.getPermissionsReport()public OperationsPolicy getAllowedOperationsReport(String methodName)
getAllowedOperationsReport in interface BasicStatefulBusinessLocalgetAllowedOperationsReport in interface BasicStatefulBusinessRemotemethodName - The method for which to get the allowed opperations reportBasicStatelessObject.getAllowedOperationsReport(java.lang.String)public void setSessionContext(javax.ejb.SessionContext ctx)
throws javax.ejb.EJBException,
RemoteException
javax.ejb.EJBExceptionRemoteExceptionpublic Object remove()
BasicStatefulBusinessLocalremove in interface BasicStatefulBusinessLocalremove in interface BasicStatefulBusinessRemoteCopyright © 1999–2017 The Apache Software Foundation. All rights reserved.