Class RarBundleContext
- java.lang.Object
-
- org.glassfish.apf.context.AnnotationContext
-
- com.sun.enterprise.deployment.annotation.context.RarBundleContext
-
- All Implemented Interfaces:
AnnotatedElementHandler
public class RarBundleContext extends AnnotationContext
-
-
Constructor Summary
Constructors Constructor Description RarBundleContext(ConnectorDescriptor desc)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidendElement(ElementType type, AnnotatedElement element)After annotations for an annotated element are processed, the endElement is called with the annotated element value and its typeConnectorDescriptorgetDescriptor()ProcessingContextgetProcessingContext()voidsetProcessingContext(ProcessingContext processingContext)voidstartElement(ElementType type, AnnotatedElement element)Before annotations for an annotated element are processed, the startElement is called with the annotated element value and its type
-
-
-
Constructor Detail
-
RarBundleContext
public RarBundleContext(ConnectorDescriptor desc)
-
-
Method Detail
-
getDescriptor
public ConnectorDescriptor getDescriptor()
-
setProcessingContext
public void setProcessingContext(ProcessingContext processingContext)
- Overrides:
setProcessingContextin classAnnotationContext
-
getProcessingContext
public ProcessingContext getProcessingContext()
- Overrides:
getProcessingContextin classAnnotationContext
-
startElement
public void startElement(ElementType type, AnnotatedElement element) throws AnnotationProcessorException
Description copied from interface:AnnotatedElementHandlerBefore annotations for an annotated element are processed, the startElement is called with the annotated element value and its type- Specified by:
startElementin interfaceAnnotatedElementHandler- Overrides:
startElementin classAnnotationContext- Parameters:
type- the annotated element type (class, field, method...)element- the annotated element we are starting to visit.- Throws:
AnnotationProcessorException
-
endElement
public void endElement(ElementType type, AnnotatedElement element) throws AnnotationProcessorException
Description copied from interface:AnnotatedElementHandlerAfter annotations for an annotated element are processed, the endElement is called with the annotated element value and its type- Specified by:
endElementin interfaceAnnotatedElementHandler- Overrides:
endElementin classAnnotationContext- Parameters:
type- the annotated element type (class, field, method...)element- the annotated element we are done visiting.- Throws:
AnnotationProcessorException
-
-