org.ow2.easybeans.examples.timerservice
Class TimerBean
java.lang.Object
org.ow2.easybeans.examples.timerservice.TimerBean
- All Implemented Interfaces:
- TimerBeanRemote
public class TimerBean
- extends Object
- implements TimerBeanRemote
Stateless bean.
- Author:
- Florent Benoit
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 |
TimerBean
public TimerBean()
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-2010 OW2 Consortium. All Rights Reserved.