|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.enterprise.deployment.annotation.handlers.AbstractHandler
com.sun.enterprise.deployment.annotation.handlers.PermitAllHandler
@Service public class PermitAllHandler
This handler is responsible for handling the javax.annotation.security.PermitAll.
| Field Summary |
|---|
| Fields inherited from class com.sun.enterprise.deployment.annotation.handlers.AbstractHandler |
|---|
ejbProvider, localStrings, logger |
| Constructor Summary | |
|---|---|
PermitAllHandler()
|
|
| Method Summary | |
|---|---|
java.lang.Class<? extends java.lang.annotation.Annotation> |
getAnnotationType()
|
java.lang.Class<? extends java.lang.annotation.Annotation>[] |
getTypeDependencies()
|
void |
postProcessAnnotation(AnnotationInfo ainfo,
EjbContext ejbContext)
This method is for processing security annotation associated to ejb. |
HandlerProcessingResult |
processAnnotation(AnnotationInfo ainfo)
Process a particular annotation which type is the same as the one returned by @see getAnnotationType(). |
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(java.lang.annotation.Annotation authAnnoation,
MethodDescriptor md,
EjbDescriptor ejbDesc)
This method processes the EJB Security for the given Annotation. |
protected java.lang.Class<? extends java.lang.annotation.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. |
| 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 |
| Constructor Detail |
|---|
public PermitAllHandler()
| Method Detail |
|---|
public java.lang.Class<? extends java.lang.annotation.Annotation> getAnnotationType()
protected void processEjbMethodSecurity(java.lang.annotation.Annotation authAnnoation,
MethodDescriptor md,
EjbDescriptor ejbDesc)
public java.lang.Class<? extends java.lang.annotation.Annotation>[] getTypeDependencies()
getTypeDependencies in interface AnnotationHandlergetTypeDependencies in class AbstractHandlerprotected java.lang.Class<? extends java.lang.annotation.Annotation>[] relatedAnnotationTypes()
protected HandlerProcessingResult processAnnotation(AnnotationInfo ainfo,
EjbContext[] ejbContexts)
throws AnnotationProcessorException
ainfo - ejbContexts -
AnnotationProcessorException
protected HandlerProcessingResult processAnnotation(AnnotationInfo ainfo,
WebComponentContext[] webCompContexts)
throws AnnotationProcessorException
ainfo - webCompContexts -
AnnotationProcessorException
protected HandlerProcessingResult processAnnotation(AnnotationInfo ainfo,
WebBundleContext webBundleContext)
throws AnnotationProcessorException
ainfo - webBundleContext -
AnnotationProcessorException
public void postProcessAnnotation(AnnotationInfo ainfo,
EjbContext ejbContext)
throws AnnotationProcessorException
postProcessAnnotation in interface PostProcessor<EjbContext>AnnotationProcessorExceptionprotected boolean supportTypeInheritance()
public HandlerProcessingResult processAnnotation(AnnotationInfo ainfo)
throws AnnotationProcessorException
ainfo - the annotation information
AnnotationProcessorException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||