com.sun.enterprise.deployment.annotation.handlers
Class AuthenticationMechanismHandler

java.lang.Object
  extended by com.sun.enterprise.deployment.annotation.handlers.AbstractHandler
      extended by com.sun.enterprise.deployment.annotation.handlers.AuthenticationMechanismHandler
All Implemented Interfaces:
AnnotationHandler

@Service
public class AuthenticationMechanismHandler
extends AbstractHandler

Author:
Jagadish Ramu

Field Summary
protected static LocalStringManagerImpl localStrings
           
 
Fields inherited from class com.sun.enterprise.deployment.annotation.handlers.AbstractHandler
ejbProvider, logger
 
Constructor Summary
AuthenticationMechanismHandler()
           
 
Method Summary
 java.lang.Class<? extends java.lang.annotation.Annotation> getAnnotationType()
           
 int getAuthMechVal(java.lang.String value)
          Set the authentication mechanism value.
protected  HandlerProcessingResult getDefaultProcessedResult()
           
 java.lang.Class<? extends java.lang.annotation.Annotation>[] getTypeDependencies()
           
 HandlerProcessingResult processAnnotation(AnnotationInfo element)
           
 
Methods inherited from class com.sun.enterprise.deployment.annotation.handlers.AbstractHandler
getConnectorAnnotationTypes, getDefaultFailedResult, 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
 

Field Detail

localStrings

protected static final LocalStringManagerImpl localStrings
Constructor Detail

AuthenticationMechanismHandler

public AuthenticationMechanismHandler()
Method Detail

getAnnotationType

public java.lang.Class<? extends java.lang.annotation.Annotation> getAnnotationType()

processAnnotation

public HandlerProcessingResult processAnnotation(AnnotationInfo element)
                                          throws AnnotationProcessorException
Throws:
AnnotationProcessorException

getTypeDependencies

public java.lang.Class<? extends java.lang.annotation.Annotation>[] getTypeDependencies()
Specified by:
getTypeDependencies in interface AnnotationHandler
Overrides:
getTypeDependencies in class AbstractHandler
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:
getDefaultProcessedResult in class AbstractHandler
Returns:
a default processed result

getAuthMechVal

public int getAuthMechVal(java.lang.String value)
Set the authentication mechanism value.



Copyright © 2012 GlassFish Community. All Rights Reserved.