[jboss-cvs] JBossAS SVN: r73586 - projects/jboss-deployers/trunk/deployers-impl/src/main/org/jboss/deployers/plugins/annotations.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Thu May 22 08:50:41 EDT 2008


Author: alesj
Date: 2008-05-22 08:50:41 -0400 (Thu, 22 May 2008)
New Revision: 73586

Modified:
   projects/jboss-deployers/trunk/deployers-impl/src/main/org/jboss/deployers/plugins/annotations/GenericAnnotationResourceVisitor.java
Log:
Add helper constructor, change env getter to public.

Modified: projects/jboss-deployers/trunk/deployers-impl/src/main/org/jboss/deployers/plugins/annotations/GenericAnnotationResourceVisitor.java
===================================================================
--- projects/jboss-deployers/trunk/deployers-impl/src/main/org/jboss/deployers/plugins/annotations/GenericAnnotationResourceVisitor.java	2008-05-22 12:12:24 UTC (rev 73585)
+++ projects/jboss-deployers/trunk/deployers-impl/src/main/org/jboss/deployers/plugins/annotations/GenericAnnotationResourceVisitor.java	2008-05-22 12:50:41 UTC (rev 73586)
@@ -55,6 +55,11 @@
    private boolean forceAnnotations;
    private DefaultAnnotationEnvironment env;
 
+   public GenericAnnotationResourceVisitor(ClassLoader classLoader)
+   {
+      this(ClassPool.getDefault(), classLoader);
+   }
+
    public GenericAnnotationResourceVisitor(ClassPool pool, ClassLoader classLoader)
    {
       if (pool == null)
@@ -245,7 +250,7 @@
     *
     * @return the annoattion environment
     */
-   AnnotationEnvironment getEnv()
+   public AnnotationEnvironment getEnv()
    {
       return env;
    }




More information about the jboss-cvs-commits mailing list