felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fmesc...@apache.org
Subject svn commit: r658334 - in /felix/trunk/webconsole/src/main/java/org/apache/felix/webconsole: Action.java Render.java
Date Tue, 20 May 2008 16:49:44 GMT
Author: fmeschbe
Date: Tue May 20 09:49:44 2008
New Revision: 658334

URL: http://svn.apache.org/viewvc?rev=658334&view=rev
Log:
FELIX-574 Deprecating Action and Render interface as a first
step towards implementation as proposed by Stuart McCulloch (thanks).

Modified:
    felix/trunk/webconsole/src/main/java/org/apache/felix/webconsole/Action.java
    felix/trunk/webconsole/src/main/java/org/apache/felix/webconsole/Render.java

Modified: felix/trunk/webconsole/src/main/java/org/apache/felix/webconsole/Action.java
URL: http://svn.apache.org/viewvc/felix/trunk/webconsole/src/main/java/org/apache/felix/webconsole/Action.java?rev=658334&r1=658333&r2=658334&view=diff
==============================================================================
--- felix/trunk/webconsole/src/main/java/org/apache/felix/webconsole/Action.java (original)
+++ felix/trunk/webconsole/src/main/java/org/apache/felix/webconsole/Action.java Tue May 20
09:49:44 2008
@@ -30,8 +30,13 @@
  * <p>
  * <strong>NOTE: This interface is just an intermediate solution for making the
  * web console extensible. Future releases of the web console will remove this
- * and the {@link Render} interfaces and use the <code>javax.servlet.Servlet</code>
- * interface with predefined service registration properties instead.</strong>
+ * and the {@link Render} interfaces and use the
+ * <code>javax.servlet.Servlet</code> interface with predefined service
+ * registration properties instead.</strong>
+ * 
+ * @deprecated This interface will be removed when <a
+ *             href="https://issues.apache.org/jira/browse/FELIX-574">FELIX-574</a>
+ *             will be implemented.
  */
 public interface Action
 {

Modified: felix/trunk/webconsole/src/main/java/org/apache/felix/webconsole/Render.java
URL: http://svn.apache.org/viewvc/felix/trunk/webconsole/src/main/java/org/apache/felix/webconsole/Render.java?rev=658334&r1=658333&r2=658334&view=diff
==============================================================================
--- felix/trunk/webconsole/src/main/java/org/apache/felix/webconsole/Render.java (original)
+++ felix/trunk/webconsole/src/main/java/org/apache/felix/webconsole/Render.java Tue May 20
09:49:44 2008
@@ -16,35 +16,35 @@
  */
 package org.apache.felix.webconsole;
 
-
 import java.io.IOException;
 
 import javax.servlet.ServletException;
 import javax.servlet.http.HttpServletRequest;
 import javax.servlet.http.HttpServletResponse;
 
-
 /**
  * The <code>Render</code> interface defines a service interface for
  * information renderings to be plugged into the web console.
  * <p>
  * <strong>NOTE: This interface is just an intermediate solution for making the
  * web console extensible. Future releases of the web console will remove this
- * and the {@link Action} interfaces and use the <code>javax.servlet.Servlet</code>
- * interface with predefined service registration properties instead.</strong>
+ * and the {@link Action} interfaces and use the
+ * <code>javax.servlet.Servlet</code> interface with predefined service
+ * registration properties instead.</strong>
+ * 
+ * @deprecated This interface will be removed when <a
+ *             href="https://issues.apache.org/jira/browse/FELIX-574">FELIX-574</a>
+ *             will be implemented.
  */
-public interface Render
-{
+public interface Render {
 
     static final String SERVICE = Render.class.getName();
 
-
     String getName();
 
-
     String getLabel();
 
-
-    void render( HttpServletRequest request, HttpServletResponse response ) throws ServletException,
IOException;
+    void render(HttpServletRequest request, HttpServletResponse response)
+            throws ServletException, IOException;
 
 }



Mime
View raw message