com.sun.enterprise.deployment.annotation.handlers
Class ResourcesHandler

java.lang.Object
  extended by com.sun.enterprise.deployment.annotation.handlers.AbstractHandler
      extended by com.sun.enterprise.deployment.annotation.handlers.AbstractResourceHandler
          extended by com.sun.enterprise.deployment.annotation.handlers.ResourceHandler
              extended by com.sun.enterprise.deployment.annotation.handlers.ResourcesHandler
All Implemented Interfaces:
AnnotationHandler

@Service
public class ResourcesHandler
extends ResourceHandler

This handler is responsible for handling javax.annotation.Resources


Field Summary
 
Fields inherited from class com.sun.enterprise.deployment.annotation.handlers.AbstractHandler
ejbProvider, localStrings, logger
 
Constructor Summary
ResourcesHandler()
           
 
Method Summary
 java.lang.Class<? extends java.lang.annotation.Annotation> getAnnotationType()
           
protected  HandlerProcessingResult processAnnotation(AnnotationInfo ainfo, ResourceContainerContext[] rcContexts)
          This entry point is used both for a single @EJB and iteratively from a compound @EJBs processor.
 
Methods inherited from class com.sun.enterprise.deployment.annotation.handlers.ResourceHandler
processResource
 
Methods inherited from class com.sun.enterprise.deployment.annotation.handlers.AbstractResourceHandler
getTypeDependencies, processAnnotation
 
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

ResourcesHandler

public ResourcesHandler()
Method Detail

getAnnotationType

public java.lang.Class<? extends java.lang.annotation.Annotation> getAnnotationType()
Specified by:
getAnnotationType in interface AnnotationHandler
Overrides:
getAnnotationType in class ResourceHandler
Returns:
the annoation type this annotation handler is handling

processAnnotation

protected HandlerProcessingResult processAnnotation(AnnotationInfo ainfo,
                                                    ResourceContainerContext[] rcContexts)
                                             throws AnnotationProcessorException
This entry point is used both for a single @EJB and iteratively from a compound @EJBs processor.

Overrides:
processAnnotation in class ResourceHandler
Throws:
AnnotationProcessorException


Copyright © 2012 GlassFish Community. All Rights Reserved.