public class SchedulerResources extends Object
Modifier and Type | Field and Description |
---|---|
Scheduler |
cook
Gets a CookEJB for any bean injecting a Scheduler
|
DataSource |
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 |
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 |
message
A String for any bean injecting a String qualified by @JndiDemo
annotation.
|
Constructor and Description |
---|
SchedulerResources() |
@Produces public DataSource ds
@Produces public EntityManager em
@Produces public String message
Copyright © 2015 John's Hopkins University, Engineering Programs for Professionals. All rights reserved.