tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rmannibu...@apache.org
Subject svn commit: r1291859 - /openejb/trunk/openejb/container/openejb-core/src/main/java/org/apache/openejb/config/FinderFactory.java
Date Tue, 21 Feb 2012 15:22:49 GMT
Author: rmannibucau
Date: Tue Feb 21 15:22:48 2012
New Revision: 1291859

URL: http://svn.apache.org/viewvc?rev=1291859&view=rev
Log:
a simpler helper method to create finder from scan.xml

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

Modified: openejb/trunk/openejb/container/openejb-core/src/main/java/org/apache/openejb/config/FinderFactory.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb/container/openejb-core/src/main/java/org/apache/openejb/config/FinderFactory.java?rev=1291859&r1=1291858&r2=1291859&view=diff
==============================================================================
--- openejb/trunk/openejb/container/openejb-core/src/main/java/org/apache/openejb/config/FinderFactory.java
(original)
+++ openejb/trunk/openejb/container/openejb-core/src/main/java/org/apache/openejb/config/FinderFactory.java
Tue Feb 21 15:22:48 2012
@@ -119,6 +119,10 @@ public class FinderFactory {
         return null;
     }
 
+    private static IAnnotationFinder xmlFinder(final DeploymentModule module, final InputStream
scanIs, final Iterable<URL> urls) {
+        return xmlFinder(module, scanIs, urls, null);
+    }
+
     private static FileInputStream inputStream(final File file, final String xml) throws
FileNotFoundException {
         final File scanFile = new File(file, xml);
         if (scanFile.exists()) {



Mime
View raw message