Deprecated API
Contents
-
Terminally Deprecated ElementsElementDescriptionThis class is intended only for internal use.Subject to changes due to #51209Subject to changes due to #51209This method may return the binary name, the internal name, or a hybrid thereof and should not be used. Use
GeneratedClassBuildItem.binaryName()orGeneratedClassBuildItem.internalName()instead.useGeneratedResourceBuildItem.getData()insteadThis build item was previously used to enable JNI from Quarkus extensions, but JNI is always enabled starting from GraalVM 19.3.1.Starting with Mandrel/GraalVM 23.1 for JDK 21 this is functionally the same withNativeImageConfigBuildItem.Builder.addRuntimeInitializedClass(String).Starting with Mandrel/GraalVM 23.1 for JDK 21 this is functionally the same withNativeImageConfigBuildItem.getRuntimeInitializedClasses().Excluding resources is not supported in the new reachability-metadata.json file used with Mandrel/GraalVM 25.0 and onwards. Quarkus plans to adopt the use of reachability-metadata.json for Mandrel/GraalVM 23.1 for JDK 21 as well (see https://github.com/quarkusio/quarkus/issues/41016)Excluding resources is not supported in the new reachability-metadata.json file used with Mandrel/GraalVM 25.0 and onwards. Quarkus plans to adopt the use of reachability-metadata.json for Mandrel/GraalVM 23.1 for JDK 21 as well (see https://github.com/quarkusio/quarkus/issues/41016)Excluding resources is not supported in the new reachability-metadata.json file used with Mandrel/GraalVM 25.0 and onwards. Quarkus plans to adopt the use of reachability-metadata.json for Mandrel/GraalVM 23.1 for JDK 21 as well (see https://github.com/quarkusio/quarkus/issues/41016)Excluding resources is not supported in the new reachability-metadata.json file used with Mandrel/GraalVM 25.0 and onwards. Quarkus plans to adopt the use of reachability-metadata.json for Mandrel/GraalVM 23.1 for JDK 21 as well (see https://github.com/quarkusio/quarkus/issues/41016)Excluding resources is not supported in the new reachability-metadata.json file used with Mandrel/GraalVM 25.0 and onwards. Quarkus plans to adopt the use of reachability-metadata.json for Mandrel/GraalVM 23.1 for JDK 21 as well (see https://github.com/quarkusio/quarkus/issues/41016)Excluding resources is not supported in the new reachability-metadata.json file used with Mandrel/GraalVM 25.0 and onwards. Quarkus plans to adopt the use of reachability-metadata.json for Mandrel/GraalVM 23.1 for JDK 21 as well (see https://github.com/quarkusio/quarkus/issues/41016)Including resources using patterns is not supported in the new reachability-metadata.json file used with Mandrel/GraalVM 25.0 and onwards. Quarkus plans to adopt the use of reachability-metadata.json for Mandrel/GraalVM 23.1 for JDK 21 as well (see https://github.com/quarkusio/quarkus/issues/41016)Including resources using patterns is not supported in the new reachability-metadata.json file used with Mandrel/GraalVM 25.0 and onwards. Quarkus plans to adopt the use of reachability-metadata.json for Mandrel/GraalVM 23.1 for JDK 21 as well (see https://github.com/quarkusio/quarkus/issues/41016)Including resources using patterns is not supported in the new reachability-metadata.json file used with Mandrel/GraalVM 25.0 and onwards. Quarkus plans to adopt the use of reachability-metadata.json for Mandrel/GraalVM 23.1 for JDK 21 as well (see https://github.com/quarkusio/quarkus/issues/41016)Excluding resources is not supported in the new reachability-metadata.json file used with Mandrel/GraalVM 25.0 and onwards. Quarkus plans to adopt the use of reachability-metadata.json for Mandrel/GraalVM 23.1 for JDK 21 as well (see https://github.com/quarkusio/quarkus/issues/41016)This is a no-op and was kept for a couple more versions for extension compatibility (e.g. for Blaze-Persistence). We should be able to drop it in 3.31 but let's check before doing so.useReflectiveHierarchyBuildItem.builder(String)insteaduseReflectiveHierarchyBuildItem.builder(DotName)insteaduseReflectiveHierarchyBuildItem.builder(Type)insteadStarting with Mandrel/GraalVM 23.1 for JDK 21 this is functionally the same withRuntimeInitializedClassBuildItem.UseCPUinsteadUseOSinsteadthis build item has no effect. The runtime config is now always set up before build steps execute. Build steps consuming this annotation can safely remove it.This was initially added to support Truffle, but it is no longer needed so the build item should not be usedUseBuilderConfig.Metrics()instead.useLazyIndexeruseLazyIndexeruseLazyIndexeruseLazyIndexeruseDotName.OBJECT_NAMEThis configuration was previously used to enable JNI from Quarkus extensions, but JNI is always enabled starting from GraalVM 19.3.1.Ignored.Excluding resources is not supported in the new reachability-metadata.json file used with Mandrel/GraalVM 25.0 and onwards. Quarkus plans to adopt the use of reachability-metadata.json for Mandrel/GraalVM 23.1 for JDK 21 as well (see https://github.com/quarkusio/quarkus/issues/41016)use} insteadinvalid @link
{@link PackageConfig#jar#aot()This interface is for internal use only, and is tightly coupled to Gizmo 1 which is being replaced by Gizmo 2.This method is only used internally and is tightly bound to Gizmo 1, which is being replaced by Gizmo 2. To control serialization, useRecorderContext.registerSubstitution(Class, Class, Class)instead.usequarkus.snapstart.enabledinsteadUse thesmallrye-common-processAPI instead.Use thesmallrye-common-processAPI instead.
-
Deprecated InterfacesInterfaceDescriptionThis configuration was previously used to enable JNI from Quarkus extensions, but JNI is always enabled starting from GraalVM 19.3.1.This interface is for internal use only, and is tightly coupled to Gizmo 1 which is being replaced by Gizmo 2.
-
Deprecated ClassesClassDescriptionThis class is intended only for internal use.Use
DevServicesResultBuildItem.discovered()instead.This build item was previously used to enable JNI from Quarkus extensions, but JNI is always enabled starting from GraalVM 19.3.1.Starting with Mandrel/GraalVM 23.1 for JDK 21 this is functionally the same withRuntimeInitializedClassBuildItem.this build item has no effect. The runtime config is now always set up before build steps execute. Build steps consuming this annotation can safely remove it.This was initially added to support Truffle, but it is no longer needed so the build item should not be usedThis class was marked as deprecated to raise awareness that the semantic you want is probably provided byIsProduction. If you actually need this specific supplier, please open an issue so that we undeprecate it.Ignored.In the future, it will be possible to request multiple output types.In the future, it will be possible to request multiple output types.In the future, it will be possible to request multiple output types.Use thesmallrye-common-processAPI instead.Use thesmallrye-common-processAPI instead.
-
Deprecated Enum ClassesEnum ClassDescriptionUse
CPUinsteadUseOSinstead
-
Deprecated FieldsFieldDescriptionIf you want to serve static resources useinstead.
invalid reference
io.quarkus.vertx.http.deployment.spi.GeneratedStaticResourceBuildItemUse more precise capabilityuseDotName.OBJECT_NAME
-
Deprecated MethodsMethodDescriptionDon't call this method, use
DevServicesAdditionalConfigBuildItem.getConfigProvider()instead.Don't call this method, useDevServicesAdditionalConfigBuildItem.getConfigProvider()instead.Don't call this method, useDevServicesAdditionalConfigBuildItem.getConfigProvider()instead.Don't call this method, useDevServicesAdditionalConfigBuildItem.getConfigProvider()instead.Don't call this method, useDevServicesAdditionalConfigBuildItem.getConfigProvider()instead.Subject to changes due to #51209Subject to changes due to #51209This method may return the binary name, the internal name, or a hybrid thereof and should not be used. UseGeneratedClassBuildItem.binaryName()orGeneratedClassBuildItem.internalName()instead.useGeneratedResourceBuildItem.getData()insteadStarting with Mandrel/GraalVM 23.1 for JDK 21 this is functionally the same withNativeImageConfigBuildItem.Builder.addRuntimeInitializedClass(String).Starting with Mandrel/GraalVM 23.1 for JDK 21 this is functionally the same withNativeImageConfigBuildItem.getRuntimeInitializedClasses().Excluding resources is not supported in the new reachability-metadata.json file used with Mandrel/GraalVM 25.0 and onwards. Quarkus plans to adopt the use of reachability-metadata.json for Mandrel/GraalVM 23.1 for JDK 21 as well (see https://github.com/quarkusio/quarkus/issues/41016)Excluding resources is not supported in the new reachability-metadata.json file used with Mandrel/GraalVM 25.0 and onwards. Quarkus plans to adopt the use of reachability-metadata.json for Mandrel/GraalVM 23.1 for JDK 21 as well (see https://github.com/quarkusio/quarkus/issues/41016)Excluding resources is not supported in the new reachability-metadata.json file used with Mandrel/GraalVM 25.0 and onwards. Quarkus plans to adopt the use of reachability-metadata.json for Mandrel/GraalVM 23.1 for JDK 21 as well (see https://github.com/quarkusio/quarkus/issues/41016)Excluding resources is not supported in the new reachability-metadata.json file used with Mandrel/GraalVM 25.0 and onwards. Quarkus plans to adopt the use of reachability-metadata.json for Mandrel/GraalVM 23.1 for JDK 21 as well (see https://github.com/quarkusio/quarkus/issues/41016)Excluding resources is not supported in the new reachability-metadata.json file used with Mandrel/GraalVM 25.0 and onwards. Quarkus plans to adopt the use of reachability-metadata.json for Mandrel/GraalVM 23.1 for JDK 21 as well (see https://github.com/quarkusio/quarkus/issues/41016)Excluding resources is not supported in the new reachability-metadata.json file used with Mandrel/GraalVM 25.0 and onwards. Quarkus plans to adopt the use of reachability-metadata.json for Mandrel/GraalVM 23.1 for JDK 21 as well (see https://github.com/quarkusio/quarkus/issues/41016)Including resources using patterns is not supported in the new reachability-metadata.json file used with Mandrel/GraalVM 25.0 and onwards. Quarkus plans to adopt the use of reachability-metadata.json for Mandrel/GraalVM 23.1 for JDK 21 as well (see https://github.com/quarkusio/quarkus/issues/41016)Including resources using patterns is not supported in the new reachability-metadata.json file used with Mandrel/GraalVM 25.0 and onwards. Quarkus plans to adopt the use of reachability-metadata.json for Mandrel/GraalVM 23.1 for JDK 21 as well (see https://github.com/quarkusio/quarkus/issues/41016)Including resources using patterns is not supported in the new reachability-metadata.json file used with Mandrel/GraalVM 25.0 and onwards. Quarkus plans to adopt the use of reachability-metadata.json for Mandrel/GraalVM 23.1 for JDK 21 as well (see https://github.com/quarkusio/quarkus/issues/41016)Excluding resources is not supported in the new reachability-metadata.json file used with Mandrel/GraalVM 25.0 and onwards. Quarkus plans to adopt the use of reachability-metadata.json for Mandrel/GraalVM 23.1 for JDK 21 as well (see https://github.com/quarkusio/quarkus/issues/41016)This is a no-op and was kept for a couple more versions for extension compatibility (e.g. for Blaze-Persistence). We should be able to drop it in 3.31 but let's check before doing so.useReflectiveHierarchyBuildItem.builder(String)insteaduseReflectiveHierarchyBuildItem.builder(DotName)insteaduseReflectiveHierarchyBuildItem.builder(Type)insteadUseBuilderConfig.Metrics()instead.useLazyIndexeruseLazyIndexeruseLazyIndexeruseLazyIndexerUsequarkus.native.monitoringinstead.Excluding resources is not supported in the new reachability-metadata.json file used with Mandrel/GraalVM 25.0 and onwards. Quarkus plans to adopt the use of reachability-metadata.json for Mandrel/GraalVM 23.1 for JDK 21 as well (see https://github.com/quarkusio/quarkus/issues/41016)use} insteadinvalid @link
{@link PackageConfig#jar#aot()This construct should not be needed in most use cases since directly loading deployment/application classes at processing time in build steps is safe. However, there are use cases where this method comes in handy, such as referring to classes that were generated in previous build steps usingGeneratedClassBuildItem.This method is only used internally and is tightly bound to Gizmo 1, which is being replaced by Gizmo 2. To control serialization, useRecorderContext.registerSubstitution(Class, Class, Class)instead.usequarkus.snapstart.enabledinstead
-
Deprecated ConstructorsConstructorDescriptionUse the Builder instead.Use the Builder instead and provide a source for easy debugging.Use the Builder instead and provide a source for easy debugging.Use the Builder instead and provide a source for easy debugging.Use the Builder instead and provide a source for easy debugging.Use the Builder instead and provide a source for easy debugging.Use the Builder instead and provide a source for easy debugging.Use the Builder instead and provide a source for easy debugging.
-
Deprecated Enum ConstantsEnum ConstantDescriptionThis packaging type is no longer recommended for use.