| java.lang.Object org.ow2.easybeans.tests.common.ejbs.stateless.containermanaged.callbacklogger.CallbackLoggerAccessBase
All known Subclasses: org.ow2.easybeans.tests.common.ejbs.stateless.containermanaged.callbacklogger.SLSBOperationLoggerAccess, org.ow2.easybeans.tests.common.ejbs.stateless.containermanaged.callbacklogger.SLSBListenerLoggerAccess, org.ow2.easybeans.tests.common.ejbs.stateless.containermanaged.callbacklogger.SLSBCallbackLoggerAccess,
CallbackLoggerAccessBase | public class CallbackLoggerAccessBase (Code) | | The base that is used for manipulating CallbackLoggers.
author: Gisele Pinheiro Souza author: Eduardo Studzinski Estima de Castro |
Field Summary | |
final public static int | WAIT Sleep time to wait callback operations. |
Method Summary | |
public void | deleteAll() Deletes all callback events from the database. | public void | deleteCallbackEvent(int id) Deletes a callback event from the database. | public List | findAll() Finds all callback events. | public List | findCallbackEvent(String className, CallbackType callbackEvent) Finds a callback event for a class.
Parameters: className - the class for each the callback was called. Parameters: callbackEvent - the callback method that was called. | public List | findCallbackEvent(String className) Finds all callback events for a class.
Parameters: className - the class for each the callback was called. | public List | findCallbackEventByCallbackMethod(String className, CallbackType callbackEvent, String callbackClassName) Finds a callback event that was called for the class in the className
parameter and is defined in the class callbackClassName.
Parameters: className - the class for each the callback was called. Parameters: callbackEvent - the callback method that was called. Parameters: callbackClassName - the class taht the callback method is defined. | protected long | getTime() Waits 2 milliseconds and returns the current time. | public void | verifyCallbackOrder(String className, CallbackType callbackEvent, String[] callbackClassNames) Verifies if the callback interceptor methods for a life cycle callback event are executed in
the correct order. | public void | verifyCallbackOrder(Class className, CallbackType callbackEvent, String[] callbackClassNames) Verifies if the callback interceptor methods for a life cycle callback event are executed in
the correct order. |
WAIT | final public static int WAIT(Code) | | Sleep time to wait callback operations.
|
deleteAll | public void deleteAll()(Code) | | Deletes all callback events from the database.
|
deleteCallbackEvent | public void deleteCallbackEvent(int id)(Code) | | Deletes a callback event from the database.
Parameters: id - the callback identifier. |
findAll | public List findAll()(Code) | | Finds all callback events.
events |
findCallbackEvent | public List findCallbackEvent(String className, CallbackType callbackEvent)(Code) | | Finds a callback event for a class.
Parameters: className - the class for each the callback was called. Parameters: callbackEvent - the callback method that was called. the list of results. |
findCallbackEvent | public List findCallbackEvent(String className)(Code) | | Finds all callback events for a class.
Parameters: className - the class for each the callback was called. the list of results. |
findCallbackEventByCallbackMethod | public List findCallbackEventByCallbackMethod(String className, CallbackType callbackEvent, String callbackClassName)(Code) | | Finds a callback event that was called for the class in the className
parameter and is defined in the class callbackClassName.
Parameters: className - the class for each the callback was called. Parameters: callbackEvent - the callback method that was called. Parameters: callbackClassName - the class taht the callback method is defined. the list of results. |
getTime | protected long getTime()(Code) | | Waits 2 milliseconds and returns the current time.
the time. |
verifyCallbackOrder | public void verifyCallbackOrder(String className, CallbackType callbackEvent, String[] callbackClassNames)(Code) | | Verifies if the callback interceptor methods for a life cycle callback event are executed in
the correct order.
Parameters: className - the class where the interceptor must executes. Parameters: callbackEvent - the lifecycle callback interceptor method type. Parameters: callbackClassNames - the list of interceptors that must be called organized inthe correct order. |
verifyCallbackOrder | public void verifyCallbackOrder(Class className, CallbackType callbackEvent, String[] callbackClassNames)(Code) | | Verifies if the callback interceptor methods for a life cycle callback event are executed in
the correct order.
Parameters: className - the class where the interceptor must executes. Parameters: callbackEvent - the lifecycle callback interceptor method type. Parameters: callbackClassNames - the list of interceptors that must be called organized inthe correct order. |
|
|