| java.lang.Object org.apache.geronimo.j2ee.deployment.annotation.EJBAnnotationHelper
EJBAnnotationHelper | final public class EJBAnnotationHelper (Code) | | Static helper class used to encapsulate all the functions related to the translation of
@EJB and @EJBs annotations to deployment descriptor tags. The
EJBAnnotationHelper 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: 534273 $ $Date: 2007-05-01 16:22:35 -0700 (Tue, 01 May 2007) $ since: 02-2007 |
annotationsPresent | public static boolean annotationsPresent(ClassFinder classFinder)(Code) | | Determine if there are any annotations present
true or false |
processAnnotations | public static void processAnnotations(AnnotatedApp annotatedApp, ClassFinder classFinder) throws Exception(Code) | | Process the annotations
Updated deployment descriptor throws: Exception - if parsing or validation error |
|
|