ace-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject svn commit: r1516888 - in /ace/trunk/org.apache.ace.agent: src/org/apache/ace/agent/ src/org/apache/ace/agent/impl/ test/org/apache/ace/agent/impl/
Date Fri, 23 Aug 2013 15:32:25 GMT
Author: bramk
Date: Fri Aug 23 15:32:24 2013
New Revision: 1516888

URL: http://svn.apache.org/r1516888
Log:
ACE-347 Removed DownloadHandler from AgentControl

Added:
    ace/trunk/org.apache.ace.agent/src/org/apache/ace/agent/DownloadHandler.java
      - copied, changed from r1516880, ace/trunk/org.apache.ace.agent/src/org/apache/ace/agent/DownloadHandler.java
Modified:
    ace/trunk/org.apache.ace.agent/src/org/apache/ace/agent/AgentContext.java
    ace/trunk/org.apache.ace.agent/src/org/apache/ace/agent/AgentControl.java
    ace/trunk/org.apache.ace.agent/src/org/apache/ace/agent/impl/AgentControlImpl.java
    ace/trunk/org.apache.ace.agent/test/org/apache/ace/agent/impl/DownloadHandlerTest.java

Modified: ace/trunk/org.apache.ace.agent/src/org/apache/ace/agent/AgentContext.java
URL: http://svn.apache.org/viewvc/ace/trunk/org.apache.ace.agent/src/org/apache/ace/agent/AgentContext.java?rev=1516888&r1=1516887&r2=1516888&view=diff
==============================================================================
--- ace/trunk/org.apache.ace.agent/src/org/apache/ace/agent/AgentContext.java (original)
+++ ace/trunk/org.apache.ace.agent/src/org/apache/ace/agent/AgentContext.java Fri Aug 23 15:32:24
2013
@@ -23,6 +23,7 @@ import java.util.Dictionary;
 import java.util.Formatter;
 import java.util.concurrent.ScheduledExecutorService;
 
+
 /**
  * Internal interface that provides access to handlers, supporting services and static configuration.
  * 

Modified: ace/trunk/org.apache.ace.agent/src/org/apache/ace/agent/AgentControl.java
URL: http://svn.apache.org/viewvc/ace/trunk/org.apache.ace.agent/src/org/apache/ace/agent/AgentControl.java?rev=1516888&r1=1516887&r2=1516888&view=diff
==============================================================================
--- ace/trunk/org.apache.ace.agent/src/org/apache/ace/agent/AgentControl.java (original)
+++ ace/trunk/org.apache.ace.agent/src/org/apache/ace/agent/AgentControl.java Fri Aug 23 15:32:24
2013
@@ -27,9 +27,6 @@ public interface AgentControl {
     /** Returns the configuration handler */
     ConfigurationHandler getConfigurationHandler();
 
-    /** Returns the download handler */
-    DownloadHandler getDownloadHandler();
-
     /** Returns the deployment handler */
     DeploymentHandler getDeploymentHandler();
 

Copied: ace/trunk/org.apache.ace.agent/src/org/apache/ace/agent/DownloadHandler.java (from
r1516880, ace/trunk/org.apache.ace.agent/src/org/apache/ace/agent/DownloadHandler.java)
URL: http://svn.apache.org/viewvc/ace/trunk/org.apache.ace.agent/src/org/apache/ace/agent/DownloadHandler.java?p2=ace/trunk/org.apache.ace.agent/src/org/apache/ace/agent/DownloadHandler.java&p1=ace/trunk/org.apache.ace.agent/src/org/apache/ace/agent/DownloadHandler.java&r1=1516880&r2=1516888&rev=1516888&view=diff
==============================================================================
--- ace/trunk/org.apache.ace.agent/src/org/apache/ace/agent/DownloadHandler.java (original)
+++ ace/trunk/org.apache.ace.agent/src/org/apache/ace/agent/DownloadHandler.java Fri Aug 23
15:32:24 2013
@@ -32,7 +32,7 @@ public interface DownloadHandler {
      * @return The {@link DownloadHandle}
      */
     DownloadHandle getHandle(URL url);
-    
-    //TODO named handlers (resume over urls)
+
+    // TODO named handlers (resume over urls)
     DownloadHandle getHandle(URL url, int readBufferSize);
 }

Modified: ace/trunk/org.apache.ace.agent/src/org/apache/ace/agent/impl/AgentControlImpl.java
URL: http://svn.apache.org/viewvc/ace/trunk/org.apache.ace.agent/src/org/apache/ace/agent/impl/AgentControlImpl.java?rev=1516888&r1=1516887&r2=1516888&view=diff
==============================================================================
--- ace/trunk/org.apache.ace.agent/src/org/apache/ace/agent/impl/AgentControlImpl.java (original)
+++ ace/trunk/org.apache.ace.agent/src/org/apache/ace/agent/impl/AgentControlImpl.java Fri
Aug 23 15:32:24 2013
@@ -25,7 +25,6 @@ import org.apache.ace.agent.AgentControl
 import org.apache.ace.agent.AgentUpdateHandler;
 import org.apache.ace.agent.ConfigurationHandler;
 import org.apache.ace.agent.DeploymentHandler;
-import org.apache.ace.agent.DownloadHandler;
 import org.apache.ace.agent.FeedbackHandler;
 
 /**
@@ -46,11 +45,6 @@ public class AgentControlImpl implements
     }
 
     @Override
-    public DownloadHandler getDownloadHandler() {
-        return m_agentContext.getDownloadHandler();
-    }
-
-    @Override
     public DeploymentHandler getDeploymentHandler() {
         return m_agentContext.getDeploymentHandler();
     }

Modified: ace/trunk/org.apache.ace.agent/test/org/apache/ace/agent/impl/DownloadHandlerTest.java
URL: http://svn.apache.org/viewvc/ace/trunk/org.apache.ace.agent/test/org/apache/ace/agent/impl/DownloadHandlerTest.java?rev=1516888&r1=1516887&r2=1516888&view=diff
==============================================================================
--- ace/trunk/org.apache.ace.agent/test/org/apache/ace/agent/impl/DownloadHandlerTest.java
(original)
+++ ace/trunk/org.apache.ace.agent/test/org/apache/ace/agent/impl/DownloadHandlerTest.java
Fri Aug 23 15:32:24 2013
@@ -47,9 +47,9 @@ import javax.servlet.http.HttpServletRes
 
 import org.apache.ace.agent.AgentContext;
 import org.apache.ace.agent.DownloadHandle;
+import org.apache.ace.agent.DownloadHandler;
 import org.apache.ace.agent.DownloadHandle.ResultListener;
 import org.apache.ace.agent.DownloadHandle.ProgressListener;
-import org.apache.ace.agent.DownloadHandler;
 import org.apache.ace.agent.DownloadResult;
 import org.apache.ace.agent.DownloadState;
 import org.apache.ace.agent.testutil.BaseAgentTest;



Mime
View raw message