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,
Optional<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) |
applyConfiguration, applyConfiguration, create, create, create, create, destroy, getBeanClass, getDependencyInstance, getDependencyInstance, getId, getInjectionPoints, getName, getQualifiers, getRepositoryFragments, 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, Optional<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 Optional.empty().Copyright © 2011–2023 Pivotal Software, Inc.. All rights reserved.