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-quickstart
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-quickstart')
-rw-r--r--jetty-quickstart/src/main/java/org/eclipse/jetty/quickstart/QuickStartConfiguration.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/jetty-quickstart/src/main/java/org/eclipse/jetty/quickstart/QuickStartConfiguration.java b/jetty-quickstart/src/main/java/org/eclipse/jetty/quickstart/QuickStartConfiguration.java
index 5aecada58b..7dceb10dd4 100644
--- a/jetty-quickstart/src/main/java/org/eclipse/jetty/quickstart/QuickStartConfiguration.java
+++ b/jetty-quickstart/src/main/java/org/eclipse/jetty/quickstart/QuickStartConfiguration.java
@@ -138,7 +138,7 @@ public class QuickStartConfiguration extends WebInfConfiguration
context.getMetaData().addDescriptorProcessor(new QuickStartDescriptorProcessor());
//add a decorator that will find introspectable annotations
- context.addDecorator(new AnnotationDecorator(context)); //this must be the last Decorator because they are run in reverse order!
+ context.getObjectFactory().addDecorator(new AnnotationDecorator(context)); //this must be the last Decorator because they are run in reverse order!
//add a context bean that will run ServletContainerInitializers as the context starts
ServletContainerInitializersStarter starter = (ServletContainerInitializersStarter)context.getAttribute(AnnotationConfiguration.CONTAINER_INITIALIZER_STARTER);

Back to the top