Class BasePanacheMongoResourceProcessor

java.lang.Object
io.quarkus.mongodb.panache.common.deployment.BasePanacheMongoResourceProcessor

public abstract class BasePanacheMongoResourceProcessor extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final org.jboss.jandex.DotName
     
    static final org.jboss.jandex.DotName
     
    static final String
     
    static final org.jboss.jandex.DotName
     
    static final org.jboss.jandex.DotName
     
    static final org.jboss.jandex.DotName
     
    static final org.jboss.jandex.DotName
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    buildImperative(io.quarkus.deployment.builditem.CombinedIndexBuildItem index, io.quarkus.deployment.annotations.BuildProducer<io.quarkus.deployment.builditem.BytecodeTransformerBuildItem> transformers, io.quarkus.deployment.annotations.BuildProducer<io.quarkus.deployment.builditem.nativeimage.ReflectiveClassBuildItem> reflectiveClass, io.quarkus.deployment.annotations.BuildProducer<io.quarkus.deployment.builditem.nativeimage.ReflectiveHierarchyBuildItem> reflectiveHierarchy, io.quarkus.deployment.annotations.BuildProducer<PropertyMappingClassBuildStep> propertyMappingClass, List<io.quarkus.panache.common.deployment.PanacheMethodCustomizerBuildItem> methodCustomizersBuildItems)
     
    void
    buildReactive(io.quarkus.deployment.builditem.CombinedIndexBuildItem index, io.quarkus.deployment.annotations.BuildProducer<io.quarkus.deployment.builditem.nativeimage.ReflectiveClassBuildItem> reflectiveClass, io.quarkus.deployment.annotations.BuildProducer<io.quarkus.deployment.builditem.nativeimage.ReflectiveHierarchyBuildItem> reflectiveHierarchy, io.quarkus.deployment.annotations.BuildProducer<PropertyMappingClassBuildStep> propertyMappingClass, io.quarkus.deployment.annotations.BuildProducer<io.quarkus.deployment.builditem.BytecodeTransformerBuildItem> transformers, List<io.quarkus.panache.common.deployment.PanacheMethodCustomizerBuildItem> methodCustomizersBuildItems)
     
    protected void
    buildReplacementMap(List<PropertyMappingClassBuildStep> propertyMappingClasses, io.quarkus.deployment.builditem.CombinedIndexBuildItem index, io.quarkus.mongodb.panache.common.PanacheMongoRecorder recorder)
     
    protected abstract io.quarkus.panache.common.deployment.PanacheEntityEnhancer
    createEntityEnhancer(io.quarkus.deployment.builditem.CombinedIndexBuildItem index, List<io.quarkus.panache.common.deployment.PanacheMethodCustomizer> methodCustomizers, io.quarkus.panache.common.deployment.MetamodelInfo modelInfo)
     
    protected abstract io.quarkus.panache.common.deployment.PanacheEntityEnhancer
    createReactiveEntityEnhancer(io.quarkus.deployment.builditem.CombinedIndexBuildItem index, List<io.quarkus.panache.common.deployment.PanacheMethodCustomizer> methodCustomizers, io.quarkus.panache.common.deployment.MetamodelInfo modelInfo)
     
    protected abstract io.quarkus.panache.common.deployment.PanacheRepositoryEnhancer
    createReactiveRepositoryEnhancer(io.quarkus.deployment.builditem.CombinedIndexBuildItem index, List<io.quarkus.panache.common.deployment.PanacheMethodCustomizer> methodCustomizers)
     
    protected abstract io.quarkus.panache.common.deployment.PanacheRepositoryEnhancer
    createRepositoryEnhancer(io.quarkus.deployment.builditem.CombinedIndexBuildItem index, List<io.quarkus.panache.common.deployment.PanacheMethodCustomizer> methodCustomizers)
     
    protected io.quarkus.panache.common.deployment.PanacheEntityClassesBuildItem
     
    protected abstract io.quarkus.panache.common.deployment.TypeBundle
     
    protected abstract io.quarkus.panache.common.deployment.TypeBundle
     
    protected void
    handleProjectionFor(io.quarkus.deployment.builditem.CombinedIndexBuildItem index, io.quarkus.deployment.annotations.BuildProducer<PropertyMappingClassBuildStep> propertyMappingClass, io.quarkus.deployment.annotations.BuildProducer<io.quarkus.deployment.builditem.BytecodeTransformerBuildItem> transformers)
     
    (package private) io.quarkus.deployment.builditem.nativeimage.ReflectiveHierarchyIgnoreWarningBuildItem
     
    void
    mongoClientNames(io.quarkus.deployment.builditem.ApplicationArchivesBuildItem applicationArchivesBuildItem, io.quarkus.deployment.annotations.BuildProducer<io.quarkus.mongodb.deployment.MongoClientNameBuildItem> mongoClientName)
     
    protected void
    processEntities(io.quarkus.deployment.builditem.CombinedIndexBuildItem index, io.quarkus.deployment.annotations.BuildProducer<io.quarkus.deployment.builditem.BytecodeTransformerBuildItem> transformers, io.quarkus.deployment.annotations.BuildProducer<io.quarkus.deployment.builditem.nativeimage.ReflectiveClassBuildItem> reflectiveClass, io.quarkus.deployment.annotations.BuildProducer<PropertyMappingClassBuildStep> propertyMappingClass, io.quarkus.panache.common.deployment.PanacheEntityEnhancer entityEnhancer, io.quarkus.panache.common.deployment.TypeBundle typeBundle, io.quarkus.panache.common.deployment.MetamodelInfo modelInfo)
     
    protected void
    processRepositories(io.quarkus.deployment.builditem.CombinedIndexBuildItem index, io.quarkus.deployment.annotations.BuildProducer<io.quarkus.deployment.builditem.BytecodeTransformerBuildItem> transformers, io.quarkus.deployment.annotations.BuildProducer<io.quarkus.deployment.builditem.nativeimage.ReflectiveHierarchyBuildItem> reflectiveHierarchy, io.quarkus.deployment.annotations.BuildProducer<PropertyMappingClassBuildStep> propertyMappingClass, io.quarkus.panache.common.deployment.PanacheRepositoryEnhancer repositoryEnhancer, io.quarkus.panache.common.deployment.TypeBundle typeBundle)
     
    protected void
    processTypes(io.quarkus.deployment.builditem.CombinedIndexBuildItem index, io.quarkus.deployment.annotations.BuildProducer<io.quarkus.deployment.builditem.BytecodeTransformerBuildItem> transformers, io.quarkus.deployment.annotations.BuildProducer<io.quarkus.deployment.builditem.nativeimage.ReflectiveClassBuildItem> reflectiveClass, io.quarkus.deployment.annotations.BuildProducer<io.quarkus.deployment.builditem.nativeimage.ReflectiveHierarchyBuildItem> reflectiveHierarchy, io.quarkus.deployment.annotations.BuildProducer<PropertyMappingClassBuildStep> propertyMappingClass, io.quarkus.panache.common.deployment.TypeBundle typeBundle, io.quarkus.panache.common.deployment.PanacheRepositoryEnhancer repositoryEnhancer, io.quarkus.panache.common.deployment.PanacheEntityEnhancer entityEnhancer, io.quarkus.panache.common.deployment.MetamodelInfo modelInfo)
     
    protected void
    registerJacksonSerDeser(io.quarkus.deployment.annotations.BuildProducer<io.quarkus.jackson.spi.JacksonModuleBuildItem> customSerDeser)
     
    protected void
    registerJsonbSerDeser(io.quarkus.deployment.annotations.BuildProducer<io.quarkus.jsonb.spi.JsonbSerializerBuildItem> jsonbSerializers, io.quarkus.deployment.annotations.BuildProducer<io.quarkus.jsonb.spi.JsonbDeserializerBuildItem> jsonbDeserializers)
     
    void
    unremovableClients(io.quarkus.deployment.annotations.BuildProducer<io.quarkus.mongodb.deployment.MongoUnremovableClientsBuildItem> unremovable)
     
    protected void
    unremovableMongoDatabaseResolvers(io.quarkus.deployment.annotations.BuildProducer<io.quarkus.arc.deployment.UnremovableBeanBuildItem> unremovable)
     
    protected io.quarkus.arc.deployment.ValidationPhaseBuildItem.ValidationErrorBuildItem
    validate(io.quarkus.arc.deployment.ValidationPhaseBuildItem validationPhase, io.quarkus.deployment.builditem.CombinedIndexBuildItem index)
     

    Methods inherited from class java.lang.Object

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

    • BSON_ID

      public static final org.jboss.jandex.DotName BSON_ID
    • BSON_IGNORE

      public static final org.jboss.jandex.DotName BSON_IGNORE
    • BSON_PROPERTY

      public static final org.jboss.jandex.DotName BSON_PROPERTY
    • MONGO_DATABASE_RESOLVER

      public static final org.jboss.jandex.DotName MONGO_DATABASE_RESOLVER
    • MONGO_ENTITY

      public static final org.jboss.jandex.DotName MONGO_ENTITY
    • PROJECTION_FOR

      public static final org.jboss.jandex.DotName PROJECTION_FOR
    • BSON_PACKAGE

      public static final String BSON_PACKAGE
      See Also:
  • Constructor Details

    • BasePanacheMongoResourceProcessor

      public BasePanacheMongoResourceProcessor()
  • Method Details

    • buildImperative

      public void buildImperative(io.quarkus.deployment.builditem.CombinedIndexBuildItem index, io.quarkus.deployment.annotations.BuildProducer<io.quarkus.deployment.builditem.BytecodeTransformerBuildItem> transformers, io.quarkus.deployment.annotations.BuildProducer<io.quarkus.deployment.builditem.nativeimage.ReflectiveClassBuildItem> reflectiveClass, io.quarkus.deployment.annotations.BuildProducer<io.quarkus.deployment.builditem.nativeimage.ReflectiveHierarchyBuildItem> reflectiveHierarchy, io.quarkus.deployment.annotations.BuildProducer<PropertyMappingClassBuildStep> propertyMappingClass, List<io.quarkus.panache.common.deployment.PanacheMethodCustomizerBuildItem> methodCustomizersBuildItems)
    • buildReactive

      public void buildReactive(io.quarkus.deployment.builditem.CombinedIndexBuildItem index, io.quarkus.deployment.annotations.BuildProducer<io.quarkus.deployment.builditem.nativeimage.ReflectiveClassBuildItem> reflectiveClass, io.quarkus.deployment.annotations.BuildProducer<io.quarkus.deployment.builditem.nativeimage.ReflectiveHierarchyBuildItem> reflectiveHierarchy, io.quarkus.deployment.annotations.BuildProducer<PropertyMappingClassBuildStep> propertyMappingClass, io.quarkus.deployment.annotations.BuildProducer<io.quarkus.deployment.builditem.BytecodeTransformerBuildItem> transformers, List<io.quarkus.panache.common.deployment.PanacheMethodCustomizerBuildItem> methodCustomizersBuildItems)
    • buildReplacementMap

      protected void buildReplacementMap(List<PropertyMappingClassBuildStep> propertyMappingClasses, io.quarkus.deployment.builditem.CombinedIndexBuildItem index, io.quarkus.mongodb.panache.common.PanacheMongoRecorder recorder)
    • createEntityEnhancer

      protected abstract io.quarkus.panache.common.deployment.PanacheEntityEnhancer createEntityEnhancer(io.quarkus.deployment.builditem.CombinedIndexBuildItem index, List<io.quarkus.panache.common.deployment.PanacheMethodCustomizer> methodCustomizers, io.quarkus.panache.common.deployment.MetamodelInfo modelInfo)
    • createReactiveEntityEnhancer

      protected abstract io.quarkus.panache.common.deployment.PanacheEntityEnhancer createReactiveEntityEnhancer(io.quarkus.deployment.builditem.CombinedIndexBuildItem index, List<io.quarkus.panache.common.deployment.PanacheMethodCustomizer> methodCustomizers, io.quarkus.panache.common.deployment.MetamodelInfo modelInfo)
    • createReactiveRepositoryEnhancer

      protected abstract io.quarkus.panache.common.deployment.PanacheRepositoryEnhancer createReactiveRepositoryEnhancer(io.quarkus.deployment.builditem.CombinedIndexBuildItem index, List<io.quarkus.panache.common.deployment.PanacheMethodCustomizer> methodCustomizers)
    • createRepositoryEnhancer

      protected abstract io.quarkus.panache.common.deployment.PanacheRepositoryEnhancer createRepositoryEnhancer(io.quarkus.deployment.builditem.CombinedIndexBuildItem index, List<io.quarkus.panache.common.deployment.PanacheMethodCustomizer> methodCustomizers)
    • findEntityClasses

      protected io.quarkus.panache.common.deployment.PanacheEntityClassesBuildItem findEntityClasses(List<PanacheMongoEntityClassBuildItem> entityClasses)
    • getImperativeTypeBundle

      protected abstract io.quarkus.panache.common.deployment.TypeBundle getImperativeTypeBundle()
    • getReactiveTypeBundle

      protected abstract io.quarkus.panache.common.deployment.TypeBundle getReactiveTypeBundle()
    • handleProjectionFor

      protected void handleProjectionFor(io.quarkus.deployment.builditem.CombinedIndexBuildItem index, io.quarkus.deployment.annotations.BuildProducer<PropertyMappingClassBuildStep> propertyMappingClass, io.quarkus.deployment.annotations.BuildProducer<io.quarkus.deployment.builditem.BytecodeTransformerBuildItem> transformers)
    • mongoClientNames

      public void mongoClientNames(io.quarkus.deployment.builditem.ApplicationArchivesBuildItem applicationArchivesBuildItem, io.quarkus.deployment.annotations.BuildProducer<io.quarkus.mongodb.deployment.MongoClientNameBuildItem> mongoClientName)
    • processEntities

      protected void processEntities(io.quarkus.deployment.builditem.CombinedIndexBuildItem index, io.quarkus.deployment.annotations.BuildProducer<io.quarkus.deployment.builditem.BytecodeTransformerBuildItem> transformers, io.quarkus.deployment.annotations.BuildProducer<io.quarkus.deployment.builditem.nativeimage.ReflectiveClassBuildItem> reflectiveClass, io.quarkus.deployment.annotations.BuildProducer<PropertyMappingClassBuildStep> propertyMappingClass, io.quarkus.panache.common.deployment.PanacheEntityEnhancer entityEnhancer, io.quarkus.panache.common.deployment.TypeBundle typeBundle, io.quarkus.panache.common.deployment.MetamodelInfo modelInfo)
    • processRepositories

      protected void processRepositories(io.quarkus.deployment.builditem.CombinedIndexBuildItem index, io.quarkus.deployment.annotations.BuildProducer<io.quarkus.deployment.builditem.BytecodeTransformerBuildItem> transformers, io.quarkus.deployment.annotations.BuildProducer<io.quarkus.deployment.builditem.nativeimage.ReflectiveHierarchyBuildItem> reflectiveHierarchy, io.quarkus.deployment.annotations.BuildProducer<PropertyMappingClassBuildStep> propertyMappingClass, io.quarkus.panache.common.deployment.PanacheRepositoryEnhancer repositoryEnhancer, io.quarkus.panache.common.deployment.TypeBundle typeBundle)
    • processTypes

      protected void processTypes(io.quarkus.deployment.builditem.CombinedIndexBuildItem index, io.quarkus.deployment.annotations.BuildProducer<io.quarkus.deployment.builditem.BytecodeTransformerBuildItem> transformers, io.quarkus.deployment.annotations.BuildProducer<io.quarkus.deployment.builditem.nativeimage.ReflectiveClassBuildItem> reflectiveClass, io.quarkus.deployment.annotations.BuildProducer<io.quarkus.deployment.builditem.nativeimage.ReflectiveHierarchyBuildItem> reflectiveHierarchy, io.quarkus.deployment.annotations.BuildProducer<PropertyMappingClassBuildStep> propertyMappingClass, io.quarkus.panache.common.deployment.TypeBundle typeBundle, io.quarkus.panache.common.deployment.PanacheRepositoryEnhancer repositoryEnhancer, io.quarkus.panache.common.deployment.PanacheEntityEnhancer entityEnhancer, io.quarkus.panache.common.deployment.MetamodelInfo modelInfo)
    • ignoreBsonTypes

      io.quarkus.deployment.builditem.nativeimage.ReflectiveHierarchyIgnoreWarningBuildItem ignoreBsonTypes()
    • registerJacksonSerDeser

      protected void registerJacksonSerDeser(io.quarkus.deployment.annotations.BuildProducer<io.quarkus.jackson.spi.JacksonModuleBuildItem> customSerDeser)
    • registerJsonbSerDeser

      protected void registerJsonbSerDeser(io.quarkus.deployment.annotations.BuildProducer<io.quarkus.jsonb.spi.JsonbSerializerBuildItem> jsonbSerializers, io.quarkus.deployment.annotations.BuildProducer<io.quarkus.jsonb.spi.JsonbDeserializerBuildItem> jsonbDeserializers)
    • unremovableClients

      public void unremovableClients(io.quarkus.deployment.annotations.BuildProducer<io.quarkus.mongodb.deployment.MongoUnremovableClientsBuildItem> unremovable)
    • unremovableMongoDatabaseResolvers

      protected void unremovableMongoDatabaseResolvers(io.quarkus.deployment.annotations.BuildProducer<io.quarkus.arc.deployment.UnremovableBeanBuildItem> unremovable)
    • validate

      protected io.quarkus.arc.deployment.ValidationPhaseBuildItem.ValidationErrorBuildItem validate(io.quarkus.arc.deployment.ValidationPhaseBuildItem validationPhase, io.quarkus.deployment.builditem.CombinedIndexBuildItem index) throws io.quarkus.builder.BuildException
      Throws:
      io.quarkus.builder.BuildException