EasyBeans is an open source implementation by ObjectWeb of the EJB3 container specification.

Project

Developer

Wiki

About

|
If you were logged in you would be able to see more operations.
|
|
|
EasyBeans
Created: 26/Jul/06 01:16 PM
Updated: 01/May/08 08:11 PM
|
|
| Component/s: |
APIs
|
| Affects Version/s: |
EasyBeans 1.0 M1,
EasyBeans 1.0 M2
|
| Fix Version/s: |
EasyBeans 1.0 M4
|
|
|
A PersistenceContext reference can be injected using the annotation @PersistenceContext. When there is
only one persistent unit declared in the jar file, it is not mandatory to define the the attribute "unitName".
In the case, which only the attribute "name" is specified, the injected resource can be found in the JNDI using the value of the attribute "name".
Reference: EJB 3.0 Core Specification - 16.11.1.1
Available tests: org.objectweb.easybeans.tests.environment.reference.persistencecontext.TestPersistenceContextRefFieldInjection
org.objectweb.easybeans.tests.environment.reference.persistencecontext.TestPersistenceContextRefMethodInjection
|
|
Description
|
A PersistenceContext reference can be injected using the annotation @PersistenceContext. When there is
only one persistent unit declared in the jar file, it is not mandatory to define the the attribute "unitName".
In the case, which only the attribute "name" is specified, the injected resource can be found in the JNDI using the value of the attribute "name".
Reference: EJB 3.0 Core Specification - 16.11.1.1
Available tests: org.objectweb.easybeans.tests.environment.reference.persistencecontext.TestPersistenceContextRefFieldInjection
org.objectweb.easybeans.tests.environment.reference.persistencecontext.TestPersistenceContextRefMethodInjection |
Show » |
|