abdera-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmsn...@apache.org
Subject svn commit: r600710 - in /incubator/abdera/java/trunk/server/src/main/java/org/apache/abdera/protocol/server/impl: AbstractServiceContext.java DefaultServiceContext.java
Date Mon, 03 Dec 2007 22:17:22 GMT
Author: jmsnell
Date: Mon Dec  3 14:17:21 2007
New Revision: 600710

URL: http://svn.apache.org/viewvc?rev=600710&view=rev
Log:
back out part of the previous commit. Apparently spring does not like the chainable setter
model.

Modified:
    incubator/abdera/java/trunk/server/src/main/java/org/apache/abdera/protocol/server/impl/AbstractServiceContext.java
    incubator/abdera/java/trunk/server/src/main/java/org/apache/abdera/protocol/server/impl/DefaultServiceContext.java

Modified: incubator/abdera/java/trunk/server/src/main/java/org/apache/abdera/protocol/server/impl/AbstractServiceContext.java
URL: http://svn.apache.org/viewvc/incubator/abdera/java/trunk/server/src/main/java/org/apache/abdera/protocol/server/impl/AbstractServiceContext.java?rev=600710&r1=600709&r2=600710&view=diff
==============================================================================
--- incubator/abdera/java/trunk/server/src/main/java/org/apache/abdera/protocol/server/impl/AbstractServiceContext.java
(original)
+++ incubator/abdera/java/trunk/server/src/main/java/org/apache/abdera/protocol/server/impl/AbstractServiceContext.java
Mon Dec  3 14:17:21 2007
@@ -59,24 +59,20 @@
     return config.keySet().toArray(new String[config.size()]);
   }
 
-  public AbstractServiceContext setHandlerManager(ItemManager<RequestHandler> handlerManager)
{
+  public void setHandlerManager(ItemManager<RequestHandler> handlerManager) {
     this.handlerManager = handlerManager;
-    return this;
   }
 
-  public AbstractServiceContext setProviderManager(ItemManager<Provider> providerManager)
{
+  public void setProviderManager(ItemManager<Provider> providerManager) {
     this.providerManager = providerManager;
-    return this;
   }
 
-  public AbstractServiceContext setSubjectResolver(Resolver<Subject> subjectResolver)
{
+  public void setSubjectResolver(Resolver<Subject> subjectResolver) {
     this.subjectResolver = subjectResolver;
-    return this;
   }
 
-  public AbstractServiceContext setTargetResolver(Resolver<Target> targetResolver)
{
+  public void setTargetResolver(Resolver<Target> targetResolver) {
     this.targetResolver = targetResolver;
-    return this;
   }
 
 }

Modified: incubator/abdera/java/trunk/server/src/main/java/org/apache/abdera/protocol/server/impl/DefaultServiceContext.java
URL: http://svn.apache.org/viewvc/incubator/abdera/java/trunk/server/src/main/java/org/apache/abdera/protocol/server/impl/DefaultServiceContext.java?rev=600710&r1=600709&r2=600710&view=diff
==============================================================================
--- incubator/abdera/java/trunk/server/src/main/java/org/apache/abdera/protocol/server/impl/DefaultServiceContext.java
(original)
+++ incubator/abdera/java/trunk/server/src/main/java/org/apache/abdera/protocol/server/impl/DefaultServiceContext.java
Mon Dec  3 14:17:21 2007
@@ -102,24 +102,20 @@
     return defaulttargetresolver;
   }
 
-  public DefaultServiceContext setDefaultProviderManager(String defaultprovidermanager) {
+  public void setDefaultProviderManager(String defaultprovidermanager) {
     this.defaultprovidermanager = defaultprovidermanager;
-    return this;
   }
 
-  public DefaultServiceContext setDefaultRequestHandlerManager(String defaultrequesthandlermanager)
{
+  public void setDefaultRequestHandlerManager(String defaultrequesthandlermanager) {
     this.defaultrequesthandlermanager = defaultrequesthandlermanager;
-    return this;
   }
 
-  public DefaultServiceContext setDefaultSubjectResolver(String defaultsubjectresolver) {
+  public void setDefaultSubjectResolver(String defaultsubjectresolver) {
     this.defaultsubjectresolver = defaultsubjectresolver;
-    return this;
   }
 
-  public DefaultServiceContext setDefaultTargetResolver(String defaulttargetresolver) {
+  public void setDefaultTargetResolver(String defaulttargetresolver) {
     this.defaulttargetresolver = defaulttargetresolver;
-    return this;
   }
 
 }



Mime
View raw message