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.
- Author:
- dhanji@gmail.com (Dhanji R. Prasanna)
Methods inherited from class com.google.inject.AbstractModule |
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBinding |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PersistModule
public PersistModule()
configure
protected final void configure()
- Description copied from class:
AbstractModule
- Configures a
Binder
via the exposed methods.
- Specified by:
configure
in class AbstractModule
configurePersistence
protected abstract void configurePersistence()
getTransactionInterceptor
protected abstract org.aopalliance.intercept.MethodInterceptor getTransactionInterceptor()
Copyright © 2006-2011 Google, Inc.. All Rights Reserved.