Class MongoRepositoryContributor

java.lang.Object
org.springframework.data.repository.aot.generate.RepositoryContributor
org.springframework.data.mongodb.repository.aot.MongoRepositoryContributor

public class MongoRepositoryContributor extends org.springframework.data.repository.aot.generate.RepositoryContributor
MongoDB specific RepositoryContributor.
Since:
5.0
Author:
Christoph Strobl, Mark Paluch
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected @Nullable org.springframework.data.repository.aot.generate.MethodContributor<? extends QueryMethod>
     
    protected void
    customizeClass(org.springframework.data.repository.aot.generate.AotRepositoryClassBuilder classBuilder)
     
    protected void
    customizeConstructor(org.springframework.data.repository.aot.generate.AotRepositoryConstructorBuilder constructorBuilder)
     

    Methods inherited from class org.springframework.data.repository.aot.generate.RepositoryContributor

    contribute, createProjectionFactory, formatTraceMessage, getProjectionFactory, getRepositoryInformation, prefixWithLineNumbers

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • MongoRepositoryContributor

      public MongoRepositoryContributor(AotRepositoryContext repositoryContext)
  • Method Details

    • customizeClass

      protected void customizeClass(org.springframework.data.repository.aot.generate.AotRepositoryClassBuilder classBuilder)
      Overrides:
      customizeClass in class org.springframework.data.repository.aot.generate.RepositoryContributor
    • customizeConstructor

      protected void customizeConstructor(org.springframework.data.repository.aot.generate.AotRepositoryConstructorBuilder constructorBuilder)
      Overrides:
      customizeConstructor in class org.springframework.data.repository.aot.generate.RepositoryContributor
    • contributeQueryMethod

      protected @Nullable org.springframework.data.repository.aot.generate.MethodContributor<? extends QueryMethod> contributeQueryMethod(Method method)
      Overrides:
      contributeQueryMethod in class org.springframework.data.repository.aot.generate.RepositoryContributor