Prepare the introduction of Spring 3
authorMathieu Baudier <mbaudier@argeo.org>
Tue, 6 Jul 2010 16:19:13 +0000 (16:19 +0000)
committerMathieu Baudier <mbaudier@argeo.org>
Tue, 6 Jul 2010 16:19:13 +0000 (16:19 +0000)
git-svn-id: https://svn.argeo.org/commons/trunk@3647 4cfe0d0a-d680-48aa-b62c-e0a02a3f76cc

pom.xml
security/runtime/org.argeo.security.core/pom.xml
server/runtime/org.argeo.server.core/src/main/java/org/argeo/server/dao/AbstractMemoryDaoSupport.java

diff --git a/pom.xml b/pom.xml
index 1783d704e0b2813665efaa35389f65ef1015d3a5..0755934925998780bd2cfc31cc3182942a33ed44 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -13,7 +13,7 @@
        <packaging>pom</packaging>
        <properties>
                <developmentCycle>0.2</developmentCycle>
-               <version.argeo-distribution>1.0.4</version.argeo-distribution>
+               <version.argeo-distribution>1.1.0-SNAPSHOT</version.argeo-distribution>
                <version.argeo-ria>0.12.4</version.argeo-ria>
                <version.maven-argeo-osgi>0.1.28</version.maven-argeo-osgi>
                <version.maven-bundle-plugin>2.0.1</version.maven-bundle-plugin>
index 99ca8adf0116f9ae42820e952ca32eb1afcbed20..a178bfe6e7fee78e116da7a7958b55139360a73e 100644 (file)
@@ -59,8 +59,8 @@
 
                <!-- Spring -->
                <dependency>
-                       <groupId>org.springframework.ldap</groupId>
-                       <artifactId>org.springframework.ldap</artifactId>
+                               <groupId>org.argeo.dep.osgi</groupId>
+                               <artifactId>org.argeo.dep.osgi.springframework.ldap</artifactId>
                </dependency>
                <dependency>
                        <groupId>org.springframework</groupId>
index a334a4710643495a6b80bd4ce284bc036151b4bf..236a3b858804743db63addcbc20cb0cfcbbcf3cc 100644 (file)
@@ -33,7 +33,6 @@ import org.springframework.beans.BeanWrapper;
 import org.springframework.beans.BeanWrapperImpl;
 import org.springframework.beans.BeansException;
 import org.springframework.beans.factory.InitializingBean;
-import org.springframework.beans.factory.generic.GenericBeanFactoryAccessor;
 import org.springframework.context.ApplicationContext;
 import org.springframework.context.ApplicationContextAware;
 import org.springframework.core.io.Resource;
@@ -161,8 +160,7 @@ public abstract class AbstractMemoryDaoSupport implements LightDaoSupport,
                        res.addAll((Collection<T>) model.get(classToUse).values());
 
                if (applicationContext != null)
-                       res.addAll(new GenericBeanFactoryAccessor(applicationContext)
-                                       .getBeansOfType(clss).values());
+                       res.addAll(applicationContext.getBeansOfType(clss).values());
 
                return res;
        }