Author: alessio.soldano(a)jboss.com
Date: 2010-10-11 12:40:30 -0400 (Mon, 11 Oct 2010)
New Revision: 13075
Modified:
stack/cxf/trunk/modules/client/src/main/java/org/jboss/wsf/stack/cxf/client/configuration/JBossWSNonSpringBusFactory.java
Log:
[JBWS-3145] Removing workaround
Modified:
stack/cxf/trunk/modules/client/src/main/java/org/jboss/wsf/stack/cxf/client/configuration/JBossWSNonSpringBusFactory.java
===================================================================
---
stack/cxf/trunk/modules/client/src/main/java/org/jboss/wsf/stack/cxf/client/configuration/JBossWSNonSpringBusFactory.java 2010-10-11
15:58:09 UTC (rev 13074)
+++
stack/cxf/trunk/modules/client/src/main/java/org/jboss/wsf/stack/cxf/client/configuration/JBossWSNonSpringBusFactory.java 2010-10-11
16:40:30 UTC (rev 13075)
@@ -22,10 +22,8 @@
package org.jboss.wsf.stack.cxf.client.configuration;
import java.util.Collection;
-import java.util.Collections;
import java.util.HashMap;
import java.util.LinkedList;
-import java.util.List;
import java.util.Map;
import javax.xml.bind.JAXBException;
@@ -34,7 +32,6 @@
import org.apache.cxf.Bus;
import org.apache.cxf.bus.CXFBusFactory;
import org.apache.cxf.bus.extension.ExtensionManagerBus;
-import org.apache.cxf.configuration.ConfiguredBeanLocator;
import org.apache.cxf.configuration.Configurer;
import org.apache.cxf.ws.addressing.Names;
import org.apache.cxf.ws.addressing.policy.AddressingAssertionBuilder;
@@ -78,8 +75,6 @@
extensions.put(Configurer.class, new JBossWSNonSpringConfigurer(new
BeanCustomizer()));
}
- extensions.put(ConfiguredBeanLocator.class, new DummyBeanLocator());
-
preparePolicyEngine(extensions);
Bus bus = new ExtensionManagerBus(extensions, properties);
@@ -154,39 +149,4 @@
protected void initializeBus(Bus bus) {
super.initializeBus(bus);
}
-
- private class DummyBeanLocator implements ConfiguredBeanLocator
- {
-
- @Override
- public List<String> getBeanNamesOfType(Class<?> type)
- {
- return Collections.emptyList();
- }
-
- @Override
- public <T> Collection<? extends T> getBeansOfType(Class<T> type)
- {
- return Collections.emptyList();
- }
-
- @Override
- public <T> T getBeanOfType(String name, Class<T> type)
- {
- return null;
- }
-
- @Override
- public <T> boolean loadBeansOfType(Class<T> type,
BeanLoaderListener<T> listener)
- {
- return false;
- }
-
- @Override
- public boolean hasConfiguredPropertyValue(String beanName, String propertyName,
String value)
- {
- return false;
- }
-
- }
}
Show replies by date