Class ReactiveAggregateQuerySupportingRepositoryFactoryBean<T extends org.springframework.data.repository.Repository<S,ID>,S,ID extends Serializable>
java.lang.Object
org.springframework.data.repository.core.support.RepositoryFactoryBeanSupport<T,S,ID>
org.springframework.data.mongodb.repository.support.ReactiveMongoRepositoryFactoryBean<T,S,ID>
com.github.krr.mongodb.aggregate.support.factory.ReactiveAggregateQuerySupportingRepositoryFactoryBean<T,S,ID>
- All Implemented Interfaces:
org.springframework.beans.factory.Aware,org.springframework.beans.factory.BeanClassLoaderAware,org.springframework.beans.factory.BeanFactoryAware,org.springframework.beans.factory.FactoryBean<T>,org.springframework.beans.factory.InitializingBean,org.springframework.context.ApplicationContextAware,org.springframework.context.ApplicationEventPublisherAware,org.springframework.context.EnvironmentAware,org.springframework.data.repository.core.support.RepositoryFactoryInformation<S,ID>
@Component
public class ReactiveAggregateQuerySupportingRepositoryFactoryBean<T extends org.springframework.data.repository.Repository<S,ID>,S,ID extends Serializable>
extends org.springframework.data.mongodb.repository.support.ReactiveMongoRepositoryFactoryBean<T,S,ID>
implements org.springframework.context.ApplicationContextAware
Created by rkolliva 9/7/16.
-
Field Summary
Fields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTE -
Constructor Summary
ConstructorsConstructorDescriptionReactiveAggregateQuerySupportingRepositoryFactoryBean(Class<? extends T> repositoryInterface, ReactiveMongoQueryExecutor queryExecutor, org.springframework.core.env.Environment environment) -
Method Summary
Modifier and TypeMethodDescriptionprotected org.springframework.data.repository.core.support.RepositoryFactorySupportgetFactoryInstance(org.springframework.data.mongodb.core.ReactiveMongoOperations operations) voidsetApplicationContext(org.springframework.context.ApplicationContext applicationContext) Methods inherited from class org.springframework.data.mongodb.repository.support.ReactiveMongoRepositoryFactoryBean
afterPropertiesSet, createDefaultQueryMethodEvaluationContextProvider, createRepositoryFactory, setCreateIndexesForQueryMethods, setMappingContext, setReactiveMongoOperationsMethods inherited from class org.springframework.data.repository.core.support.RepositoryFactoryBeanSupport
addRepositoryFactoryCustomizer, createDefaultEvaluationContextProvider, getEntityInformation, getObject, getObjectType, getPersistentEntity, getQueryMethods, getRepositoryInformation, isSingleton, setApplicationEventPublisher, setBeanClassLoader, setBeanFactory, setCustomImplementation, setEnvironment, setEvaluationContextProvider, setEvaluationContextProvider, setExposeMetadata, setLazyInit, setNamedQueries, setQueryLookupStrategyKey, setRepositoryBaseClass, setRepositoryFragments
-
Constructor Details
-
ReactiveAggregateQuerySupportingRepositoryFactoryBean
@Autowired public ReactiveAggregateQuerySupportingRepositoryFactoryBean(Class<? extends T> repositoryInterface, ReactiveMongoQueryExecutor queryExecutor, org.springframework.core.env.Environment environment)
-
-
Method Details
-
getFactoryInstance
@NonNull protected org.springframework.data.repository.core.support.RepositoryFactorySupport getFactoryInstance(@NonNull org.springframework.data.mongodb.core.ReactiveMongoOperations operations) -
setApplicationContext
public void setApplicationContext(@NonNull org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException - Specified by:
setApplicationContextin interfaceorg.springframework.context.ApplicationContextAware- Throws:
org.springframework.beans.BeansException
-