|
Spring Data Core | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.data.repository.cdi.CdiRepositoryExtensionSupport
public abstract class CdiRepositoryExtensionSupport
Base class for Extension implementations that create instances for Spring Data repositories.
| Constructor Summary | |
|---|---|
CdiRepositoryExtensionSupport()
|
|
| Method Summary | ||
|---|---|---|
protected Iterable<Map.Entry<Class<?>,Set<Annotation>>> |
getRepositoryTypes()
Provides access to all repository types as well as their qualifiers. |
|
protected
|
processAnnotatedType(javax.enterprise.inject.spi.ProcessAnnotatedType<X> processAnnotatedType)
Implementation of a an observer which checks for Spring Data repository types and stores them in repositoryTypes for later registration as bean type. |
|
protected void |
registerBean(CdiRepositoryBean<?> bean)
Registers the given CdiRepositoryBean for further general treatment by the infrastructure. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CdiRepositoryExtensionSupport()
| Method Detail |
|---|
protected <X> void processAnnotatedType(@Observes
javax.enterprise.inject.spi.ProcessAnnotatedType<X> processAnnotatedType)
repositoryTypes for later registration as bean type.
X - The type.processAnnotatedType - The annotated type as defined by CDI.protected Iterable<Map.Entry<Class<?>,Set<Annotation>>> getRepositoryTypes()
protected void registerBean(CdiRepositoryBean<?> bean)
CdiRepositoryBean for further general treatment by the infrastructure. In particular,
this will cause repositories to be instantiated eagerly if marked as such.
bean - must not be null.afterDeploymentValidation(AfterDeploymentValidation, BeanManager)
|
Spring Data Core | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||