public interface JpaInjectionServices extends Service
JpaInjectionServices is a per-module service.| Modifier and Type | Method and Description |
|---|---|
EntityManager |
resolvePersistenceContext(InjectionPoint injectionPoint)
Resolve the value for the given @PersistenceContext injection point
|
EntityManagerFactory |
resolvePersistenceUnit(InjectionPoint injectionPoint)
Resolve the value for the given @PersistenceUnit injection point
|
EntityManager resolvePersistenceContext(InjectionPoint injectionPoint)
injectionPoint - the injection point metadataIllegalArgumentException - if the injection point is not annotated withIllegalStateException - if no suitable persistence units can be resolved for injectionEntityManagerFactory resolvePersistenceUnit(InjectionPoint injectionPoint)
injectionPoint - the injection point metadataIllegalArgumentException - if the injection point is not annotated withIllegalStateException - if no suitable persistence units can be resolved for injectionCopyright © 2013 Seam Framework. All Rights Reserved.