Package ejava.examples.jndidemo.ejb
Class SchedulerBase
- java.lang.Object
- 
- ejava.examples.jndidemo.ejb.SchedulerBase
 
- 
- All Implemented Interfaces:
- Scheduler
 - Direct Known Subclasses:
- AidSchedulerEJB,- BakeSchedulerEJB,- CookEJB,- HospitalEJB,- TrainSchedulerEJB
 
 public abstract class SchedulerBase extends Object implements Scheduler 
- 
- 
Field SummaryFields Modifier and Type Field Description protected SessionContextctxprotected org.slf4j.Loggerlog
 - 
Constructor SummaryConstructors Constructor Description SchedulerBase()
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description StringgetCtxProperty(String name)return the toString() of the object at the given Context.lookup nameStringgetEnv()return a string representation of java:comp/envStringgetJndiProperty(String name)return the toString() of the object at the given JNDI nameprotected abstract voidsetSessionContext(SessionContext ctx)
 
- 
- 
- 
Field Detail- 
logprotected org.slf4j.Logger log 
 - 
ctxprotected SessionContext ctx 
 
- 
 - 
Method Detail- 
setSessionContextprotected abstract void setSessionContext(SessionContext ctx) 
 - 
getJndiPropertypublic String getJndiProperty(String name) Description copied from interface:Schedulerreturn the toString() of the object at the given JNDI name- Specified by:
- getJndiPropertyin interface- Scheduler
 
 - 
getCtxPropertypublic String getCtxProperty(String name) Description copied from interface:Schedulerreturn the toString() of the object at the given Context.lookup name- Specified by:
- getCtxPropertyin interface- Scheduler
 
 
- 
 
-