org.ow2.easybeans.examples.timerservice
Class TimerBean

java.lang.Object
  extended by org.ow2.easybeans.examples.timerservice.TimerBean
All Implemented Interfaces:
TimerBeanRemote

public class TimerBean
extends Object
implements TimerBeanRemote

Stateless bean.

Author:
Florent Benoit

Constructor Summary
TimerBean()
           
 
Method Summary
 void init()
          Business init method that will fire a Timer.
 void timerMethod(javax.ejb.Timer timer)
          Timeout method that will be called by the timer service when a timer is expiring.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TimerBean

public TimerBean()
Method Detail

init

public void init()
Business init method that will fire a Timer.

Specified by:
init in interface TimerBeanRemote

timerMethod

public void timerMethod(javax.ejb.Timer timer)
Timeout method that will be called by the timer service when a timer is expiring.

Parameters:
timer - the timer object containing some data.


Copyright © 2006-2011 OW2 Consortium. All Rights Reserved.