Class JpaRepositoryConfigExtension.JpaRepositoryRegistrationAotProcessor
java.lang.Object
org.springframework.data.repository.config.RepositoryRegistrationAotProcessor
org.springframework.data.jpa.repository.config.JpaRepositoryConfigExtension.JpaRepositoryRegistrationAotProcessor
- All Implemented Interfaces:
BeanRegistrationAotProcessor,Aware,BeanFactoryAware,EnvironmentAware,EnvironmentCapable
- Enclosing class:
JpaRepositoryConfigExtension
public static class JpaRepositoryConfigExtension.JpaRepositoryRegistrationAotProcessor
extends RepositoryRegistrationAotProcessor
A
RepositoryRegistrationAotProcessor implementation that maintains aot repository setup but skips domain
type inspection which is handled by the core framework support for
PersistenceManagedTypes.- Since:
- 3.0
- Author:
- Oliver Gierke, Eberhard Wolff, Gil Markham, Thomas Darimont, Christoph Strobl, Mark Paluch, Hyunsang Han
-
Field Summary
FieldsFields inherited from interface org.springframework.beans.factory.aot.BeanRegistrationAotProcessor
IGNORE_REGISTRATION_ATTRIBUTE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected @Nullable JpaRepositoryContributorcontribute(AotRepositoryContext repositoryContext, GenerationContext generationContext) Methods inherited from class org.springframework.data.repository.config.RepositoryRegistrationAotProcessor
contributeType, getBeanFactory, getConfigMap, getEnvironment, getLogger, getRepositoryMetadata, logDebug, logTrace, newRepositoryRegistrationAotContribution, processAheadOfTime, setBeanFactory, setConfigMap, setEnvironmentMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.beans.factory.aot.BeanRegistrationAotProcessor
isBeanExcludedFromAotProcessing
-
Field Details
-
USE_ENTITY_MANAGER
- See Also:
-
-
Constructor Details
-
JpaRepositoryRegistrationAotProcessor
public JpaRepositoryRegistrationAotProcessor()
-
-
Method Details
-
contribute
protected @Nullable JpaRepositoryContributor contribute(AotRepositoryContext repositoryContext, GenerationContext generationContext) - Overrides:
contributein classRepositoryRegistrationAotProcessor
-