public class AmbariJpaPersistModule
extends com.google.inject.persist.PersistModule
Constructor and Description |
---|
AmbariJpaPersistModule(String jpaUnit) |
Modifier and Type | Method and Description |
---|---|
<T> AmbariJpaPersistModule |
addFinder(Class<T> iface)
Adds an interface to this module to use as a dynamic finder.
|
protected void |
configurePersistence() |
protected org.aopalliance.intercept.MethodInterceptor |
getTransactionInterceptor() |
AmbariJpaPersistModule |
properties(Map<?,?> properties)
Configures the JPA persistence provider with a set of properties.
|
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBinding
public AmbariJpaPersistModule(String jpaUnit)
protected void configurePersistence()
configurePersistence
in class com.google.inject.persist.PersistModule
protected org.aopalliance.intercept.MethodInterceptor getTransactionInterceptor()
getTransactionInterceptor
in class com.google.inject.persist.PersistModule
public AmbariJpaPersistModule properties(Map<?,?> properties)
properties
- A set of name value pairs that configure a JPA persistence
provider as per the specification.public <T> AmbariJpaPersistModule addFinder(Class<T> iface)
iface
- Any interface type whose methods are all dynamic finders.Copyright © 2022 Apache Software Foundation. All rights reserved.