Package io.quarkus.test.component
Class JaxrsSingletonTransformer
java.lang.Object
io.quarkus.test.component.JaxrsSingletonTransformer
- All Implemented Interfaces:
AnnotationsTransformer,BuildExtension
Add
Singleton to a JAX-RS component that has no scope annotation.-
Nested Class Summary
Nested classes/interfaces inherited from interface io.quarkus.arc.processor.AnnotationsTransformer
AnnotationsTransformer.AbstractBuilder<THIS extends AnnotationsTransformer.AbstractBuilder<THIS>>, AnnotationsTransformer.Builder, AnnotationsTransformer.ClassTransformerBuilder, AnnotationsTransformer.FieldTransformerBuilder, AnnotationsTransformer.MethodTransformerBuilder, AnnotationsTransformer.TransformationContextNested classes/interfaces inherited from interface io.quarkus.arc.processor.BuildExtension
BuildExtension.BuildContext, BuildExtension.Key<T extends Object>, BuildExtension.SimpleKey<V extends Object> -
Field Summary
Fields inherited from interface io.quarkus.arc.processor.BuildExtension
DEFAULT_PRIORITY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanappliesTo(org.jboss.jandex.AnnotationTarget.Kind kind) voidMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.quarkus.arc.processor.BuildExtension
getPriority, initialize
-
Constructor Details
-
JaxrsSingletonTransformer
public JaxrsSingletonTransformer()
-
-
Method Details
-
appliesTo
public boolean appliesTo(org.jboss.jandex.AnnotationTarget.Kind kind) - Specified by:
appliesToin interfaceAnnotationsTransformer
-
transform
- Specified by:
transformin interfaceAnnotationsTransformer
-