|
||||||||||
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(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 |
Methods inherited from interface org.jboss.weld.bootstrap.api.Service |
---|
cleanup |
Method Detail |
---|
javax.persistence.EntityManager resolvePersistenceContext(javax.enterprise.inject.spi.InjectionPoint injectionPoint)
injectionPoint
- the injection point metadata
IllegalArgumentException
- if the injection point is not annotated with
IllegalStateException
- if no suitable persistence units can be resolved for injectionjavax.persistence.EntityManagerFactory resolvePersistenceUnit(javax.enterprise.inject.spi.InjectionPoint injectionPoint)
injectionPoint
- the injection point metadata
IllegalArgumentException
- if the injection point is not annotated with
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 |