|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.enterprise.deployment.annotation.handlers.AbstractHandler
com.sun.enterprise.deployment.annotation.handlers.AbstractResourceHandler
com.sun.enterprise.deployment.annotation.handlers.ResourceHandler
@Service public class ResourceHandler
This handler is responsible for handling the javax.annotation.Resource annotation.
| Field Summary |
|---|
| Fields inherited from class com.sun.enterprise.deployment.annotation.handlers.AbstractHandler |
|---|
ejbProvider, localStrings, logger |
| Constructor Summary | |
|---|---|
ResourceHandler()
|
|
| 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 @Resource and iteratively from a compound @Resources processor. |
protected HandlerProcessingResult |
processResource(AnnotationInfo ainfo,
ResourceContainerContext[] rcContexts,
Resource resourceAn)
|
| 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 |
|---|
public ResourceHandler()
| Method Detail |
|---|
public java.lang.Class<? extends java.lang.annotation.Annotation> getAnnotationType()
protected HandlerProcessingResult processAnnotation(AnnotationInfo ainfo,
ResourceContainerContext[] rcContexts)
throws AnnotationProcessorException
processAnnotation in class AbstractResourceHandlerAnnotationProcessorException
protected HandlerProcessingResult processResource(AnnotationInfo ainfo,
ResourceContainerContext[] rcContexts,
Resource resourceAn)
throws AnnotationProcessorException
AnnotationProcessorException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||