Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoakim Erdfelt2015-03-11 23:02:18 +0000
committerJoakim Erdfelt2015-03-12 17:09:53 +0000
commite92bcccc84e704b938ecaa4d665edada2c3737e3 (patch)
tree904123fc62ca228b83403052b15587293bfa9c55 /jetty-plus
parent0301de099d876124b5a0b26da171105c63ab0632 (diff)
downloadorg.eclipse.jetty.project-e92bcccc84e704b938ecaa4d665edada2c3737e3.tar.gz
org.eclipse.jetty.project-e92bcccc84e704b938ecaa4d665edada2c3737e3.tar.xz
org.eclipse.jetty.project-e92bcccc84e704b938ecaa4d665edada2c3737e3.zip
Using new Decorator
Diffstat (limited to 'jetty-plus')
-rw-r--r--jetty-plus/src/main/java/org/eclipse/jetty/plus/webapp/PlusConfiguration.java4
-rw-r--r--jetty-plus/src/main/java/org/eclipse/jetty/plus/webapp/PlusDecorator.java2
2 files changed, 3 insertions, 3 deletions
diff --git a/jetty-plus/src/main/java/org/eclipse/jetty/plus/webapp/PlusConfiguration.java b/jetty-plus/src/main/java/org/eclipse/jetty/plus/webapp/PlusConfiguration.java
index bac0d91a84..993f6582ab 100644
--- a/jetty-plus/src/main/java/org/eclipse/jetty/plus/webapp/PlusConfiguration.java
+++ b/jetty-plus/src/main/java/org/eclipse/jetty/plus/webapp/PlusConfiguration.java
@@ -48,13 +48,13 @@ public class PlusConfiguration extends AbstractConfiguration
public void preConfigure (WebAppContext context)
throws Exception
{
- context.addDecorator(new PlusDecorator(context));
+ context.getObjectFactory().addDecorator(new PlusDecorator(context));
}
@Override
public void cloneConfigure(WebAppContext template, WebAppContext context) throws Exception
{
- context.addDecorator(new PlusDecorator(context));
+ context.getObjectFactory().addDecorator(new PlusDecorator(context));
}
@Override
diff --git a/jetty-plus/src/main/java/org/eclipse/jetty/plus/webapp/PlusDecorator.java b/jetty-plus/src/main/java/org/eclipse/jetty/plus/webapp/PlusDecorator.java
index a29bea4ad2..ee7a92a74c 100644
--- a/jetty-plus/src/main/java/org/eclipse/jetty/plus/webapp/PlusDecorator.java
+++ b/jetty-plus/src/main/java/org/eclipse/jetty/plus/webapp/PlusDecorator.java
@@ -21,7 +21,7 @@ package org.eclipse.jetty.plus.webapp;
import org.eclipse.jetty.plus.annotation.InjectionCollection;
import org.eclipse.jetty.plus.annotation.LifeCycleCallbackCollection;
import org.eclipse.jetty.plus.annotation.RunAsCollection;
-import org.eclipse.jetty.servlet.ServletContextHandler.Decorator;
+import org.eclipse.jetty.util.Decorator;
import org.eclipse.jetty.util.log.Log;
import org.eclipse.jetty.util.log.Logger;
import org.eclipse.jetty.webapp.WebAppContext;

Back to the top