org.ow2.jasmine.monitoring.eventswitch.beans.impl
Class JasmineEventTimerSLBImpl

java.lang.Object
  extended by 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.

Author:
Arda Aydin

Constructor Summary
JasmineEventTimerSLBImpl()
           
 
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 aplication server.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JasmineEventTimerSLBImpl

public JasmineEventTimerSLBImpl()
Method Detail

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 aplication server.

Parameters:
timer -


Copyright © 2009 OW2 Consortium. All Rights Reserved.