public class BasicSingletonPojoBean extends Object implements BasicSingletonBusinessLocal, BasicSingletonBusinessRemote
| Constructor and Description |
|---|
BasicSingletonPojoBean() |
| Modifier and Type | Method and Description |
|---|---|
String |
businessMethod(String text)
Maps to BasicSingletonObject.businessMethod
|
Object |
echo(Object object) |
OperationsPolicy |
getAllowedOperationsReport(String methodName)
Maps to BasicSingletonObject.getAllowedOperationsReport
Returns a report of the allowed opperations
for one of the bean's methods.
|
Properties |
getPermissionsReport()
Maps to BasicSingletonObject.getPermissionsReport
Returns a report of the bean's
runtime permissions
|
Object |
remove()
Verify if we can invoke remove() on a singleton session bean as a business method
|
String |
remove(String arg) |
void |
scheduleTimer(String name) |
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 String businessMethod(String text)
businessMethod in interface BasicSingletonBusinessLocalbusinessMethod in interface BasicSingletonBusinessRemoteBasicSingletonObject.businessMethod(java.lang.String)public void scheduleTimer(String name)
public Object echo(Object object)
echo in interface BasicSingletonBusinessLocalecho in interface BasicSingletonBusinessRemotepublic void throwApplicationException()
throws ApplicationException
throwApplicationException in interface BasicSingletonBusinessLocalthrowApplicationException in interface BasicSingletonBusinessRemoteApplicationExceptionpublic void throwSystemException_NullPointer()
throwSystemException_NullPointer in interface BasicSingletonBusinessLocalthrowSystemException_NullPointer in interface BasicSingletonBusinessRemotepublic Properties getPermissionsReport()
getPermissionsReport in interface BasicSingletonBusinessLocalgetPermissionsReport in interface BasicSingletonBusinessRemoteBasicSingletonObject.getPermissionsReport()public OperationsPolicy getAllowedOperationsReport(String methodName)
getAllowedOperationsReport in interface BasicSingletonBusinessLocalgetAllowedOperationsReport in interface BasicSingletonBusinessRemotemethodName - The method for which to get the allowed opperations reportBasicSingletonObject.getAllowedOperationsReport(java.lang.String)public void setSessionContext(javax.ejb.SessionContext ctx)
throws javax.ejb.EJBException,
RemoteException
javax.ejb.EJBExceptionRemoteExceptionpublic Object remove()
BasicSingletonBusinessLocalremove in interface BasicSingletonBusinessLocalremove in interface BasicSingletonBusinessRemoteCopyright © 1999–2017 The Apache Software Foundation. All rights reserved.