public class SolrRepositoryBean<T> extends CdiRepositoryBean<T>
CdiRepositoryBean
to create SolrRepository
instances.Constructor and Description |
---|
SolrRepositoryBean(javax.enterprise.inject.spi.Bean<SolrOperations> operations,
Set<Annotation> qualifiers,
Class<T> repositoryType,
javax.enterprise.inject.spi.BeanManager beanManager,
CustomRepositoryImplementationDetector detector)
Creates a new
SolrRepositoryBean . |
Modifier and Type | Method and Description |
---|---|
protected T |
create(javax.enterprise.context.spi.CreationalContext<T> creationalContext,
Class<T> repositoryType,
Object customImplementation) |
Class<? extends Annotation> |
getScope() |
create, create, destroy, getBeanClass, getDependencyInstance, getId, getInjectionPoints, getName, getQualifiers, getStereotypes, getTypes, initialize, isAlternative, isNullable, lookupConfiguration, toString
public SolrRepositoryBean(javax.enterprise.inject.spi.Bean<SolrOperations> operations, Set<Annotation> qualifiers, Class<T> repositoryType, javax.enterprise.inject.spi.BeanManager beanManager, CustomRepositoryImplementationDetector detector)
SolrRepositoryBean
.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.protected T create(javax.enterprise.context.spi.CreationalContext<T> creationalContext, Class<T> repositoryType, Object customImplementation)
create
in class CdiRepositoryBean<T>
public Class<? extends Annotation> getScope()
getScope
in interface javax.enterprise.inject.spi.Bean<T>
getScope
in class CdiRepositoryBean<T>
Copyright © 2011-2015–2017 Pivotal Software, Inc.. All rights reserved.