@Service public class PermitAllHandler extends AbstractCommonAttributeHandler
ejbProvider, localStrings, logger
ANNOTATION_HANDLER_METADATA
Constructor and Description |
---|
PermitAllHandler() |
Modifier and Type | Method and Description |
---|---|
Class<? extends Annotation>[] |
getTypeDependencies() |
void |
postProcessAnnotation(AnnotationInfo ainfo,
EjbContext ejbContext)
This method is for processing security annotation associated to ejb.
|
protected HandlerProcessingResult |
processAnnotation(AnnotationInfo ainfo,
EjbContext[] ejbContexts)
Process Annotation with given EjbContexts.
|
protected HandlerProcessingResult |
processAnnotation(AnnotationInfo ainfo,
WebBundleContext webBundleContext)
Process Annotation with given WebBundleContext.
|
protected HandlerProcessingResult |
processAnnotation(AnnotationInfo ainfo,
WebComponentContext[] webCompContexts)
Process Annotation with given WebCompContexts.
|
protected void |
processEjbMethodSecurity(Annotation authAnnoation,
MethodDescriptor md,
EjbDescriptor ejbDesc)
This method processes the EJB Security for the given Annotation.
|
protected Class<? extends Annotation>[] |
relatedAnnotationTypes()
This method returns a list of related annotation types.
|
protected boolean |
supportTypeInheritance()
This indicates whether the annotation type should be processed for
type level in super-class.
|
processAnnotation
getAnnotationType, getConnectorAnnotationTypes, getDefaultFailedResult, getDefaultProcessedResult, getEjbAndWebAnnotationTypes, getEjbAnnotationTypes, getInjectionMethodPropertyName, getInvalidAnnotatedElementHandlerResult, getOverallProcessingResult, getWebAnnotationTypes, log, validateInjectionMethod
protected void processEjbMethodSecurity(Annotation authAnnoation, MethodDescriptor md, EjbDescriptor ejbDesc)
public Class<? extends Annotation>[] getTypeDependencies()
getTypeDependencies
in interface AnnotationHandler
getTypeDependencies
in class AbstractHandler
protected Class<? extends Annotation>[] relatedAnnotationTypes()
protected HandlerProcessingResult processAnnotation(AnnotationInfo ainfo, EjbContext[] ejbContexts) throws AnnotationProcessorException
processAnnotation
in class AbstractCommonAttributeHandler
ainfo
- ejbContexts
- AnnotationProcessorException
protected HandlerProcessingResult processAnnotation(AnnotationInfo ainfo, WebComponentContext[] webCompContexts) throws AnnotationProcessorException
processAnnotation
in class AbstractCommonAttributeHandler
ainfo
- webCompContexts
- AnnotationProcessorException
protected HandlerProcessingResult processAnnotation(AnnotationInfo ainfo, WebBundleContext webBundleContext) throws AnnotationProcessorException
processAnnotation
in class AbstractCommonAttributeHandler
ainfo
- webBundleContext
- AnnotationProcessorException
public void postProcessAnnotation(AnnotationInfo ainfo, EjbContext ejbContext) throws AnnotationProcessorException
postProcessAnnotation
in interface PostProcessor<EjbContext>
AnnotationProcessorException
protected boolean supportTypeInheritance()
AbstractCommonAttributeHandler
supportTypeInheritance
in class AbstractCommonAttributeHandler
Copyright © 2019. All rights reserved.