[jboss-cvs] JBossAS SVN: r64458 - projects/microcontainer/trunk/kernel/src/main/org/jboss/kernel/plugins/dependency.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Fri Aug 3 12:56:29 EDT 2007
Author: alesj
Date: 2007-08-03 12:56:29 -0400 (Fri, 03 Aug 2007)
New Revision: 64458
Modified:
projects/microcontainer/trunk/kernel/src/main/org/jboss/kernel/plugins/dependency/AbstractKernelControllerContext.java
Log:
Removing 'annotations processed' flag.
Modified: projects/microcontainer/trunk/kernel/src/main/org/jboss/kernel/plugins/dependency/AbstractKernelControllerContext.java
===================================================================
--- projects/microcontainer/trunk/kernel/src/main/org/jboss/kernel/plugins/dependency/AbstractKernelControllerContext.java 2007-08-03 16:51:00 UTC (rev 64457)
+++ projects/microcontainer/trunk/kernel/src/main/org/jboss/kernel/plugins/dependency/AbstractKernelControllerContext.java 2007-08-03 16:56:29 UTC (rev 64458)
@@ -80,9 +80,6 @@
/** Did we do a describeVisit */
protected boolean isDescribeProcessed;
- /** Did we do the annotations check */
- protected boolean areAnnotationsProcessed;
-
/** The scope */
protected ScopeKey scope;
@@ -279,21 +276,17 @@
public void applyMetaData() throws Throwable
{
- if (areAnnotationsProcessed == false)
+ // handle custom annotations
+ AnnotationMetaDataVisitor annotationsVisitor = new AnnotationMetaDataVisitor(metaData);
+ annotationsVisitor.before();
+ try
{
- // handle custom annotations
- AnnotationMetaDataVisitor annotationsVisitor = new AnnotationMetaDataVisitor(metaData);
- annotationsVisitor.before();
- try
- {
- BeanAnnotationAdapterFactory.getBeanAnnotationAdapter().applyAnnotations(annotationsVisitor);
- areAnnotationsProcessed = true;
- }
- finally
- {
- annotationsVisitor.after();
- }
+ BeanAnnotationAdapterFactory.getBeanAnnotationAdapter().applyAnnotations(annotationsVisitor);
}
+ finally
+ {
+ annotationsVisitor.after();
+ }
}
protected abstract class AbstractMetaDataVistor implements MetaDataVisitor
More information about the jboss-cvs-commits
mailing list