org.apache.geronimo.j2ee.deployment.annotation
Class AnnotationHelper
java.lang.Object
org.apache.geronimo.j2ee.deployment.annotation.AnnotationHelper
- Direct Known Subclasses:
- HandlerChainAnnotationHelper, PersistenceContextAnnotationHelper, PersistenceUnitAnnotationHelper, ResourceAnnotationHelper, ResourceAnnotationHelper.ResourceProcessor, SecurityAnnotationHelper, WebServiceRefAnnotationHelper
public class AnnotationHelper
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AnnotationHelper
public AnnotationHelper()
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.