Package com.google.inject.persist
Class PersistModule
- java.lang.Object
-
- com.google.inject.AbstractModule
-
- com.google.inject.persist.PersistModule
-
- All Implemented Interfaces:
Module
- Direct Known Subclasses:
JpaPersistModule
public abstract class PersistModule extends AbstractModule
Install this module to add guice-persist library support for JPA persistence providers.
-
-
Constructor Summary
Constructors Constructor Description PersistModule()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected void
configure()
Configures aBinder
via the exposed methods.protected abstract void
configurePersistence()
protected abstract MethodInterceptor
getTransactionInterceptor()
-
Methods inherited from class com.google.inject.AbstractModule
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestInjection, requestStaticInjection, requireBinding, requireBinding
-
-
-
-
Method Detail
-
configure
protected final void configure()
Description copied from class:AbstractModule
Configures aBinder
via the exposed methods.- Overrides:
configure
in classAbstractModule
-
configurePersistence
protected abstract void configurePersistence()
-
getTransactionInterceptor
protected abstract MethodInterceptor getTransactionInterceptor()
-
-