cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject svn commit: r1560639 - /cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/spring/AbstractSpringConfigurationFactory.java
Date Thu, 23 Jan 2014 11:16:24 GMT
Author: sergeyb
Date: Thu Jan 23 11:16:24 2014
New Revision: 1560639

URL: http://svn.apache.org/r1560639
Log:
[CXF-5495] Minor update to the Spring factory

Modified:
    cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/spring/AbstractSpringConfigurationFactory.java

Modified: cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/spring/AbstractSpringConfigurationFactory.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/spring/AbstractSpringConfigurationFactory.java?rev=1560639&r1=1560638&r2=1560639&view=diff
==============================================================================
--- cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/spring/AbstractSpringConfigurationFactory.java
(original)
+++ cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/spring/AbstractSpringConfigurationFactory.java
Thu Jan 23 11:16:24 2014
@@ -24,16 +24,16 @@ import java.util.List;
 import org.apache.cxf.bus.spring.SpringBus;
 import org.apache.cxf.endpoint.Server;
 import org.apache.cxf.feature.Feature;
-import org.apache.cxf.interceptor.Interceptor;
+import org.apache.cxf.interceptor.AbstractBasicInterceptorProvider;
 import org.apache.cxf.jaxrs.JAXRSServerFactoryBean;
-import org.apache.cxf.message.Message;
 import org.springframework.beans.BeansException;
 import org.springframework.context.ApplicationContext;
 import org.springframework.context.ApplicationContextAware;
 import org.springframework.context.annotation.Import;
 
 @Import(JaxRsConfig.class)
-public abstract class AbstractSpringConfigurationFactory implements ApplicationContextAware
{
+public abstract class AbstractSpringConfigurationFactory 
+    extends AbstractBasicInterceptorProvider implements ApplicationContextAware {
 
     protected ApplicationContext applicationContext;
     
@@ -65,22 +65,10 @@ public abstract class AbstractSpringConf
         return Collections.emptyList();
     }
     
-    protected List<Interceptor<? extends Message>> getInInterceptors() {
-        return Collections.emptyList();
-    }
-    
-    protected List<Interceptor<? extends Message>> getOutInterceptors() {
-        return Collections.emptyList();
-    }
-    
     protected List<Feature> getFeatures() {
         return Collections.emptyList();
     }
     
-    protected List<Interceptor<? extends Message>> getOutFaultInterceptors()
{
-        return Collections.emptyList();
-    }
-    
     protected String getAddress() {
         return "/";
     }



Mime
View raw message