abdera-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmsn...@apache.org
Subject svn commit: r567850 - in /incubator/abdera/java/trunk/spring/src: main/java/org/apache/abdera/spring/ test/java/org/apache/abdera/spring/
Date Mon, 20 Aug 2007 22:07:14 GMT
Author: jmsnell
Date: Mon Aug 20 15:07:13 2007
New Revision: 567850

URL: http://svn.apache.org/viewvc?rev=567850&view=rev
Log:
Some cleanups

Modified:
    incubator/abdera/java/trunk/spring/src/main/java/org/apache/abdera/spring/AbstractSingleBeanDefinitionParser.java
    incubator/abdera/java/trunk/spring/src/main/java/org/apache/abdera/spring/ServiceContextDefinitionParser.java
    incubator/abdera/java/trunk/spring/src/main/java/org/apache/abdera/spring/SpringAbderaServlet.java
    incubator/abdera/java/trunk/spring/src/test/java/org/apache/abdera/spring/TestProvider.java

Modified: incubator/abdera/java/trunk/spring/src/main/java/org/apache/abdera/spring/AbstractSingleBeanDefinitionParser.java
URL: http://svn.apache.org/viewvc/incubator/abdera/java/trunk/spring/src/main/java/org/apache/abdera/spring/AbstractSingleBeanDefinitionParser.java?rev=567850&r1=567849&r2=567850&view=diff
==============================================================================
--- incubator/abdera/java/trunk/spring/src/main/java/org/apache/abdera/spring/AbstractSingleBeanDefinitionParser.java
(original)
+++ incubator/abdera/java/trunk/spring/src/main/java/org/apache/abdera/spring/AbstractSingleBeanDefinitionParser.java
Mon Aug 20 15:07:13 2007
@@ -18,10 +18,8 @@
  */
 package org.apache.abdera.spring;
 
-import org.apache.abdera.protocol.server.impl.SingletonProviderManager;
 import org.springframework.beans.factory.config.BeanDefinition;
 import org.springframework.beans.factory.config.BeanDefinitionHolder;
-import org.springframework.beans.factory.support.AbstractBeanDefinition;
 import org.springframework.beans.factory.support.BeanDefinitionBuilder;
 import org.springframework.beans.factory.xml.BeanDefinitionParserDelegate;
 import org.springframework.beans.factory.xml.ParserContext;

Modified: incubator/abdera/java/trunk/spring/src/main/java/org/apache/abdera/spring/ServiceContextDefinitionParser.java
URL: http://svn.apache.org/viewvc/incubator/abdera/java/trunk/spring/src/main/java/org/apache/abdera/spring/ServiceContextDefinitionParser.java?rev=567850&r1=567849&r2=567850&view=diff
==============================================================================
--- incubator/abdera/java/trunk/spring/src/main/java/org/apache/abdera/spring/ServiceContextDefinitionParser.java
(original)
+++ incubator/abdera/java/trunk/spring/src/main/java/org/apache/abdera/spring/ServiceContextDefinitionParser.java
Mon Aug 20 15:07:13 2007
@@ -18,23 +18,14 @@
  */
 package org.apache.abdera.spring;
 
-import org.w3c.dom.Attr;
-import org.w3c.dom.Element;
-import org.w3c.dom.NamedNodeMap;
-import org.w3c.dom.Node;
-import org.w3c.dom.NodeList;
-
 import org.apache.abdera.protocol.server.ServiceContext;
 import org.apache.abdera.protocol.server.impl.DefaultServiceContext;
 import org.apache.abdera.protocol.server.impl.SingletonProviderManager;
 import org.springframework.beans.factory.BeanDefinitionStoreException;
-import org.springframework.beans.factory.config.BeanDefinition;
-import org.springframework.beans.factory.config.BeanDefinitionHolder;
 import org.springframework.beans.factory.support.AbstractBeanDefinition;
 import org.springframework.beans.factory.support.BeanDefinitionBuilder;
-import org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser;
-import org.springframework.beans.factory.xml.BeanDefinitionParserDelegate;
 import org.springframework.beans.factory.xml.ParserContext;
+import org.w3c.dom.Element;
 
 public class ServiceContextDefinitionParser 
     extends org.apache.abdera.spring.AbstractSingleBeanDefinitionParser {

Modified: incubator/abdera/java/trunk/spring/src/main/java/org/apache/abdera/spring/SpringAbderaServlet.java
URL: http://svn.apache.org/viewvc/incubator/abdera/java/trunk/spring/src/main/java/org/apache/abdera/spring/SpringAbderaServlet.java?rev=567850&r1=567849&r2=567850&view=diff
==============================================================================
--- incubator/abdera/java/trunk/spring/src/main/java/org/apache/abdera/spring/SpringAbderaServlet.java
(original)
+++ incubator/abdera/java/trunk/spring/src/main/java/org/apache/abdera/spring/SpringAbderaServlet.java
Mon Aug 20 15:07:13 2007
@@ -18,6 +18,7 @@
 package org.apache.abdera.spring;
 
 import org.apache.abdera.protocol.server.ServiceContext;
+import org.apache.abdera.protocol.server.servlet.AbderaServlet;
 import org.springframework.web.context.WebApplicationContext;
 import org.springframework.web.context.support.WebApplicationContextUtils;
 
@@ -27,8 +28,11 @@
  * This can be overridden by supplying the "serviceContextBeanName" initialization
  * parameter.
  */
-public class SpringAbderaServlet extends org.apache.abdera.protocol.server.servlet.AbderaServlet
{
+public class SpringAbderaServlet 
+  extends AbderaServlet {
     
+    private static final long serialVersionUID = -7579564455804753809L;
+
     protected ServiceContext createServiceContext() {
         String contextName = getInitParameter("serviceContextBeanName");
         if (contextName == null) {

Modified: incubator/abdera/java/trunk/spring/src/test/java/org/apache/abdera/spring/TestProvider.java
URL: http://svn.apache.org/viewvc/incubator/abdera/java/trunk/spring/src/test/java/org/apache/abdera/spring/TestProvider.java?rev=567850&r1=567849&r2=567850&view=diff
==============================================================================
--- incubator/abdera/java/trunk/spring/src/test/java/org/apache/abdera/spring/TestProvider.java
(original)
+++ incubator/abdera/java/trunk/spring/src/test/java/org/apache/abdera/spring/TestProvider.java
Mon Aug 20 15:07:13 2007
@@ -1,6 +1,5 @@
 package org.apache.abdera.spring;
 
-import org.apache.abdera.protocol.server.Provider;
 import org.apache.abdera.protocol.server.RequestContext;
 import org.apache.abdera.protocol.server.ResponseContext;
 import org.apache.abdera.protocol.server.impl.AbstractProvider;



Mime
View raw message