org.glassfish.webservices.connector.annotation.handlers
Class HandlerChainHandler

java.lang.Object
  extended by com.sun.enterprise.deployment.annotation.handlers.AbstractHandler
      extended by org.glassfish.webservices.connector.annotation.handlers.HandlerChainHandler
All Implemented Interfaces:
AnnotationHandler

@Service
public class HandlerChainHandler
extends AbstractHandler

This handler takes care of the javax.jws.HandlerChain

Author:
Jerome Dochez

Field Summary
 
Fields inherited from class com.sun.enterprise.deployment.annotation.handlers.AbstractHandler
ejbProvider, localStrings, logger
 
Constructor Summary
HandlerChainHandler()
          Creates a new instance of HandlerChainHandler
 
Method Summary
 java.lang.Class<? extends java.lang.annotation.Annotation> getAnnotationType()
           
 java.lang.Class<? extends java.lang.annotation.Annotation>[] getTypeDependencies()
           
 HandlerProcessingResult processAnnotation(AnnotationInfo annInfo)
           
 HandlerProcessingResult processHandlerChainAnnotation(AnnotationInfo annInfo, AnnotatedElementHandler annCtx, java.lang.reflect.AnnotatedElement annElem, java.lang.Class declaringClass, boolean serviceSideChain)
           
 
Methods inherited from class com.sun.enterprise.deployment.annotation.handlers.AbstractHandler
getConnectorAnnotationTypes, getDefaultFailedResult, getDefaultProcessedResult, getEjbAndWebAnnotationTypes, getEjbAnnotationTypes, getInjectionMethodPropertyName, getInvalidAnnotatedElementHandlerResult, getOverallProcessingResult, getWebAnnotationTypes, log, validateInjectionMethod
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HandlerChainHandler

public HandlerChainHandler()
Creates a new instance of HandlerChainHandler

Method Detail

getAnnotationType

public java.lang.Class<? extends java.lang.annotation.Annotation> getAnnotationType()

getTypeDependencies

public java.lang.Class<? extends java.lang.annotation.Annotation>[] getTypeDependencies()
Specified by:
getTypeDependencies in interface AnnotationHandler
Overrides:
getTypeDependencies in class AbstractHandler
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
Throws:
AnnotationProcessorException

processHandlerChainAnnotation

public HandlerProcessingResult processHandlerChainAnnotation(AnnotationInfo annInfo,
                                                             AnnotatedElementHandler annCtx,
                                                             java.lang.reflect.AnnotatedElement annElem,
                                                             java.lang.Class declaringClass,
                                                             boolean serviceSideChain)
                                                      throws AnnotationProcessorException
Throws:
AnnotationProcessorException


Copyright © 2012 GlassFish Community. All Rights Reserved.