Package io.quarkus.test.component
Class JaxrsSingletonTransformer
java.lang.Object
io.quarkus.test.component.JaxrsSingletonTransformer
- All Implemented Interfaces:
AnnotationsTransformer,BuildExtension,org.jboss.jandex.AnnotationTransformation
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 org.jboss.jandex.AnnotationTransformation
org.jboss.jandex.AnnotationTransformation.ClassBuilder, org.jboss.jandex.AnnotationTransformation.DeclarationBuilder, org.jboss.jandex.AnnotationTransformation.FieldBuilder, org.jboss.jandex.AnnotationTransformation.MethodBuilder, org.jboss.jandex.AnnotationTransformation.MethodParameterBuilder, org.jboss.jandex.AnnotationTransformation.RecordComponentBuilderNested 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 org.jboss.jandex.AnnotationTransformation
DEFAULT_PRIORITY_VALUEFields 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.AnnotationsTransformer
apply, priority, requiresCompatibleMode, supportsMethods 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
-