Author: dkulp
Date: Thu Sep 15 19:03:31 2011
New Revision: 1171224
URL: http://svn.apache.org/viewvc?rev=1171224&view=rev
Log:
[CXF-3805] Fix problem with initializing all the factories when not
needed
Modified:
cxf/trunk/rt/core/src/main/java/org/apache/cxf/bus/spring/SpringBeanLocator.java
Modified:
cxf/trunk/rt/core/src/main/java/org/apache/cxf/bus/spring/SpringBeanLocator.java
URL:
http://svn.apache.org/viewvc/cxf/trunk/rt/core/src/main/java/org/apache/cxf/bus/spring/SpringBeanLocator.java?rev=1171224&r1=1171223&r2=1171224&view=diff
==============================================================================
---
cxf/trunk/rt/core/src/main/java/org/apache/cxf/bus/spring/SpringBeanLocator.java
(original)
+++
cxf/trunk/rt/core/src/main/java/org/apache/cxf/bus/spring/SpringBeanLocator.java
Thu Sep 15 19:03:31 2011
@@ -100,7 +100,7 @@ public class SpringBeanLocator implement
public List<String> getBeanNamesOfType(Class<?> type) {
Set<String> s = new
LinkedHashSet<String>(Arrays.asList(context.getBeanNamesForType(type,
false,
-
true)));
+
false)));
s.removeAll(passThroughs);
s.addAll(orig.getBeanNamesOfType(type));
return new ArrayList<String>(s);
@@ -110,7 +110,7 @@ public class SpringBeanLocator implement
public <T> Collection<? extends T> getBeansOfType(Class<T> type) {
Set<String> s = new
LinkedHashSet<String>(Arrays.asList(context.getBeanNamesForType(type,
false,
-
true)));
+
false)));
s.removeAll(passThroughs);
List<T> lst = new LinkedList<T>();
for (String n : s) {
@@ -150,7 +150,7 @@ public class SpringBeanLocator implement
BeanLoaderListener<T> listener) {
List<String> list = new
ArrayList<String>(Arrays.asList(context.getBeanNamesForType(type,
false,
-
true)));
+
false)));
list.removeAll(passThroughs);
Collections.reverse(list);
boolean loaded = false;