FELIX-574 Deprecating Action and Render interface as a first
step towards implementation as proposed by Stuart McCulloch (thanks).
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@658334 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/webconsole/src/main/java/org/apache/felix/webconsole/Action.java b/webconsole/src/main/java/org/apache/felix/webconsole/Action.java
index b0d9f68..fa6119d 100644
--- a/webconsole/src/main/java/org/apache/felix/webconsole/Action.java
+++ b/webconsole/src/main/java/org/apache/felix/webconsole/Action.java
@@ -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
{
diff --git a/webconsole/src/main/java/org/apache/felix/webconsole/Render.java b/webconsole/src/main/java/org/apache/felix/webconsole/Render.java
index b2e86aa..41fefbf 100644
--- a/webconsole/src/main/java/org/apache/felix/webconsole/Render.java
+++ b/webconsole/src/main/java/org/apache/felix/webconsole/Render.java
@@ -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;
}