Package ejava.examples.jndidemo.ejb
Class HospitalEJB
- java.lang.Object
-
- ejava.examples.jndidemo.ejb.SchedulerBase
-
- ejava.examples.jndidemo.ejb.HospitalEJB
-
- All Implemented Interfaces:
HospitalLocal
,HospitalRemote
,Scheduler
public class HospitalEJB extends SchedulerBase implements HospitalLocal, HospitalRemote
This EJB is associated with an example to have the deployment leverage the XML deployment descriptors as much as possible.
-
-
Field Summary
-
Fields inherited from class ejava.examples.jndidemo.ejb.SchedulerBase
ctx, log
-
-
Constructor Summary
Constructors Constructor Description HospitalEJB()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getName()
return the name of the beanvoid
setSessionContext(SessionContext ctx)
-
Methods inherited from class ejava.examples.jndidemo.ejb.SchedulerBase
getCtxProperty, getEnv, getJndiProperty
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface ejava.examples.jndidemo.Scheduler
getCtxProperty, getEnv, getJndiProperty
-
-
-
-
Method Detail
-
getName
public String getName()
Description copied from interface:Scheduler
return the name of the bean
-
setSessionContext
public void setSessionContext(SessionContext ctx)
- Specified by:
setSessionContext
in classSchedulerBase
-
-