Class WebServiceRefHandler
- java.lang.Object
-
- com.sun.enterprise.deployment.annotation.handlers.AbstractHandler
-
- org.glassfish.webservices.connector.annotation.handlers.WebServiceRefHandler
-
- All Implemented Interfaces:
AnnotationHandler
- Direct Known Subclasses:
WebServiceRefsHandler
@Service public class WebServiceRefHandler extends AbstractHandler
This annotation handler is responsible for processing the jakarta.jws.WebServiceRef annotation type.- 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 WebServiceRefHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<? extends Annotation>[]
getTypeDependencies()
HandlerProcessingResult
processAnnotation(AnnotationInfo annInfo)
Process a particular annotation which type is the same as the one returned by @see getAnnotationType().protected HandlerProcessingResult
processAWsRef(AnnotationInfo annInfo, jakarta.xml.ws.WebServiceRef annotation)
-
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:
getTypeDependencies
in interfaceAnnotationHandler
- Overrides:
getTypeDependencies
in 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.
-
processAWsRef
protected HandlerProcessingResult processAWsRef(AnnotationInfo annInfo, jakarta.xml.ws.WebServiceRef annotation) throws AnnotationProcessorException
- Throws:
AnnotationProcessorException
-
processAnnotation
public HandlerProcessingResult processAnnotation(AnnotationInfo annInfo) throws AnnotationProcessorException
Description copied from interface:AnnotationHandler
Process 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
-
-