@Service public class RolesAllowedHandler extends AbstractCommonAttributeHandler
ejbProvider, localStrings, logger| Constructor and Description |
|---|
RolesAllowedHandler() |
| Modifier and Type | Method and Description |
|---|---|
Class<? extends Annotation>[] |
getTypeDependencies() |
void |
postProcessAnnotation(org.glassfish.apf.AnnotationInfo ainfo,
EjbContext ejbContext)
This method is for processing security annotation associated to ejb.
|
protected org.glassfish.apf.HandlerProcessingResult |
processAnnotation(org.glassfish.apf.AnnotationInfo ainfo,
EjbContext[] ejbContexts)
Process Annotation with given EjbContexts.
|
protected org.glassfish.apf.HandlerProcessingResult |
processAnnotation(org.glassfish.apf.AnnotationInfo ainfo,
WebBundleContext webBundleContext)
Process Annotation with given WebBundleContext.
|
protected org.glassfish.apf.HandlerProcessingResult |
processAnnotation(org.glassfish.apf.AnnotationInfo ainfo,
WebComponentContext[] webCompContexts)
Process Annotation with given WebCompContexts.
|
protected void |
processEjbMethodSecurity(Annotation authAnnotation,
MethodDescriptor md,
EjbDescriptor ejbDesc)
Add roles and permissions to given method in EjbDescriptor.
|
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.
|
processAnnotationgetAnnotationType, getConnectorAnnotationTypes, getDefaultFailedResult, getDefaultProcessedResult, getEjbAndWebAnnotationTypes, getEjbAnnotationTypes, getInjectionMethodPropertyName, getInvalidAnnotatedElementHandlerResult, getOverallProcessingResult, getWebAnnotationTypes, log, validateInjectionMethodprotected void processEjbMethodSecurity(Annotation authAnnotation, MethodDescriptor md, EjbDescriptor ejbDesc)
annotation - ejbDesc - md - public Class<? extends Annotation>[] getTypeDependencies()
getTypeDependencies in interface org.glassfish.apf.AnnotationHandlergetTypeDependencies in class AbstractHandlerprotected Class<? extends Annotation>[] relatedAnnotationTypes()
protected org.glassfish.apf.HandlerProcessingResult processAnnotation(org.glassfish.apf.AnnotationInfo ainfo,
EjbContext[] ejbContexts)
throws org.glassfish.apf.AnnotationProcessorException
processAnnotation in class AbstractCommonAttributeHandlerainfo - ejbContexts - org.glassfish.apf.AnnotationProcessorExceptionprotected org.glassfish.apf.HandlerProcessingResult processAnnotation(org.glassfish.apf.AnnotationInfo ainfo,
WebComponentContext[] webCompContexts)
throws org.glassfish.apf.AnnotationProcessorException
processAnnotation in class AbstractCommonAttributeHandlerainfo - webCompContexts - org.glassfish.apf.AnnotationProcessorExceptionprotected org.glassfish.apf.HandlerProcessingResult processAnnotation(org.glassfish.apf.AnnotationInfo ainfo,
WebBundleContext webBundleContext)
throws org.glassfish.apf.AnnotationProcessorException
processAnnotation in class AbstractCommonAttributeHandlerainfo - webBundleContext - org.glassfish.apf.AnnotationProcessorExceptionpublic void postProcessAnnotation(org.glassfish.apf.AnnotationInfo ainfo,
EjbContext ejbContext)
throws org.glassfish.apf.AnnotationProcessorException
postProcessAnnotation in interface PostProcessor<EjbContext>org.glassfish.apf.AnnotationProcessorExceptionprotected boolean supportTypeInheritance()
AbstractCommonAttributeHandlersupportTypeInheritance in class AbstractCommonAttributeHandlerCopyright © 2013. All Rights Reserved.