Class AdministeredObjectHandler
- java.lang.Object
-
- com.sun.enterprise.deployment.annotation.handlers.AbstractHandler
-
- com.sun.enterprise.connectors.deployment.annotation.handlers.AdministeredObjectHandler
-
- All Implemented Interfaces:
AnnotationHandler
@Service public class AdministeredObjectHandler extends AbstractHandler
Jagadish Ramu
-
-
Field Summary
Fields Modifier and Type Field Description protected static LocalStringManagerImpllocalStrings-
Fields inherited from class com.sun.enterprise.deployment.annotation.handlers.AbstractHandler
ejbProvider, logger
-
Fields inherited from interface org.glassfish.apf.AnnotationHandler
ANNOTATION_HANDLER_METADATA
-
-
Constructor Summary
Constructors Constructor Description AdministeredObjectHandler()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static List<Class>deriveAdminObjectInterfacesFromHierarchy(Class c)protected HandlerProcessingResultgetDefaultProcessedResult()Class<? extends Annotation>[]getTypeDependencies()HandlerProcessingResultprocessAnnotation(AnnotationInfo element)Process a particular annotation which type is the same as the one returned by @see getAnnotationType().-
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
-
-
Method Detail
-
processAnnotation
public HandlerProcessingResult processAnnotation(AnnotationInfo element) throws AnnotationProcessorException
Description copied from interface:AnnotationHandlerProcess 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
-
deriveAdminObjectInterfacesFromHierarchy
public static List<Class> deriveAdminObjectInterfacesFromHierarchy(Class c)
-
getTypeDependencies
public Class<? extends Annotation>[] getTypeDependencies()
- Specified by:
getTypeDependenciesin interfaceAnnotationHandler- Overrides:
getTypeDependenciesin 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.
-
getDefaultProcessedResult
protected HandlerProcessingResult getDefaultProcessedResult()
- Overrides:
getDefaultProcessedResultin classAbstractHandler- Returns:
- a default processed result
-
-