diff --git a/VERSION.txt b/VERSION.txt index 4c5cde3159d..d5b45855f68 100644 --- a/VERSION.txt +++ b/VERSION.txt @@ -7,6 +7,7 @@ jetty-7.1-SNAPSHOT + JETTY-1202 Use platform default algorithm for SecureRandom + Fix jetty-plus.xml reference to addLifeCycle + Add AnnotationConfiguration to jetty-plus.xml + + 308420 convert jetty-plus.xml to use DeploymentManager jetty-7.0.2.v20100331 + 297552 Don't call Continuation timeouts from acceptor tick diff --git a/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/providers/WebAppProvider.java b/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/providers/WebAppProvider.java index 80c876ce2f4..6d648b22eb8 100644 --- a/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/providers/WebAppProvider.java +++ b/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/providers/WebAppProvider.java @@ -31,6 +31,7 @@ public class WebAppProvider extends ScanningAppProvider private boolean _parentLoaderPriority = false; private String _defaultsDescriptor; private Filter _filter; + private String[] _configurationClasses; private static class Filter implements FilenameFilter { @@ -167,6 +168,26 @@ public class WebAppProvider extends ScanningAppProvider } } + + /* ------------------------------------------------------------ */ + /** + * @param configurations The configuration class names. + */ + public void setConfigurationClasses(String[] configurations) + { + _configurationClasses = configurations==null?null:(String[])configurations.clone(); + } + + /* ------------------------------------------------------------ */ + /** + * + */ + public String[] getConfigurationClasses() + { + return _configurationClasses; + } + + /* ------------------------------------------------------------ */ public ContextHandler createContextHandler(final App app) throws Exception { @@ -208,6 +229,8 @@ public class WebAppProvider extends ScanningAppProvider wah.setDefaultsDescriptor(_defaultsDescriptor); wah.setExtractWAR(_extractWars); wah.setParentLoaderPriority(_parentLoaderPriority); + if (_configurationClasses != null) + wah.setConfigurationClasses(_configurationClasses); return wah; } diff --git a/jetty-plus/src/main/config/etc/jetty-plus.xml b/jetty-plus/src/main/config/etc/jetty-plus.xml index 8aece6ab3ee..027a1dc7b49 100644 --- a/jetty-plus/src/main/config/etc/jetty-plus.xml +++ b/jetty-plus/src/main/config/etc/jetty-plus.xml @@ -55,28 +55,25 @@ - - - + + + - + + + + + /webapps-plus + /etc/webdefault.xml + 5 + /contexts + false + true + + + + + + -->