Parent Directory | Revision Log
Add first bits of EJB timer sample - for some reason my glassfish wont start the ejb timer service
1 | torben | 1279 | package dk.thoerup.schedulesamples; |
2 | |||
3 | import javax.ejb.Stateless; | ||
4 | import javax.ejb.TimedObject; | ||
5 | import javax.ejb.Timer; | ||
6 | |||
7 | @Stateless | ||
8 | public class TimedEjb /*implements TimedObject*/ { | ||
9 | |||
10 | |||
11 | public void ejbTimeout(Timer timer) { | ||
12 | System.out.print("timeout ...."); | ||
13 | |||
14 | } | ||
15 | |||
16 | } |
ViewVC Help | |
Powered by ViewVC 1.1.20 |