public final class JpaPersistModule extends PersistModule
| Constructor and Description |
|---|
JpaPersistModule(java.lang.String jpaUnit) |
| Modifier and Type | Method and Description |
|---|---|
<T> JpaPersistModule |
addFinder(java.lang.Class<T> iface)
Adds an interface to this module to use as a dynamic finder.
|
protected void |
configurePersistence() |
protected MethodInterceptor |
getTransactionInterceptor() |
JpaPersistModule |
properties(java.util.Map<?,?> properties)
Configures the JPA persistence provider with a set of properties.
|
configureaddError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBindingprotected void configurePersistence()
configurePersistence in class PersistModuleprotected MethodInterceptor getTransactionInterceptor()
getTransactionInterceptor in class PersistModulepublic JpaPersistModule properties(java.util.Map<?,?> properties)
properties - A set of name value pairs that configure a JPA persistence provider as per
the specification.java.util.Properties)public <T> JpaPersistModule addFinder(java.lang.Class<T> iface)
iface - Any interface type whose methods are all dynamic finders.