Deprecate Tiles 2 support

Issue: SPR-12214
This commit is contained in:
Juergen Hoeller 2014-12-30 14:59:50 +01:00
parent d6b16ffee3
commit 0a36559a43
8 changed files with 16 additions and 0 deletions

View File

@ -34,7 +34,9 @@ import org.springframework.web.servlet.DispatcherServlet;
* @see #getPreparer(String, org.springframework.web.context.WebApplicationContext)
* @see SimpleSpringPreparerFactory
* @see SpringBeanPreparerFactory
* @deprecated as of Spring 4.2, in favor of Tiles 3
*/
@Deprecated
public abstract class AbstractSpringPreparerFactory implements PreparerFactory {
@Override

View File

@ -35,7 +35,9 @@ import org.springframework.web.context.WebApplicationContext;
* @author Juergen Hoeller
* @since 2.5
* @see SpringBeanPreparerFactory
* @deprecated as of Spring 4.2, in favor of Tiles 3
*/
@Deprecated
public class SimpleSpringPreparerFactory extends AbstractSpringPreparerFactory {
/** Cache of shared ViewPreparer instances: bean name -> bean instance */

View File

@ -31,7 +31,9 @@ import org.springframework.web.context.WebApplicationContext;
* @author Juergen Hoeller
* @since 2.5
* @see SimpleSpringPreparerFactory
* @deprecated as of Spring 4.2, in favor of Tiles 3
*/
@Deprecated
public class SpringBeanPreparerFactory extends AbstractSpringPreparerFactory {
@Override

View File

@ -39,7 +39,9 @@ import org.springframework.web.servlet.support.RequestContextUtils;
* @author Juergen Hoeller
* @since 2.5
* @see org.apache.tiles.definition.UrlDefinitionsFactory#LOCALE_RESOLVER_IMPL_PROPERTY
* @deprecated as of Spring 4.2, in favor of Tiles 3
*/
@Deprecated
public class SpringLocaleResolver extends DefaultLocaleResolver {
@Override

View File

@ -35,7 +35,9 @@ import org.springframework.web.context.support.ServletContextResourcePatternReso
*
* @author Juergen Hoeller
* @since 4.0.1
* @deprecated as of Spring 4.2, in favor of Tiles 3
*/
@Deprecated
public class SpringWildcardServletTilesApplicationContext extends ServletTilesApplicationContext {
private final ResourcePatternResolver resolver;

View File

@ -106,7 +106,9 @@ import org.springframework.web.context.ServletContextAware;
* @since 2.5
* @see TilesView
* @see TilesViewResolver
* @deprecated as of Spring 4.2, in favor of Tiles 3
*/
@Deprecated
public class TilesConfigurer implements ServletContextAware, InitializingBean, DisposableBean {
private static final boolean tilesElPresent =

View File

@ -52,7 +52,9 @@ import org.springframework.web.servlet.view.AbstractUrlBasedView;
* @since 2.5
* @see #setUrl
* @see TilesConfigurer
* @deprecated as of Spring 4.2, in favor of Tiles 3
*/
@Deprecated
public class TilesView extends AbstractUrlBasedView {
private boolean alwaysInclude = false;

View File

@ -38,7 +38,9 @@ import org.springframework.web.servlet.view.UrlBasedViewResolver;
* @see #setSuffix
* @see #setRequestContextAttribute
* @see TilesView
* @deprecated as of Spring 4.2, in favor of Tiles 3
*/
@Deprecated
public class TilesViewResolver extends UrlBasedViewResolver {
private Boolean alwaysInclude;