org.glassfish.ejb.deployment.annotation.handlers
Class RemoveHandler

java.lang.Object
  extended by com.sun.enterprise.deployment.annotation.handlers.AbstractHandler
      extended by org.glassfish.ejb.deployment.annotation.handlers.AbstractAttributeHandler
          extended by org.glassfish.ejb.deployment.annotation.handlers.RemoveHandler
All Implemented Interfaces:
AnnotationHandler

@Service
public class RemoveHandler
extends AbstractAttributeHandler

This handler is responsible for handling the javax.ejb.Remove attribute


Field Summary
 
Fields inherited from class com.sun.enterprise.deployment.annotation.handlers.AbstractHandler
ejbProvider, localStrings, logger
 
Constructor Summary
RemoveHandler()
           
 
Method Summary
 java.lang.Class<? extends java.lang.annotation.Annotation> getAnnotationType()
           
 java.lang.Class<? extends java.lang.annotation.Annotation>[] getTypeDependencies()
           
protected  HandlerProcessingResult processAnnotation(AnnotationInfo ainfo, EjbContext[] ejbContexts)
          Process Annotation with given EjbContexts.
 
Methods inherited from class org.glassfish.ejb.deployment.annotation.handlers.AbstractAttributeHandler
isDelegatee, processAnnotation, processAnnotation, supportTypeInheritance
 
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

RemoveHandler

public RemoveHandler()
Method Detail

getAnnotationType

public java.lang.Class<? extends java.lang.annotation.Annotation> getAnnotationType()
Returns:
the annoation type this annotation handler is handling

processAnnotation

protected HandlerProcessingResult processAnnotation(AnnotationInfo ainfo,
                                                    EjbContext[] ejbContexts)
                                             throws AnnotationProcessorException
Description copied from class: AbstractAttributeHandler
Process Annotation with given EjbContexts.

Specified by:
processAnnotation in class AbstractAttributeHandler
Returns:
HandlerProcessingResult
Throws:
AnnotationProcessorException

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.


Copyright © 2012 GlassFish Community. All Rights Reserved.