|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface JpaInjectionServices
A container should implement this interface to allow the Weld RI to
resolve JPA persistence units and discover entities
JpaInjectionServices is a per-module service.
| Method Summary | |
|---|---|
javax.persistence.EntityManager |
resolvePersistenceContext(InjectionPoint injectionPoint)
Resolve the value for the given @PersistenceContext injection point |
javax.persistence.EntityManagerFactory |
resolvePersistenceUnit(InjectionPoint injectionPoint)
Resolve the value for the given @PersistenceUnit injection point |
| Methods inherited from interface org.jboss.weld.bootstrap.api.Service |
|---|
cleanup |
| Method Detail |
|---|
javax.persistence.EntityManager resolvePersistenceContext(InjectionPoint injectionPoint)
injectionPoint - the injection point metadata
java.lang.IllegalArgumentException - if the injection point is not annotated with
java.lang.IllegalStateException - if no suitable persistence units can be resolved for injectionjavax.persistence.EntityManagerFactory resolvePersistenceUnit(InjectionPoint injectionPoint)
injectionPoint - the injection point metadata
java.lang.IllegalArgumentException - if the injection point is not annotated with
java.lang.IllegalStateException - if no suitable persistence units can be resolved for injection
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||