1 package ejava.examples.jndidemo.ejb;
2
3 import javax.annotation.Resource;
4 import javax.ejb.SessionContext;
5 import javax.ejb.Stateless;
6
7 @Stateless
8 public class CookEJB extends SchedulerBase implements CookLocal {
9
10 public String getName() { return "CookEJB"; }
11
12 @Resource
13 protected void setSessionContext(SessionContext ctx) {
14 super.ctx = ctx;
15 }
16 }