Class HandlerChainHandler
- java.lang.Object
-
- com.sun.enterprise.deployment.annotation.handlers.AbstractHandler
-
- org.glassfish.webservices.connector.annotation.handlers.HandlerChainHandler
-
- All Implemented Interfaces:
AnnotationHandler
@Service public class HandlerChainHandler extends AbstractHandler
This handler takes care of the jakarta.jws.HandlerChain- Author:
- Jerome Dochez
-
-
Field Summary
-
Fields inherited from class com.sun.enterprise.deployment.annotation.handlers.AbstractHandler
ejbProvider, localStrings, logger
-
Fields inherited from interface org.glassfish.apf.AnnotationHandler
ANNOTATION_HANDLER_METADATA
-
-
Constructor Summary
Constructors Constructor Description HandlerChainHandler()Creates a new instance of HandlerChainHandler
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<? extends Annotation>[]getTypeDependencies()HandlerProcessingResultprocessAnnotation(AnnotationInfo annInfo)Process a particular annotation which type is the same as the one returned by @see getAnnotationType().HandlerProcessingResultprocessHandlerChainAnnotation(AnnotationInfo annInfo, AnnotatedElementHandler annCtx, AnnotatedElement annElem, Class declaringClass, boolean serviceSideChain)-
Methods inherited from class com.sun.enterprise.deployment.annotation.handlers.AbstractHandler
getAnnotationType, getConnectorAnnotationTypes, getDefaultFailedResult, getDefaultProcessedResult, getEjbAndWebAnnotationTypes, getEjbAnnotationTypes, getInjectionMethodPropertyName, getInvalidAnnotatedElementHandlerResult, getOverallProcessingResult, getWebAnnotationTypes, log, validateInjectionMethod
-
-
-
-
Method Detail
-
getTypeDependencies
public Class<? extends Annotation>[] getTypeDependencies()
- Specified by:
getTypeDependenciesin interfaceAnnotationHandler- Overrides:
getTypeDependenciesin classAbstractHandler- Returns:
- an array of annotation types this annotation handler would require to be processed (if present) before it processes it's own annotation type.
-
processAnnotation
public HandlerProcessingResult processAnnotation(AnnotationInfo annInfo) throws AnnotationProcessorException
Description copied from interface:AnnotationHandlerProcess a particular annotation which type is the same as the one returned by @see getAnnotationType(). All information pertinent to the annotation and its context is encapsulated in the passed AnnotationInfo instance.- Parameters:
annInfo- the annotation information- Throws:
AnnotationProcessorException
-
processHandlerChainAnnotation
public HandlerProcessingResult processHandlerChainAnnotation(AnnotationInfo annInfo, AnnotatedElementHandler annCtx, AnnotatedElement annElem, Class declaringClass, boolean serviceSideChain) throws AnnotationProcessorException
- Throws:
AnnotationProcessorException
-
-