Author: dkulp
Date: Wed Nov 11 04:34:21 2009
New Revision: 834762
URL: http://svn.apache.org/viewvc?rev=834762&view=rev
Log:
Remove some dead code
Modified:
cxf/trunk/rt/frontend/simple/src/main/java/org/apache/cxf/frontend/ServerFactoryBean.java
Modified:
cxf/trunk/rt/frontend/simple/src/main/java/org/apache/cxf/frontend/ServerFactoryBean.java
URL:
http://svn.apache.org/viewvc/cxf/trunk/rt/frontend/simple/src/main/java/org/apache/cxf/frontend/ServerFactoryBean.java?rev=834762&r1=834761&r2=834762&view=diff
==============================================================================
---
cxf/trunk/rt/frontend/simple/src/main/java/org/apache/cxf/frontend/ServerFactoryBean.java
(original)
+++
cxf/trunk/rt/frontend/simple/src/main/java/org/apache/cxf/frontend/ServerFactoryBean.java
Wed Nov 11 04:34:21 2009
@@ -20,18 +20,15 @@
import java.io.IOException;
import java.util.List;
-import java.util.Map;
import org.apache.cxf.BusException;
import org.apache.cxf.common.util.ClassHelper;
-import org.apache.cxf.databinding.DataBinding;
import org.apache.cxf.endpoint.Endpoint;
import org.apache.cxf.endpoint.EndpointException;
import org.apache.cxf.endpoint.Server;
import org.apache.cxf.endpoint.ServerImpl;
import org.apache.cxf.feature.AbstractFeature;
-import org.apache.cxf.jaxb.JAXBDataBinding;
import org.apache.cxf.service.factory.FactoryBeanListener;
import org.apache.cxf.service.factory.ReflectionServiceFactoryBean;
import org.apache.cxf.service.factory.ServiceConstructionException;
@@ -164,18 +161,6 @@
}
}
- protected void applyExtraClass() {
- Map props = this.getProperties();
- if (props != null && props.get("jaxb.additionalContextClasses") !=
null) {
- Class[] extraClass =
(Class[])this.getProperties().get("jaxb.additionalContextClasses");
- DataBinding dataBinding = getServiceFactory().getDataBinding();
- if (dataBinding instanceof JAXBDataBinding) {
- ((JAXBDataBinding)dataBinding).setExtraClass(extraClass);
- }
- }
- }
-
-
protected Invoker createInvoker() {
if (getServiceBean() == null) {
return new FactoryInvoker(new SingletonFactory(getServiceClass()));