| java.lang.Object org.apache.geronimo.j2ee.deployment.annotation.AnnotationHelper org.apache.geronimo.j2ee.deployment.annotation.ResourceAnnotationHelper
ResourceAnnotationHelper | final public class ResourceAnnotationHelper extends AnnotationHelper (Code) | | Static helper class used to encapsulate all the functions related to the translation of
@Resource and @Resources annotations to deployment descriptor
tags. The ResourceAnnotationHelper class can be used as part of the deployment of a module into
the Geronimo server. It performs the following major functions:
- Translates annotations into corresponding deployment descriptor elements (so that the
actual deployment descriptor in the module can be updated or even created if necessary)
Note(s):
- The user is responsible for invoking change to metadata-complete
- This helper class will validate any changes it makes to the deployment descriptor. An
exception will be thrown if it fails to parse
Remaining ToDo(s):
version: $Rev: 525609 $ $Date: 2007-04-04 14:20:03 -0700 (Wed, 04 Apr 2007) $ since: 02-2007 |
Inner Class :abstract public static class ResourceProcessor extends AnnotationHelper | |
processAnnotations | public static void processAnnotations(AnnotatedApp annotatedApp, ClassFinder classFinder, ResourceProcessor resourceProcessor) throws Exception(Code) | | Update the deployment descriptor from Resource and Resources annotations
throws: Exception - if parsing or validation error |
|
|