com.jwebmp.guicedpersistence.injectors.CustomPersistModule Maven / Gradle / Ivy
package com.jwebmp.guicedpersistence.injectors;
import com.google.inject.AbstractModule;
import com.google.inject.persist.PersistService;
import com.google.inject.persist.UnitOfWork;
public abstract class CustomPersistModule
extends AbstractModule
{
@Override
protected final void configure()
{
configurePersistence();
requireBinding(PersistService.class);
requireBinding(UnitOfWork.class);
}
protected abstract void configurePersistence();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy