|
||||||||||
| 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.DeclareRolesHandler
@Service public class DeclareRolesHandler
This handler is responsible for handling the javax.annotation.security.DeclareRoles.
| Field Summary |
|---|
| Fields inherited from class com.sun.enterprise.deployment.annotation.handlers.AbstractHandler |
|---|
ejbProvider, localStrings, logger |
| Constructor Summary | |
|---|---|
DeclareRolesHandler()
|
|
| Method Summary | |
|---|---|
java.lang.Class<? extends java.lang.annotation.Annotation> |
getAnnotationType()
|
java.lang.Class<? extends java.lang.annotation.Annotation>[] |
getTypeDependencies()
|
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 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 DeclareRolesHandler()
| Method Detail |
|---|
public java.lang.Class<? extends java.lang.annotation.Annotation> getAnnotationType()
protected HandlerProcessingResult processAnnotation(AnnotationInfo ainfo,
EjbContext[] ejbContexts)
throws AnnotationProcessorException
AnnotationProcessorException
protected HandlerProcessingResult processAnnotation(AnnotationInfo ainfo,
WebComponentContext[] webCompContexts)
throws AnnotationProcessorException
AnnotationProcessorException
protected HandlerProcessingResult processAnnotation(AnnotationInfo ainfo,
WebBundleContext webBundleContext)
throws AnnotationProcessorException
AnnotationProcessorExceptionpublic java.lang.Class<? extends java.lang.annotation.Annotation>[] getTypeDependencies()
getTypeDependencies in interface AnnotationHandlergetTypeDependencies in class AbstractHandlerprotected 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 | |||||||||