org.ow2.jasmine.monitoring.eventswitch.beans.impl
Class JasmineEventTimerSLBImpl
java.lang.Object
org.ow2.jasmine.monitoring.eventswitch.beans.impl.JasmineEventTimerSLBImpl
- All Implemented Interfaces:
- org.ow2.jasmine.monitoring.eventswitch.beans.JasmineEventTimerSLBRemote
public class JasmineEventTimerSLBImpl
- extends java.lang.Object
- implements org.ow2.jasmine.monitoring.eventswitch.beans.JasmineEventTimerSLBRemote
Implementation of the JasmineEvent timer bean. Aims to purge depreciated
event entries on the database. Listens for a JasmineEventTimer to get
configured. Can execute the purge immediately or can trigger an EJB Timer to
execute periodically.
|
Method Summary |
int |
configureTimer(org.ow2.jasmine.event.messages.JasmineEventTimer e)
Public method called via remote interface to configure the timer class. |
void |
handleTimeout(javax.ejb.Timer timer)
Timeout handle method to be triggered every x times by EJB Timer service
of the application server. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JasmineEventTimerSLBImpl
public JasmineEventTimerSLBImpl()
configureTimer
public int configureTimer(org.ow2.jasmine.event.messages.JasmineEventTimer e)
- Public method called via remote interface to configure the timer class.
- Specified by:
configureTimer in interface org.ow2.jasmine.monitoring.eventswitch.beans.JasmineEventTimerSLBRemote
handleTimeout
public void handleTimeout(javax.ejb.Timer timer)
- Timeout handle method to be triggered every x times by EJB Timer service
of the application server.
- Parameters:
timer -
Copyright © 2009 OW2 Consortium. All Rights Reserved.