org.apache.geronimo.j2ee.deployment.annotation
Class AnnotationHelper

java.lang.Object
  extended by org.apache.geronimo.j2ee.deployment.annotation.AnnotationHelper
Direct Known Subclasses:
HandlerChainAnnotationHelper, PersistenceContextAnnotationHelper, PersistenceUnitAnnotationHelper, ResourceAnnotationHelper, ResourceAnnotationHelper.ResourceProcessor, SecurityAnnotationHelper, WebServiceRefAnnotationHelper

public class AnnotationHelper
extends Object


Constructor Summary
AnnotationHelper()
           
 
Method Summary
protected static void configureInjectionTarget(org.apache.geronimo.xbeans.javaee.InjectionTargetType injectionTarget, Method method, Field field)
          Configure Injection Target
protected static String getInjectionClass(Method method, Field field)
           
protected static String getInjectionJavaType(Method method, Field field)
           
protected static boolean hasTarget(Method method, Field field, org.apache.geronimo.xbeans.javaee.InjectionTargetType[] targets)
           
protected static void validateDD(AnnotatedApp annotatedApp)
          Validate deployment descriptor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnnotationHelper

public AnnotationHelper()
Method Detail

getInjectionJavaType

protected static String getInjectionJavaType(Method method,
                                             Field field)

getInjectionClass

protected static String getInjectionClass(Method method,
                                          Field field)

hasTarget

protected static boolean hasTarget(Method method,
                                   Field field,
                                   org.apache.geronimo.xbeans.javaee.InjectionTargetType[] targets)

configureInjectionTarget

protected static void configureInjectionTarget(org.apache.geronimo.xbeans.javaee.InjectionTargetType injectionTarget,
                                               Method method,
                                               Field field)
Configure Injection Target

Parameters:
injectionTarget -
method -
field -

validateDD

protected static void validateDD(AnnotatedApp annotatedApp)
                          throws DeploymentException
Validate deployment descriptor

Parameters:
annotatedApp - the wrapped deployment descriptor
Throws:
DeploymentException - thrown if deployment descriptor cannot be parsed


Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.