Package | Description |
---|---|
ejava.examples.jndidemo | |
ejava.examples.jndidemo.dao | |
ejava.examples.jndidemo.ejb |
Modifier and Type | Field and Description |
---|---|
DataSource |
SchedulerResources.ds
Gets a DataSource from the JNDI tree based on a JNDI name
and produces it for any bean injecting a DataSource qualified
with @JndiDemo
|
EntityManager |
SchedulerResources.em
Gets a persistence context based on the persistence unit name and
produces it for any bean injecting an EntityManager qualified
with a @JndiDemo.
|
String |
SchedulerResources.message
A String for any bean injecting a String qualified by @JndiDemo
annotation.
|
Modifier and Type | Method and Description |
---|---|
void |
JPASchedulerDAOImpl.setEntityManager(EntityManager em) |
Modifier and Type | Field and Description |
---|---|
private DataSource |
TrainSchedulerEJB.ds
This will inject a javax.sql.DataSource
|
private EntityManager |
TrainSchedulerEJB.em
This will inject a persistence context using a textual name qualifier
|
(package private) String |
TrainSchedulerEJB.message
This will inject a String based on an annotation qualifier
|
Copyright © 2015 John's Hopkins University, Engineering Programs for Professionals. All rights reserved.