openejb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dblev...@apache.org
Subject svn commit: r1071151 - /openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/config/AnnotationDeployer.java
Date Wed, 16 Feb 2011 06:02:15 GMT
Author: dblevins
Date: Wed Feb 16 06:02:15 2011
New Revision: 1071151

URL: http://svn.apache.org/viewvc?rev=1071151&view=rev
Log:
Fixes the interceptors example.  In xbean we had switched the collection we use to store annotated
classes.  Our impl had expected interceptor definitions to be discovered in a specific order.

Modified:
    openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/config/AnnotationDeployer.java

Modified: openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/config/AnnotationDeployer.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/config/AnnotationDeployer.java?rev=1071151&r1=1071150&r2=1071151&view=diff
==============================================================================
--- openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/config/AnnotationDeployer.java
(original)
+++ openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/config/AnnotationDeployer.java
Wed Feb 16 06:02:15 2011
@@ -3605,6 +3605,8 @@ public class AnnotationDeployer implemen
                 parents.addAll(ancestors(clazz));
             }
 
+            Collections.reverse(parents);
+
             return new ClassFinder(parents);
         }
 



Mime
View raw message