Class AotMongoRepositoryPostProcessor
java.lang.Object
org.springframework.data.repository.config.RepositoryRegistrationAotProcessor
org.springframework.data.mongodb.repository.aot.AotMongoRepositoryPostProcessor
- All Implemented Interfaces:
BeanRegistrationAotProcessor, Aware, BeanFactoryAware, EnvironmentAware, EnvironmentCapable
Mongodb-specific
RepositoryRegistrationAotProcessor that contributes generated code for repositories.- Since:
- 4.0
- Author:
- Christoph Strobl, Mark Paluch
-
Field Summary
Fields inherited from interface BeanRegistrationAotProcessor
IGNORE_REGISTRATION_ATTRIBUTE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidconfigureTypeContributions(AotRepositoryContext repositoryContext, GenerationContext generationContext) protected @Nullable MongoRepositoryContributorcontributeAotRepository(AotRepositoryContext repositoryContext) Methods inherited from class RepositoryRegistrationAotProcessor
configureTypeContribution, getBeanFactory, getConfigMap, getEnvironment, processAheadOfTime, registerRepositoryCompositionHints, setBeanFactory, setConfigMap, setEnvironmentMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface BeanRegistrationAotProcessor
isBeanExcludedFromAotProcessing
-
Constructor Details
-
AotMongoRepositoryPostProcessor
public AotMongoRepositoryPostProcessor()
-
-
Method Details
-
configureTypeContributions
protected void configureTypeContributions(AotRepositoryContext repositoryContext, GenerationContext generationContext) - Overrides:
configureTypeContributionsin classRepositoryRegistrationAotProcessor
-
contributeAotRepository
protected @Nullable MongoRepositoryContributor contributeAotRepository(AotRepositoryContext repositoryContext) - Overrides:
contributeAotRepositoryin classRepositoryRegistrationAotProcessor
-