public class OAuth1MongoDBPlugin extends AbstractPlugin
JAX_RS_RESOURCE_CLASSES_KEY, JAX_RS_RESOURCE_INSTANCE_KEY
Constructor and Description |
---|
OAuth1MongoDBPlugin() |
Modifier and Type | Method and Description |
---|---|
AccessTokenRepo |
accessTokenRepoProvider(org.springframework.data.repository.core.support.RepositoryFactorySupport factory) |
protected void |
configure() |
ConsumerRepository |
consumerRepoProvider(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 ConsumerRepository consumerRepoProvider(org.springframework.data.repository.core.support.RepositoryFactorySupport factory)
@Provides @Singleton public AccessTokenRepo accessTokenRepoProvider(org.springframework.data.repository.core.support.RepositoryFactorySupport factory)