Package org.glassfish.apf
Interface AnnotatedElementHandler
-
- All Known Implementing Classes:
AnnotationContext
,AppClientContext
,EjbBundleContext
,EjbContext
,EjbInterceptorContext
,EjbsContext
,ManagedBeanContext
,RarBundleContext
,ResourceContainerContextImpl
,WebBundleContext
,WebComponentContext
,WebComponentsContext
public interface AnnotatedElementHandler
Provides notification when the annotation processor is visiting a new AnnotatedElement.- Author:
- Jerome Dochez
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
endElement(ElementType type, AnnotatedElement element)
After annotations for an annotated element are processed, the endElement is called with the annotated element value and its typevoid
startElement(ElementType type, AnnotatedElement element)
Before annotations for an annotated element are processed, the startElement is called with the annotated element value and its type
-
-
-
Method Detail
-
startElement
void startElement(ElementType type, AnnotatedElement element) throws AnnotationProcessorException
Before annotations for an annotated element are processed, the startElement is called with the annotated element value and its type- Parameters:
type
- the annotated element type (class, field, method...)element
- the annotated element we are starting to visit.- Throws:
AnnotationProcessorException
-
endElement
void endElement(ElementType type, AnnotatedElement element) throws AnnotationProcessorException
After annotations for an annotated element are processed, the endElement is called with the annotated element value and its type- Parameters:
type
- the annotated element type (class, field, method...)element
- the annotated element we are done visiting.- Throws:
AnnotationProcessorException
-
-