Class AnnotationImpl
java.lang.Object
org.jboss.as.connector.annotations.repository.jandex.AnnotationImpl
- All Implemented Interfaces:
org.jboss.jca.common.spi.annotations.repository.Annotation
public class AnnotationImpl
extends Object
implements org.jboss.jca.common.spi.annotations.repository.Annotation
An AnnotationImpl.
- Author:
- Stefano Maestri
-
Constructor Summary
ConstructorsConstructorDescriptionAnnotationImpl(String className, ClassLoader cl, List<String> parameterTypes, String memberName, boolean onMethod, boolean onField, Class<?> annotationClass) Create a new AnnotationImpl. -
Method Summary
-
Constructor Details
-
AnnotationImpl
public AnnotationImpl(String className, ClassLoader cl, List<String> parameterTypes, String memberName, boolean onMethod, boolean onField, Class<?> annotationClass) Create a new AnnotationImpl.- Parameters:
className- classNamecl- classloaderparameterTypes- parameterTypesmemberName- memberNameonMethod- onMethodonField- onFieldannotationClass- annotationClass
-
-
Method Details
-
getClassName
Get the className.- Specified by:
getClassNamein interfaceorg.jboss.jca.common.spi.annotations.repository.Annotation- Returns:
- the className.
-
getAnnotation
Get the annotation.- Specified by:
getAnnotationin interfaceorg.jboss.jca.common.spi.annotations.repository.Annotation- Returns:
- the annotation.
-
getParameterTypes
Get the parameterTypes.- Specified by:
getParameterTypesin interfaceorg.jboss.jca.common.spi.annotations.repository.Annotation- Returns:
- the parameterTypes.
-
getMemberName
Get the memberName.- Specified by:
getMemberNamein interfaceorg.jboss.jca.common.spi.annotations.repository.Annotation- Returns:
- the memberName.
-
isOnMethod
public final boolean isOnMethod()Get the onMethod.- Specified by:
isOnMethodin interfaceorg.jboss.jca.common.spi.annotations.repository.Annotation- Returns:
- the onMethod.
-
isOnField
public final boolean isOnField()Get the onField.- Specified by:
isOnFieldin interfaceorg.jboss.jca.common.spi.annotations.repository.Annotation- Returns:
- the onField.
-