wink-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From el...@apache.org
Subject svn commit: r812072 - /incubator/wink/trunk/wink-server/src/main/java/org/apache/wink/server/internal/RequestProcessor.java
Date Mon, 07 Sep 2009 10:26:44 GMT
Author: elman
Date: Mon Sep  7 10:26:44 2009
New Revision: 812072

URL: http://svn.apache.org/viewvc?rev=812072&view=rev
Log:
load server side wink-providers
See [WINK-165]

Modified:
    incubator/wink/trunk/wink-server/src/main/java/org/apache/wink/server/internal/RequestProcessor.java

Modified: incubator/wink/trunk/wink-server/src/main/java/org/apache/wink/server/internal/RequestProcessor.java
URL: http://svn.apache.org/viewvc/incubator/wink/trunk/wink-server/src/main/java/org/apache/wink/server/internal/RequestProcessor.java?rev=812072&r1=812071&r2=812072&view=diff
==============================================================================
--- incubator/wink/trunk/wink-server/src/main/java/org/apache/wink/server/internal/RequestProcessor.java
(original)
+++ incubator/wink/trunk/wink-server/src/main/java/org/apache/wink/server/internal/RequestProcessor.java
Mon Sep  7 10:26:44 2009
@@ -33,15 +33,15 @@
 import javax.ws.rs.core.Response;
 import javax.ws.rs.core.Response.Status;
 
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-import org.apache.wink.common.internal.application.ApplicationFileLoader;
 import org.apache.wink.common.internal.i18n.Messages;
 import org.apache.wink.common.internal.runtime.RuntimeContextTLS;
+import org.apache.wink.server.internal.application.ServletApplicationFileLoader;
 import org.apache.wink.server.internal.handlers.ServerMessageContext;
 import org.apache.wink.server.internal.resources.HtmlServiceDocumentResource;
 import org.apache.wink.server.internal.resources.RootResource;
 import org.apache.wink.server.utils.RegistrationUtils;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
 
 /**
  * Responsible for request processing.
@@ -71,7 +71,7 @@
 
     private void registerDefaultApplication() {
         try {
-            final Set<Class<?>> classes = new ApplicationFileLoader().getClasses();
+            final Set<Class<?>> classes = new ServletApplicationFileLoader().getClasses();
             configuration.addApplication(new RegistrationUtils.InnerApplication(classes));
         } catch (FileNotFoundException e) {
             throw new WebApplicationException(e);



Mime
View raw message