com.sun.enterprise.deployment.annotation.handlers
Class DataSourceDefinitionHandler
java.lang.Object
com.sun.enterprise.deployment.annotation.handlers.AbstractHandler
com.sun.enterprise.deployment.annotation.handlers.AbstractResourceHandler
com.sun.enterprise.deployment.annotation.handlers.DataSourceDefinitionHandler
- All Implemented Interfaces:
- AnnotationHandler
@Service
public class DataSourceDefinitionHandler
- extends AbstractResourceHandler
- Author:
- Jagadish Ramu
| 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 |
DataSourceDefinitionHandler
public DataSourceDefinitionHandler()
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,
ResourceContainerContext[] rcContexts)
throws AnnotationProcessorException
- Description copied from class:
AbstractResourceHandler
- Process Annotation with given ResourceContainerContexts.
- Specified by:
processAnnotation in class AbstractResourceHandler
- Throws:
AnnotationProcessorException
processAnnotation
protected HandlerProcessingResult processAnnotation(DataSourceDefinition dataSourceDefnAn,
AnnotationInfo aiInfo,
ResourceContainerContext[] rcContexts)
throws AnnotationProcessorException
- Throws:
AnnotationProcessorException
getTypeDependencies
public java.lang.Class<? extends java.lang.annotation.Annotation>[] getTypeDependencies()
- Specified by:
getTypeDependencies in interface AnnotationHandler- Overrides:
getTypeDependencies in class AbstractResourceHandler
- 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.