Search in sources :

Example 1 with RuntimeInitializedClassBuildItem

use of io.quarkus.deployment.builditem.nativeimage.RuntimeInitializedClassBuildItem in project myfaces by apache.

the class MyFacesProcessor method registerRuntimeInitialization.

@BuildStep
void registerRuntimeInitialization(BuildProducer<RuntimeInitializedClassBuildItem> runtimeInitClassBuildItem) {
    runtimeInitClassBuildItem.produce(new RuntimeInitializedClassBuildItem(LambdaBeanELResolver.class.getCanonicalName()));
    runtimeInitClassBuildItem.produce(new RuntimeInitializedClassBuildItem(LambdaMetadataTargetImpl.class.getCanonicalName()));
    runtimeInitClassBuildItem.produce(new RuntimeInitializedClassBuildItem(PropertyDescriptorUtils.class.getCanonicalName()));
}
Also used : RuntimeInitializedClassBuildItem(io.quarkus.deployment.builditem.nativeimage.RuntimeInitializedClassBuildItem) BuildStep(io.quarkus.deployment.annotations.BuildStep)

Example 2 with RuntimeInitializedClassBuildItem

use of io.quarkus.deployment.builditem.nativeimage.RuntimeInitializedClassBuildItem in project camel-quarkus by apache.

the class BoxProcessor method configure.

@BuildStep
void configure(BuildProducer<RuntimeInitializedClassBuildItem> runtimeClasses) {
    // Avoid use of sun.security.provider.NativePRNG at image runtime
    runtimeClasses.produce(new RuntimeInitializedClassBuildItem(BoxDeveloperEditionAPIConnection.class.getCanonicalName()));
    runtimeClasses.produce(new RuntimeInitializedClassBuildItem(BoxAPIRequest.class.getCanonicalName()));
}
Also used : RuntimeInitializedClassBuildItem(io.quarkus.deployment.builditem.nativeimage.RuntimeInitializedClassBuildItem) BuildStep(io.quarkus.deployment.annotations.BuildStep)

Example 3 with RuntimeInitializedClassBuildItem

use of io.quarkus.deployment.builditem.nativeimage.RuntimeInitializedClassBuildItem in project quarkus-github-api by quarkiverse.

the class GithubApiProcessor method runtimeInitialized.

@BuildStep
void runtimeInitialized(BuildProducer<RuntimeInitializedClassBuildItem> runtimeInitializedClasses) {
    runtimeInitializedClasses.produce(new RuntimeInitializedClassBuildItem(HttpClientGitHubConnector.class.getName()));
    runtimeInitializedClasses.produce(new RuntimeInitializedClassBuildItem(GitHubConnector.class.getName()));
}
Also used : RuntimeInitializedClassBuildItem(io.quarkus.deployment.builditem.nativeimage.RuntimeInitializedClassBuildItem) BuildStep(io.quarkus.deployment.annotations.BuildStep)

Example 4 with RuntimeInitializedClassBuildItem

use of io.quarkus.deployment.builditem.nativeimage.RuntimeInitializedClassBuildItem in project djl-demo by deepjavalibrary.

the class DjlPredictorProcessor method runtimeInit.

@BuildStep
void runtimeInit(BuildProducer<RuntimeInitializedClassBuildItem> runtimeClasses, BuildProducer<RuntimeInitializedPackageBuildItem> runtimePackages) {
    runtimeClasses.produce(new RuntimeInitializedClassBuildItem("io.netty.internal.tcnative.SSL"));
    runtimePackages.produce(new RuntimeInitializedPackageBuildItem("ai.djl"));
    runtimePackages.produce(new RuntimeInitializedPackageBuildItem("org.bytedeco"));
    runtimePackages.produce(new RuntimeInitializedPackageBuildItem("org.tensorflow"));
    runtimePackages.produce(new RuntimeInitializedPackageBuildItem("com.google.protobuf"));
}
Also used : RuntimeInitializedClassBuildItem(io.quarkus.deployment.builditem.nativeimage.RuntimeInitializedClassBuildItem) RuntimeInitializedPackageBuildItem(io.quarkus.deployment.builditem.nativeimage.RuntimeInitializedPackageBuildItem) BuildStep(io.quarkus.deployment.annotations.BuildStep)

Example 5 with RuntimeInitializedClassBuildItem

use of io.quarkus.deployment.builditem.nativeimage.RuntimeInitializedClassBuildItem in project camel-quarkus by apache.

the class AzureCoreHttpClientVertxProcessor method runtimeInitializedClasses.

@BuildStep
void runtimeInitializedClasses(BuildProducer<RuntimeInitializedClassBuildItem> runtimeInitializedClasses) {
    runtimeInitializedClasses.produce(new RuntimeInitializedClassBuildItem(OpenSsl.class.getName()));
    runtimeInitializedClasses.produce(new RuntimeInitializedClassBuildItem("io.netty.internal.tcnative.SSL"));
}
Also used : RuntimeInitializedClassBuildItem(io.quarkus.deployment.builditem.nativeimage.RuntimeInitializedClassBuildItem) BuildStep(io.quarkus.deployment.annotations.BuildStep)

Aggregations

BuildStep (io.quarkus.deployment.annotations.BuildStep)8 RuntimeInitializedClassBuildItem (io.quarkus.deployment.builditem.nativeimage.RuntimeInitializedClassBuildItem)8 RuntimeInitializedPackageBuildItem (io.quarkus.deployment.builditem.nativeimage.RuntimeInitializedPackageBuildItem)1