diff options
author | Artur Signell <artur@vaadin.com> | 2014-12-19 17:16:59 +0200 |
---|---|---|
committer | Vaadin Code Review <review@vaadin.com> | 2014-12-29 09:29:15 +0000 |
commit | 93e83ab8fa7b0b692c91bebf35c135886354cf5e (patch) | |
tree | 970cc2b6738a32f50cea817cf4b42a7bfbfd8cb6 /uitest/src | |
parent | daeb97f2e7ebd83a815ee46d677692de9b25075e (diff) | |
download | vaadin-framework-93e83ab8fa7b0b692c91bebf35c135886354cf5e.tar.gz vaadin-framework-93e83ab8fa7b0b692c91bebf35c135886354cf5e.zip |
Remove scan removal hacks as we are now using VoidAnnotationParser
Change-Id: I28af87d84039c511e2378a67bccb9d0c34c55989
Diffstat (limited to 'uitest/src')
-rw-r--r-- | uitest/src/com/vaadin/launcher/DevelopmentServerLauncher.java | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/uitest/src/com/vaadin/launcher/DevelopmentServerLauncher.java b/uitest/src/com/vaadin/launcher/DevelopmentServerLauncher.java index f00a05e810..871111ad8b 100644 --- a/uitest/src/com/vaadin/launcher/DevelopmentServerLauncher.java +++ b/uitest/src/com/vaadin/launcher/DevelopmentServerLauncher.java @@ -48,7 +48,6 @@ import org.eclipse.jetty.server.Connector; import org.eclipse.jetty.server.Server; import org.eclipse.jetty.server.nio.SelectChannelConnector; import org.eclipse.jetty.server.ssl.SslSocketConnector; -import org.eclipse.jetty.servlet.ServletHolder; import org.eclipse.jetty.util.Scanner; import org.eclipse.jetty.util.ssl.SslContextFactory; import org.eclipse.jetty.webapp.WebAppContext; @@ -257,7 +256,6 @@ public class DevelopmentServerLauncher { webappcontext.stop(); server.stop(); webappcontext.start(); - disableAtmosphereAnnotationScan(webappcontext); server.start(); } }); @@ -278,8 +276,6 @@ public class DevelopmentServerLauncher { // Read web.xml to find all configured servlets webappcontext.start(); - disableAtmosphereAnnotationScan(webappcontext); - try { server.start(); @@ -351,19 +347,6 @@ public class DevelopmentServerLauncher { return "http://localhost:" + port + serverArgs.get("context"); } - private static void disableAtmosphereAnnotationScan( - WebAppContext webappcontext) { - // Reconfigure all servlets to avoid startup delay - for (ServletHolder servletHolder : webappcontext.getServletHandler() - .getServlets()) { - if (servletHolder - .getInitParameter("org.atmosphere.cpr.scanClassPath") == null) { - servletHolder.setInitParameter( - "org.atmosphere.cpr.scanClassPath", "false"); - } - } - } - /** * Assign default value for given key. * |