public class BakeSchedulerEJB extends SchedulerBase implements BakeSchedulerRemote
Modifier and Type | Field and Description |
---|---|
protected CookLocal |
cook |
protected CookLocal |
cook2 |
private DataSource |
ds |
private EntityManager |
em |
private EntityManager |
em2
This instance of an entity manager is being taken out of the JNDI
tree configured at the top of the class.
|
(package private) String |
message |
ctx, log
Constructor and Description |
---|
BakeSchedulerEJB() |
Modifier and Type | Method and Description |
---|---|
String |
getName()
return the name of the bean
|
void |
init() |
protected void |
setSessionContext(SessionContext ctx) |
getCtxProperty, getEnv, getJndiProperty
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCtxProperty, getEnv, getJndiProperty
private EntityManager em
private EntityManager em2
private DataSource ds
protected CookLocal cook
protected CookLocal cook2
String message
public String getName()
Scheduler
protected void setSessionContext(SessionContext ctx)
setSessionContext
in class SchedulerBase
@PostConstruct public void init()
Copyright © 2015 John's Hopkins University, Engineering Programs for Professionals. All rights reserved.