public class CategoryPlugin extends AbstractPlugin
JAX_RS_RESOURCE_CLASSES_KEY, JAX_RS_RESOURCE_INSTANCE_KEY
Constructor and Description |
---|
CategoryPlugin() |
Modifier and Type | Method and Description |
---|---|
protected void |
configure() |
CategoryRepository |
getCategoryRepo(org.springframework.data.repository.core.support.RepositoryFactorySupport factory) |
bindToChecker, bindToDataConverter, bindToDefaultConfig, bindToJaxRs, bindToJaxRs, bindToMongo, bindToOptionalConfig, equals, hashCode
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBinding
protected void configure()
configure
in class com.google.inject.AbstractModule
@Provides @Singleton public CategoryRepository getCategoryRepo(org.springframework.data.repository.core.support.RepositoryFactorySupport factory)