Package com.google.inject.persist
Class PersistModule
- java.lang.Object
-
- com.google.inject.AbstractModule
-
- com.google.inject.persist.PersistModule
-
- All Implemented Interfaces:
com.google.inject.Module
- Direct Known Subclasses:
JpaPersistModule
public abstract class PersistModule extends com.google.inject.AbstractModule
Install this module to add guice-persist library support for JPA persistence providers.- Author:
- dhanji@gmail.com (Dhanji R. Prasanna)
-
-
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 org.aopalliance.intercept.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, requestStaticInjection, requireBinding, requireBinding
-
-
-
-
Method Detail
-
configure
protected final void configure()
- Overrides:
configure
in classcom.google.inject.AbstractModule
-
configurePersistence
protected abstract void configurePersistence()
-
getTransactionInterceptor
protected abstract org.aopalliance.intercept.MethodInterceptor getTransactionInterceptor()
-
-