How to create quarkus custom extension for access resource

95 views Asked by At

I tried the below code to access the "GreetingResource" using custom extension, but not able to access. sample code:

@BuildStep
void build(BuildProducer<AdditionalBeanBuildItem> additionalBeans) {
    additionalBeans.produce(
        AdditionalBeanBuildItem.unremovableOf(GreetingResource.class)
    );
}
0

There are 0 answers