public class MongoRepositoryBean<T>
extends org.springframework.data.repository.cdi.CdiRepositoryBean<T>
CdiRepositoryBean to create Mongo repository instances.| Constructor and Description |
|---|
MongoRepositoryBean(javax.enterprise.inject.spi.Bean<MongoOperations> operations,
Set<Annotation> qualifiers,
Class<T> repositoryType,
javax.enterprise.inject.spi.BeanManager beanManager,
org.springframework.data.repository.config.CustomRepositoryImplementationDetector detector)
Creates a new
MongoRepositoryBean. |
| Modifier and Type | Method and Description |
|---|---|
protected T |
create(javax.enterprise.context.spi.CreationalContext<T> creationalContext,
Class<T> repositoryType,
Object customImplementation) |
create, create, destroy, getBeanClass, getDependencyInstance, getId, getInjectionPoints, getName, getQualifiers, getScope, getStereotypes, getTypes, initialize, isAlternative, isNullable, lookupConfiguration, toStringpublic MongoRepositoryBean(javax.enterprise.inject.spi.Bean<MongoOperations> operations, Set<Annotation> qualifiers, Class<T> repositoryType, javax.enterprise.inject.spi.BeanManager beanManager, org.springframework.data.repository.config.CustomRepositoryImplementationDetector detector)
MongoRepositoryBean.operations - must not be null.qualifiers - must not be null.repositoryType - must not be null.beanManager - must not be null.detector - detector for the custom Repository implementations
CustomRepositoryImplementationDetector, can be null.Copyright © 2011–2017 Pivotal Software, Inc.. All rights reserved.