Home » geronimo-2.2-source-release » org.apache.geronimo.j2ee.deployment.annotation » [javadoc | source]
org.apache.geronimo.j2ee.deployment.annotation
abstract public static class: ResourceAnnotationHelper.ResourceProcessor [javadoc | source]
java.lang.Object
   org.apache.geronimo.j2ee.deployment.annotation.AnnotationHelper
      org.apache.geronimo.j2ee.deployment.annotation.ResourceAnnotationHelper$ResourceProcessor

Direct Known Subclasses:
    EnvEntryRefProcessor, ManagedResourceRefProcessor, ServiceRefProcessor, ResourceRefProcessor, AdminObjectRefProcessor

Method from org.apache.geronimo.j2ee.deployment.annotation.ResourceAnnotationHelper$ResourceProcessor Summary:
getResourceName,   getResourceType,   processResource
Methods from org.apache.geronimo.j2ee.deployment.annotation.AnnotationHelper:
configureInjectionTarget,   getInjectionClass,   getInjectionJavaType,   getName,   hasTarget,   validateDD
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.geronimo.j2ee.deployment.annotation.ResourceAnnotationHelper$ResourceProcessor Detail:
 protected static String getResourceName(Resource annotation,
    Method method,
    Field field) 
    Resource name: -- When annotation is applied on a class: Name must be provided (cannot be inferred) -- When annotation is applied on a method: Name is JavaBeans property name qualified by the class (or as provided on the annotation) -- When annotation is applied on a field: Name is the field name qualified by the class (or as provided on the annotation)
 protected static String getResourceType(Resource annotation,
    Method method,
    Field field) 
 abstract public boolean processResource(AnnotatedApp annotatedApp,
    Resource annotation,
    Class cls,
    Method method,
    Field field) throws DeploymentException