public interface JpaInjectionServices extends Service
JpaInjectionServices is a per-module service.| Modifier and Type | Method and Description |
|---|---|
javax.persistence.EntityManager |
resolvePersistenceContext(javax.enterprise.inject.spi.InjectionPoint injectionPoint)
Resolve the value for the given @PersistenceContext injection point
|
javax.persistence.EntityManagerFactory |
resolvePersistenceUnit(javax.enterprise.inject.spi.InjectionPoint injectionPoint)
Resolve the value for the given @PersistenceUnit injection point
|
javax.persistence.EntityManager resolvePersistenceContext(javax.enterprise.inject.spi.InjectionPoint injectionPoint)
injectionPoint - the injection point metadataIllegalArgumentException - if the injection point is not annotated withIllegalStateException - if no suitable persistence units can be resolved for injectionjavax.persistence.EntityManagerFactory resolvePersistenceUnit(javax.enterprise.inject.spi.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 © 2012 Seam Framework. All Rights Reserved.