Class BooleanAnnotationInformationFactory<T extends Annotation>
- java.lang.Object
-
- org.jboss.as.ee.metadata.ClassAnnotationInformationFactory<T,Boolean>
-
- org.jboss.as.ee.component.deployers.BooleanAnnotationInformationFactory<T>
-
public class BooleanAnnotationInformationFactory<T extends Annotation> extends ClassAnnotationInformationFactory<T,Boolean>
An annotation information factory that simply returns true if the annotation is present- Author:
- Stuart Douglas
-
-
Constructor Summary
Constructors Constructor Description BooleanAnnotationInformationFactory(Class<T> annotationType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Boolean
fromAnnotation(org.jboss.jandex.AnnotationInstance annotationInstance, org.jboss.metadata.property.PropertyReplacer propertyReplacer)
-
Methods inherited from class org.jboss.as.ee.metadata.ClassAnnotationInformationFactory
createAnnotationInformation, fromMultiAnnotation, getAnnotationType, getMultiAnnotationType
-
-
-
-
Method Detail
-
fromAnnotation
protected Boolean fromAnnotation(org.jboss.jandex.AnnotationInstance annotationInstance, org.jboss.metadata.property.PropertyReplacer propertyReplacer)
- Specified by:
fromAnnotation
in classClassAnnotationInformationFactory<T extends Annotation,Boolean>
-
-