| java.lang.Object org.ow2.easybeans.tests.common.ejbs.stateless.containermanaged.callbacklogger.BaseInsertOperation org.ow2.easybeans.tests.common.ejbs.base.timer.BaseTimeoutCallbackAccess
All known Subclasses: org.ow2.easybeans.tests.common.ejbs.stateless.containermanaged.timer.SLSBTimeoutCallbackAccess00, org.ow2.easybeans.tests.common.ejbs.stateless.beanmanaged.timer.SLSBBMTTimeoutCallbackAccess00, org.ow2.easybeans.tests.common.ejbs.mdb.beanmanaged.timer.MDBBeanManagedTimeoutCallbackAccess00, org.ow2.easybeans.tests.common.ejbs.mdb.containermanaged.timer.MDBTimeoutCallbackAccess00,
BaseTimeoutCallbackAccess | abstract public class BaseTimeoutCallbackAccess extends BaseInsertOperation implements ItfCreateTimer(Code) | | Used as base of beans to test timeout callback.
author: Eduardo Studzinski Estima de Castro author: Gisele Pinheiro Souza |
Method Summary | |
abstract public String | getName() Gets the bean name. | public void | onMessage(Message message) Starts a timer. | public void | startTimer(int duration, Serializable op) Starts a timer. | abstract public boolean | testUserTransaction(UserTransaction utx) Tests the UserTransaction. | public void | timeout(Timer timer) This timer performs the operation defined in the info. |
getName | abstract public String getName()(Code) | | Gets the bean name.
name |
onMessage | public void onMessage(Message message)(Code) | | Starts a timer. The timeout will perform the operation specifed in the MessageProperty.OPERATION property.
Parameters: message - msg |
startTimer | public void startTimer(int duration, Serializable op)(Code) | | Starts a timer.
Parameters: duration - timer duration Parameters: op - operation that the timeout callback must perform |
testUserTransaction | abstract public boolean testUserTransaction(UserTransaction utx)(Code) | | Tests the UserTransaction.
Parameters: utx - instance true if the instance is working properly, otherwise false. |
timeout | public void timeout(Timer timer)(Code) | | This timer performs the operation defined in the info.
Parameters: timer - timer with information. |
Methods inherited from org.ow2.easybeans.tests.common.ejbs.stateless.containermanaged.callbacklogger.BaseInsertOperation | public void log(Class className, CallbackType event, Class eventClassName, OperationType operationType)(Code)(Java Doc) public void log(String className, CallbackType event, String eventClassName, OperationType operationType)(Code)(Java Doc) public void log(String className, CallbackType event, String eventClassName, OperationType operationType, String description)(Code)(Java Doc)
|
|
|