|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.openejb.test.singleton.BasicSingletonPojoBean
public class BasicSingletonPojoBean
Constructor Summary | |
---|---|
BasicSingletonPojoBean()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BasicSingletonPojoBean()
Method Detail |
---|
public String businessMethod(String text)
businessMethod
in interface BasicSingletonBusinessLocal
businessMethod
in interface BasicSingletonBusinessRemote
BasicSingletonObject.businessMethod(java.lang.String)
public void scheduleTimer(String name)
public Object echo(Object object)
echo
in interface BasicSingletonBusinessLocal
echo
in interface BasicSingletonBusinessRemote
public void throwApplicationException() throws ApplicationException
throwApplicationException
in interface BasicSingletonBusinessLocal
throwApplicationException
in interface BasicSingletonBusinessRemote
ApplicationException
public void throwSystemException_NullPointer()
throwSystemException_NullPointer
in interface BasicSingletonBusinessLocal
throwSystemException_NullPointer
in interface BasicSingletonBusinessRemote
public Properties getPermissionsReport()
getPermissionsReport
in interface BasicSingletonBusinessLocal
getPermissionsReport
in interface BasicSingletonBusinessRemote
BasicSingletonObject.getPermissionsReport()
public OperationsPolicy getAllowedOperationsReport(String methodName)
getAllowedOperationsReport
in interface BasicSingletonBusinessLocal
getAllowedOperationsReport
in interface BasicSingletonBusinessRemote
methodName
- The method for which to get the allowed opperations report
BasicSingletonObject.getAllowedOperationsReport(java.lang.String)
public void setSessionContext(javax.ejb.SessionContext ctx) throws javax.ejb.EJBException, RemoteException
javax.ejb.EJBException
RemoteException
public Object remove()
BasicSingletonBusinessLocal
remove
in interface BasicSingletonBusinessLocal
remove
in interface BasicSingletonBusinessRemote
public String remove(String arg)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |