Home » geronimo-2.2-source-release » org.apache.geronimo.j2ee.deployment.annotation » [javadoc | source]
org.apache.geronimo.j2ee.deployment.annotation
public final class: PersistenceUnitAnnotationHelper [javadoc | source]
java.lang.Object
   org.apache.geronimo.j2ee.deployment.annotation.AnnotationHelper
      org.apache.geronimo.j2ee.deployment.annotation.PersistenceUnitAnnotationHelper
Static helper class used to encapsulate all the functions related to the translation of @PersistenceUnit and @PersistenceUnits annotations to deployment descriptor tags. The PersistenceUnitAnnotationHelper class can be used as part of the deployment of a module into the Geronimo server. It performs the following major functions:

  1. 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):

Remaining ToDo(s):

Method from org.apache.geronimo.j2ee.deployment.annotation.PersistenceUnitAnnotationHelper Summary:
processAnnotations
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.PersistenceUnitAnnotationHelper Detail:
 public static  void processAnnotations(AnnotatedApp annotatedApp,
    ClassFinder classFinder) throws DeploymentException 
    Update the deployment descriptor from the PersistenceUnit and PersistenceUnits annotations