|
|
|
@ -1,5 +1,5 @@ |
|
|
|
/* |
|
|
|
/* |
|
|
|
* Copyright 2002-2012 the original author or authors. |
|
|
|
* Copyright 2002-2014 the original author or authors. |
|
|
|
* |
|
|
|
* |
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License"); |
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License"); |
|
|
|
* you may not use this file except in compliance with the License. |
|
|
|
* you may not use this file except in compliance with the License. |
|
|
|
@ -18,7 +18,6 @@ package org.springframework.web.servlet.mvc; |
|
|
|
|
|
|
|
|
|
|
|
import java.util.Enumeration; |
|
|
|
import java.util.Enumeration; |
|
|
|
import java.util.Properties; |
|
|
|
import java.util.Properties; |
|
|
|
|
|
|
|
|
|
|
|
import javax.servlet.Servlet; |
|
|
|
import javax.servlet.Servlet; |
|
|
|
import javax.servlet.ServletConfig; |
|
|
|
import javax.servlet.ServletConfig; |
|
|
|
import javax.servlet.ServletContext; |
|
|
|
import javax.servlet.ServletContext; |
|
|
|
@ -79,13 +78,11 @@ import org.springframework.web.servlet.ModelAndView; |
|
|
|
* @author Juergen Hoeller |
|
|
|
* @author Juergen Hoeller |
|
|
|
* @since 1.1.1 |
|
|
|
* @since 1.1.1 |
|
|
|
* @see ServletForwardingController |
|
|
|
* @see ServletForwardingController |
|
|
|
* @see org.springframework.orm.hibernate3.support.OpenSessionInViewInterceptor |
|
|
|
* @see org.springframework.orm.jpa.support.OpenEntityManagerInViewInterceptor |
|
|
|
* @see org.springframework.orm.hibernate3.support.OpenSessionInViewFilter |
|
|
|
* @see org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter |
|
|
|
* @see org.springframework.orm.jdo.support.OpenPersistenceManagerInViewInterceptor |
|
|
|
|
|
|
|
* @see org.springframework.orm.jdo.support.OpenPersistenceManagerInViewFilter |
|
|
|
|
|
|
|
*/ |
|
|
|
*/ |
|
|
|
public class ServletWrappingController extends AbstractController |
|
|
|
public class ServletWrappingController extends AbstractController |
|
|
|
implements BeanNameAware, InitializingBean, DisposableBean { |
|
|
|
implements BeanNameAware, InitializingBean, DisposableBean { |
|
|
|
|
|
|
|
|
|
|
|
private Class<?> servletClass; |
|
|
|
private Class<?> servletClass; |
|
|
|
|
|
|
|
|
|
|
|
|