Interface AotRepositoryContext
- All Superinterfaces:
AotContext, EnvironmentCapable
- All Known Implementing Classes:
AotRepositoryContextSupport
AotContext specific to Spring Data Repository infrastructure.- Since:
- 3.0
- Author:
- Christoph Strobl, John Blum, Mark Paluch
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface AotContext
AotContext.IntrospectedBeanDefinition, AotContext.TypeIntrospector -
Field Summary
Fields inherited from interface AotContext
GENERATED_REPOSITORIES_ENABLED, GENERATED_REPOSITORIES_JSON_ENABLED -
Method Summary
Modifier and TypeMethodDescriptionDeprecated, for removal: This API element is subject to removal in a future version.default StringDeprecated, for removal: This API element is subject to removal in a future version.since 4.0, this doesn't really belong in here.Collection<Class<? extends Annotation>> Methods inherited from interface AotContext
contributeTypeConfigurations, getBeanFactory, getClassLoader, getRequiredClassLoader, getTypeScanner, introspectBeanDefinition, introspectBeanDefinition, introspectType, isGeneratedRepositoriesEnabled, isGeneratedRepositoriesMetadataEnabled, scanPackageForTypes, typeConfiguration, typeConfigurationMethods inherited from interface EnvironmentCapable
getEnvironment
-
Method Details
-
getBeanName
Deprecated, for removal: This API element is subject to removal in a future version.since 4.0, this doesn't really belong in here.- Returns:
- the
bean nameof the repository / factory bean.
-
getModuleName
String getModuleName()- Returns:
- the Spring Data module name, see
RepositoryConfigurationExtension.getModuleName(). - Since:
- 4.0
-
getConfigurationSource
RepositoryConfigurationSource getConfigurationSource()- Returns:
- the repository configuration source.
-
getBasePackages
Deprecated, for removal: This API element is subject to removal in a future version.since 4.0, usegetConfigurationSource()and callRepositoryConfigurationSource.getBasePackages()- Returns:
- a
Setofbase packagesto search for repositories.
-
getIdentifyingAnnotations
Collection<Class<? extends Annotation>> getIdentifyingAnnotations()- Returns:
- the
Annotationtypes used to identify domain types.
-
getRepositoryInformation
RepositoryInformation getRepositoryInformation()- Returns:
metadataabout the repository itself.- See Also:
-
getResolvedAnnotations
Set<MergedAnnotation<Annotation>> getResolvedAnnotations()- Returns:
- all
annotationsreachable from the repository. - See Also:
-
getResolvedTypes
-
getConfigurationSource()and callRepositoryConfigurationSource.getBasePackages()