Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoakim Erdfelt2014-11-11 16:59:35 -0500
committerJoakim Erdfelt2015-03-12 13:04:13 -0400
commit2b7b5ef49548dddc75d74ebe21357a579a8fa648 (patch)
tree4ee228305e3098fdbec71c62e7452dcac04ecacd /jetty-servlet
parentb7d719be5fd5c199ff5a36d25a98a5df08b65915 (diff)
downloadorg.eclipse.jetty.project-2b7b5ef49548dddc75d74ebe21357a579a8fa648.tar.gz
org.eclipse.jetty.project-2b7b5ef49548dddc75d74ebe21357a579a8fa648.tar.xz
org.eclipse.jetty.project-2b7b5ef49548dddc75d74ebe21357a579a8fa648.zip
Rethinking Decorators
Diffstat (limited to 'jetty-servlet')
-rw-r--r--jetty-servlet/src/main/java/org/eclipse/jetty/servlet/ServletContextHandler.java9
1 files changed, 5 insertions, 4 deletions
diff --git a/jetty-servlet/src/main/java/org/eclipse/jetty/servlet/ServletContextHandler.java b/jetty-servlet/src/main/java/org/eclipse/jetty/servlet/ServletContextHandler.java
index abf59a30cf..72b2199a65 100644
--- a/jetty-servlet/src/main/java/org/eclipse/jetty/servlet/ServletContextHandler.java
+++ b/jetty-servlet/src/main/java/org/eclipse/jetty/servlet/ServletContextHandler.java
@@ -1449,11 +1449,12 @@ public class ServletContextHandler extends ContextHandler
/* ------------------------------------------------------------ */
- /** Interface to decorate loaded classes.
+ /**
+ * Interface to decorate loaded classes.
+ * <p>
+ * Left for backwards compatibility with Weld / CDI
*/
- public interface Decorator
+ public interface Decorator extends org.eclipse.jetty.util.Decorator
{
- <T> T decorate (T o);
- void destroy (Object o);
}
}

Back to the top