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()
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()
- Overrides:
configure
in classAbstractModule
-
configurePersistence
protected abstract void configurePersistence()
-
getTransactionInterceptor
protected abstract MethodInterceptor getTransactionInterceptor()
-
-