Class ConfigPropertyHandler
- java.lang.Object
-
- com.sun.enterprise.deployment.annotation.handlers.AbstractHandler
-
- com.sun.enterprise.connectors.deployment.annotation.handlers.ConfigPropertyHandler
-
- All Implemented Interfaces:
AnnotationHandler
@Service public class ConfigPropertyHandler extends AbstractHandler
- Author:
- Jagadish Ramu
-
-
Field Summary
Fields Modifier and Type Field Description protected static LocalStringManagerImpl
localStrings
protected static Logger
logger
-
Fields inherited from class com.sun.enterprise.deployment.annotation.handlers.AbstractHandler
ejbProvider
-
Fields inherited from interface org.glassfish.apf.AnnotationHandler
ANNOTATION_HANDLER_METADATA
-
-
Constructor Summary
Constructors Constructor Description ConfigPropertyHandler()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected HandlerProcessingResult
getDefaultProcessedResult()
Class<? extends Annotation>[]
getTypeDependencies()
HandlerProcessingResult
handleConfigPropertyAnnotation(jakarta.resource.spi.ConfigProperty configProperty, AnnotationInfo element, ConnectorDescriptor desc)
HandlerProcessingResult
processAnnotation(AnnotationInfo element)
Process a particular annotation which type is the same as the one returned by @see getAnnotationType().static boolean
processConnector(ConnectorDescriptor desc, ConnectorConfigProperty ep, Class declaringClass)
static void
processParent(Class claz, Set configProperties)
-
Methods inherited from class com.sun.enterprise.deployment.annotation.handlers.AbstractHandler
getAnnotationType, getConnectorAnnotationTypes, getDefaultFailedResult, getEjbAndWebAnnotationTypes, getEjbAnnotationTypes, getInjectionMethodPropertyName, getInvalidAnnotatedElementHandlerResult, getOverallProcessingResult, getWebAnnotationTypes, log, validateInjectionMethod
-
-
-
-
Field Detail
-
localStrings
protected static final LocalStringManagerImpl localStrings
-
logger
protected static final Logger logger
-
-
Method Detail
-
processAnnotation
public HandlerProcessingResult processAnnotation(AnnotationInfo element) throws AnnotationProcessorException
Description copied from interface:AnnotationHandler
Process a particular annotation which type is the same as the one returned by @see getAnnotationType(). All information pertinent to the annotation and its context is encapsulated in the passed AnnotationInfo instance.- Parameters:
element
- the annotation information- Throws:
AnnotationProcessorException
-
handleConfigPropertyAnnotation
public HandlerProcessingResult handleConfigPropertyAnnotation(jakarta.resource.spi.ConfigProperty configProperty, AnnotationInfo element, ConnectorDescriptor desc)
-
processConnector
public static boolean processConnector(ConnectorDescriptor desc, ConnectorConfigProperty ep, Class declaringClass)
-
getDefaultProcessedResult
protected HandlerProcessingResult getDefaultProcessedResult()
- Overrides:
getDefaultProcessedResult
in classAbstractHandler
- Returns:
- a default processed result
-
getTypeDependencies
public Class<? extends Annotation>[] getTypeDependencies()
- Specified by:
getTypeDependencies
in interfaceAnnotationHandler
- Overrides:
getTypeDependencies
in classAbstractHandler
- Returns:
- an array of annotation types this annotation handler would require to be processed (if present) before it processes it's own annotation type.
-
-