|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.openejb.test.stateless.BasicStatelessBean
public class BasicStatelessBean
Constructor Summary | |
---|---|
BasicStatelessBean()
|
Method Summary | |
---|---|
String |
businessMethod(String text)
Maps to BasicStatelessObject.businessMethod |
void |
ejbActivate()
The activate method is called when the instance is activated from its "passive" state. |
void |
ejbCreateObject()
|
void |
ejbPassivate()
The passivate method is called before the instance enters the "passive" state. |
void |
ejbRemove()
A container invokes this method before it ends the life of the session object. |
void |
ejbTimeout(javax.ejb.Timer timer)
|
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 |
String |
remove(String str)
|
void |
scheduleTimer(String name)
|
void |
setSessionContext(javax.ejb.SessionContext ctx)
Set the associated session context. |
protected void |
testAllowedOperations(String methodName)
|
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 BasicStatelessBean()
Method Detail |
---|
public String businessMethod(String text)
BasicStatelessObject.businessMethod(java.lang.String)
public void scheduleTimer(String name)
public void throwApplicationException() throws ApplicationException
ApplicationException
public void throwSystemException_NullPointer()
public Properties getPermissionsReport()
BasicStatelessObject.getPermissionsReport()
public OperationsPolicy getAllowedOperationsReport(String methodName)
methodName
- The method for which to get the allowed opperations report
BasicStatelessObject.getAllowedOperationsReport(java.lang.String)
public String remove(String str)
public void setSessionContext(javax.ejb.SessionContext ctx) throws javax.ejb.EJBException, RemoteException
setSessionContext
in interface javax.ejb.SessionBean
javax.ejb.EJBException
RemoteException
@MeasureSensible(value=RESULT) public void ejbCreateObject() throws javax.ejb.CreateException
javax.ejb.CreateException
public void ejbRemove() throws javax.ejb.EJBException, RemoteException
ejbRemove
in interface javax.ejb.SessionBean
javax.ejb.EJBException
RemoteException
public void ejbActivate() throws javax.ejb.EJBException, RemoteException
ejbActivate
in interface javax.ejb.SessionBean
javax.ejb.EJBException
RemoteException
public void ejbPassivate() throws javax.ejb.EJBException, RemoteException
ejbPassivate
in interface javax.ejb.SessionBean
javax.ejb.EJBException
RemoteException
public void ejbTimeout(javax.ejb.Timer timer)
ejbTimeout
in interface javax.ejb.TimedObject
protected void testAllowedOperations(String methodName)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |