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 -
Method Summary
Modifier and TypeMethodDescriptionprotected BooleanfromAnnotation(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
-
Constructor Details
-
BooleanAnnotationInformationFactory
-
-
Method Details
-
fromAnnotation
protected Boolean fromAnnotation(org.jboss.jandex.AnnotationInstance annotationInstance, org.jboss.metadata.property.PropertyReplacer propertyReplacer) - Specified by:
fromAnnotationin classClassAnnotationInformationFactory<T extends Annotation,Boolean>
-