com.google.inject.persist
Class PersistModule

java.lang.Object
  extended by com.google.inject.AbstractModule
      extended by 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)

Constructor Summary
PersistModule()
           
 
Method Summary
protected  void configure()
          Configures a Binder via the exposed methods.
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, 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
 

Constructor Detail

PersistModule

public PersistModule()
Method Detail

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.