diff options
author | Leif Åstrand <leif@vaadin.com> | 2012-09-06 10:32:10 +0300 |
---|---|---|
committer | Leif Åstrand <leif@vaadin.com> | 2012-09-06 10:58:13 +0300 |
commit | 83675b500405ef3281f2fa143a091030684d67e5 (patch) | |
tree | 8e4c6aad84a6b47f98b317635d2e9af54bcd0208 /server | |
parent | 36824087ab6daf23f6d06018aed1d21d13249289 (diff) | |
download | vaadin-framework-83675b500405ef3281f2fa143a091030684d67e5.tar.gz vaadin-framework-83675b500405ef3281f2fa143a091030684d67e5.zip |
Fix some stray references to the name deployment configuration (#9402)
Diffstat (limited to 'server')
8 files changed, 13 insertions, 15 deletions
diff --git a/server/src/com/vaadin/server/AddonContext.java b/server/src/com/vaadin/server/AddonContext.java index 2cf9b23c75..606d3c3568 100644 --- a/server/src/com/vaadin/server/AddonContext.java +++ b/server/src/com/vaadin/server/AddonContext.java @@ -55,8 +55,8 @@ public class AddonContext { private List<AddonContextListener> initedListeners = new ArrayList<AddonContextListener>(); /** - * Creates a new context using a given deployment configuration. Only the - * framework itself should typically create AddonContext methods. + * Creates a new context using a given vaadin service. Only the framework + * itself should typically create AddonContext instances. * * @param vaadinService * the vaadin service for the associated servlet or portlet. @@ -67,9 +67,9 @@ public class AddonContext { } /** - * Gets the deployment configuration for this context. + * Gets the vaadin service for this context. * - * @return the deployment configuration + * @return the vaadin service */ public VaadinService getVaadinService() { return vaadinService; diff --git a/server/src/com/vaadin/server/VaadinServlet.java b/server/src/com/vaadin/server/VaadinServlet.java index cd62e292fb..ce436205d8 100644 --- a/server/src/com/vaadin/server/VaadinServlet.java +++ b/server/src/com/vaadin/server/VaadinServlet.java @@ -409,9 +409,9 @@ public class VaadinServlet extends HttpServlet implements Constants { } /** - * Gets a the deployment configuration for this servlet. + * Gets a the vaadin service for this servlet. * - * @return the deployment configuration + * @return the vaadin service */ protected ServletService getVaadinService() { return servletService; diff --git a/server/src/com/vaadin/server/WrappedHttpServletRequest.java b/server/src/com/vaadin/server/WrappedHttpServletRequest.java index 7b458dd3d4..87c6c521af 100644 --- a/server/src/com/vaadin/server/WrappedHttpServletRequest.java +++ b/server/src/com/vaadin/server/WrappedHttpServletRequest.java @@ -36,8 +36,7 @@ public class WrappedHttpServletRequest extends HttpServletRequestWrapper private final ServletService vaadinService; /** - * Wraps a http servlet request and associates with a deployment - * configuration + * Wraps a http servlet request and associates with a vaadin service * * @param request * the http servlet request to wrap diff --git a/server/src/com/vaadin/server/WrappedHttpServletResponse.java b/server/src/com/vaadin/server/WrappedHttpServletResponse.java index 5fbfa451d8..74a580f874 100644 --- a/server/src/com/vaadin/server/WrappedHttpServletResponse.java +++ b/server/src/com/vaadin/server/WrappedHttpServletResponse.java @@ -36,7 +36,7 @@ public class WrappedHttpServletResponse extends HttpServletResponseWrapper private ServletService vaadinService; /** - * Wraps a http servlet response and an associated deployment configuration + * Wraps a http servlet response and an associated vaadin service * * @param response * the http servlet response to wrap diff --git a/server/src/com/vaadin/server/WrappedPortletRequest.java b/server/src/com/vaadin/server/WrappedPortletRequest.java index bea002181b..dd46194a2a 100644 --- a/server/src/com/vaadin/server/WrappedPortletRequest.java +++ b/server/src/com/vaadin/server/WrappedPortletRequest.java @@ -43,7 +43,7 @@ public class WrappedPortletRequest implements WrappedRequest { private final PortletService vaadinService; /** - * Wraps a portlet request and an associated deployment configuration + * Wraps a portlet request and an associated vaadin service * * @param request * the portlet request to wrap diff --git a/server/src/com/vaadin/server/WrappedPortletResponse.java b/server/src/com/vaadin/server/WrappedPortletResponse.java index af4288fbef..5888c33b43 100644 --- a/server/src/com/vaadin/server/WrappedPortletResponse.java +++ b/server/src/com/vaadin/server/WrappedPortletResponse.java @@ -51,7 +51,7 @@ public class WrappedPortletResponse implements WrappedResponse { private PortletService vaadinService; /** - * Wraps a portlet response and an associated deployment configuration + * Wraps a portlet response and an associated vaadin service * * @param response * the portlet response to wrap diff --git a/server/tests/src/com/vaadin/server/TestAbstractApplicationServletStaticFilesLocation.java b/server/tests/src/com/vaadin/server/TestAbstractApplicationServletStaticFilesLocation.java index e6d84a2b83..d8d1521a4c 100644 --- a/server/tests/src/com/vaadin/server/TestAbstractApplicationServletStaticFilesLocation.java +++ b/server/tests/src/com/vaadin/server/TestAbstractApplicationServletStaticFilesLocation.java @@ -29,8 +29,7 @@ public class TestAbstractApplicationServletStaticFilesLocation extends TestCase servlet = new VaadinServlet(); // Workaround to avoid calling init and creating servlet config - Field f = VaadinServlet.class - .getDeclaredField("deploymentConfiguration"); + Field f = VaadinServlet.class.getDeclaredField("servletService"); f.setAccessible(true); f.set(servlet, new ServletService(servlet, new DefaultApplicationConfiguration(servlet.getClass(), diff --git a/server/tests/src/com/vaadin/tests/server/component/root/CustomUIClassLoader.java b/server/tests/src/com/vaadin/tests/server/component/root/CustomUIClassLoader.java index 2b4676bc42..acc89895ef 100644 --- a/server/tests/src/com/vaadin/tests/server/component/root/CustomUIClassLoader.java +++ b/server/tests/src/com/vaadin/tests/server/component/root/CustomUIClassLoader.java @@ -72,13 +72,13 @@ public class CustomUIClassLoader extends TestCase { } private static WrappedRequest createRequestMock(ClassLoader classloader) { - // Mock a DeploymentConfiguration to give the passed classloader + // Mock a VaadinService to give the passed classloader VaadinService configurationMock = EasyMock .createMock(VaadinService.class); EasyMock.expect(configurationMock.getClassLoader()).andReturn( classloader); - // Mock a WrappedRequest to give the mocked deployment configuration + // Mock a WrappedRequest to give the mocked vaadin service WrappedRequest requestMock = EasyMock.createMock(WrappedRequest.class); EasyMock.expect(requestMock.getVaadinService()).andReturn( configurationMock); |