This project has retired. For details please refer to its Attic page.
Deprecated List (Tiles 2 2.2.2 API)

Deprecated API


Contents
Deprecated Interfaces
org.apache.tiles.awareness.AbstractTilesApplicationContextFactoryAware
          Since AbstractTilesApplicationContextFactory is deprecated, this dependency injection interface is deprecated. 
org.apache.tiles.velocity.template.BodyExecutable
          Use Velocity directives. 
org.apache.tiles.definition.Definitions
          This interface is never used, except in the deprecated class DefinitionsImpl. 
org.apache.tiles.velocity.template.Executable
          Use Velocity directives. 
org.apache.tiles.evaluator.el.ExpressionFactoryFactory
          Use ExpressionFactoryFactory. 
org.apache.tiles.Initializable
          Parameter-based initialization feature is deprecated and no longer supported. 
org.apache.tiles.definition.ReloadableDefinitionsFactory
          Use Refreshable. 
org.apache.tiles.context.TilesContextFactory
          Use TilesRequestContextFactory. 
 

Deprecated Classes
org.apache.tiles.context.AbstractTilesApplicationContextFactory
          Create an instance of TilesApplicationContext yourself, by implementing TilesInitializer or extending AbstractTilesInitializer and overriding createTilesApplicationContext method. 
org.apache.tiles.velocity.template.AddAttributeVModel
          Use Velocity directives. 
org.apache.tiles.velocity.template.AddListAttributeVModel
          Use Velocity directives. 
org.apache.tiles.context.BasicAttributeContext
          Use BasicAttributeContext. 
org.apache.tiles.startup.BasicTilesInitializer
          Don't use it, please extend AbstractTilesInitializer. 
org.apache.tiles.impl.mgmt.CachingKeyedDefinitionsFactoryTilesContainer
          Register different containers using TilesAccess.setContainer( org.apache.tiles.TilesApplicationContext, org.apache.tiles.TilesContainer, String) and using CachingTilesContainer as container implementation. 
org.apache.tiles.context.ChainedTilesApplicationContextFactory
          Create an instance of TilesApplicationContext yourself, by implementing TilesInitializer or extending AbstractTilesInitializer and overriding createTilesApplicationContext method.
Moreover, it does not make sense to "try" if your application is servlet-based, portlet-based, etc. You know it, right?
 
org.apache.tiles.context.ChainedTilesContextFactory
          Use ChainedTilesApplicationContextFactory and ChainedTilesRequestContextFactory. 
org.apache.tiles.util.ClassUtil
          Use ClassUtil. 
org.apache.tiles.definition.DefinitionsImpl
          This class is, in fact, part of the implementation of UrlDefinitionsFactory and ResolvingLocaleUrlDefinitionDAO. 
org.apache.tiles.velocity.template.DefinitionVModel
          Use Velocity directives. 
org.apache.tiles.evaluator.el.ELAttributeEvaluator
          Use ELAttributeEvaluator. 
org.apache.tiles.evaluator.el.ELContextImpl
          Use ELContextImpl. 
org.apache.tiles.context.enhanced.EnhancedContextFactory
          Use EnhancedTilesApplicationContextFactory. 
org.apache.tiles.context.enhanced.EnhancedTilesApplicationContextFactory
          Create an instance of EnhancedTilesApplicationContext yourself, by implementing TilesInitializer or extending AbstractTilesInitializer and overriding createTilesApplicationContext method.
 
org.apache.tiles.velocity.template.GetAsStringVModel
          Use Velocity directives. 
org.apache.tiles.velocity.template.ImportAttributeVModel
          Use Velocity directives. 
org.apache.tiles.jsp.taglib.definition.InitContainerTag
          Don't use it, to initialize Tiles use TilesInitializer and the various ways to initialize Tiles, like TilesServlet. 
org.apache.tiles.velocity.template.InsertAttributeVModel
          Use Velocity directives. 
org.apache.tiles.velocity.template.InsertDefinitionVModel
          Use Velocity directives. 
org.apache.tiles.velocity.template.InsertTemplateVModel
          Use Velocity directives. 
org.apache.tiles.jsp.evaluator.el.JspExpressionFactoryFactory
          Use JspExpressionFactoryFactory. 
org.apache.tiles.jsp.context.JspTilesContextFactory
          Use JspTilesRequestContextFactory. 
org.apache.tiles.impl.KeyedDefinitionsFactoryTilesContainer
          Register different containers using TilesAccess.setContainer( org.apache.tiles.TilesApplicationContext, org.apache.tiles.TilesContainer, String) 
org.apache.tiles.factory.KeyedDefinitionsFactoryTilesContainerFactory
          This class can be replaced by registering different TilesContainer with different keys, by overriding AbstractTilesInitializer getContainerKey method. 
org.apache.tiles.context.ListAttribute
          Use ListAttribute. 
org.apache.tiles.portlet.context.PortletTilesApplicationContextFactory
          Create an instance of PortletTilesApplicationContext yourself, by implementing TilesInitializer or extending AbstractTilesInitializer and overriding createTilesApplicationContext method.
 
org.apache.tiles.portlet.context.PortletTilesContextFactory
          Use PortletTilesApplicationContextFactory or PortletTilesRequestContextFactory. 
org.apache.tiles.velocity.template.PutAttributeVModel
          Use Velocity directives. 
org.apache.tiles.velocity.template.PutListAttributeVModel
          Use Velocity directives. 
org.apache.tiles.servlet.context.ServletTilesApplicationContextFactory
          Create an instance of ServletTilesApplicationContext yourself, by implementing TilesInitializer or extending AbstractTilesInitializer and overriding createTilesApplicationContext method.
 
org.apache.tiles.servlet.context.ServletTilesContextFactory
           
org.apache.tiles.velocity.template.Tiles2Tool
          Use Velocity directives. 
org.apache.tiles.jsp.taglib.TilesBodyTag
          Since simple style of tags is used, this class is useless. 
org.apache.tiles.factory.TilesContainerFactory
          Please extend AbstractTilesContainerFactory or use an already extended class. Parameter-based initialization is no longer supported. 
org.apache.tiles.evaluator.el.TilesContextBeanELResolver
          Use TilesContextBeanELResolver. 
org.apache.tiles.evaluator.el.TilesContextELResolver
          Use TilesContextELResolver. 
org.apache.tiles.web.startup.TilesFilter
          Use TilesServlet or TilesListener. If you want a decoration Filter, use TilesDecorationFilter. Moreover, definition files reload themselves if the DefinitionDAO implements Refreshable. 
org.apache.tiles.web.startup.TilesListener
          Please extend AbstractTilesListener. 
org.apache.tiles.web.startup.TilesServlet
          Please extend AbstractTilesInitializerServlet. 
org.apache.tiles.velocity.template.TilesVelocityRepository
          Use Velocity directives. 
org.apache.tiles.evaluator.el.TomcatExpressionFactoryFactory
          Upgrade to Servlet 2.5 and JSP 2.1 and use JspExpressionFactoryFactory. 
org.apache.tiles.renderer.impl.UntypedAttributeRenderer
          Use ChainedDelegateAttributeRenderer. 
org.apache.tiles.definition.UrlDefinitionsFactory
          Use UnresolvingLocaleDefinitionsFactory and using ResolvingLocaleUrlDefinitionDAO as Tiles DAO. 
org.apache.tiles.portlet.context.wildcard.WildcardPortletTilesApplicationContext
          Use WildcardPortletTilesApplicationContext. 
org.apache.tiles.portlet.context.wildcard.WildcardPortletTilesApplicationContextFactory
          Create an instance of WildcardPortletTilesApplicationContext yourself, by implementing TilesInitializer or extending AbstractTilesInitializer and overriding createTilesApplicationContext method.
 
org.apache.tiles.servlet.context.wildcard.WildcardServletTilesApplicationContext
          Use WildcardServletTilesApplicationContext. 
org.apache.tiles.servlet.context.wildcard.WildcardServletTilesApplicationContextFactory
          Create an instance of WildcardServletTilesApplicationContext directly. 
 

Deprecated Enums
org.apache.tiles.Attribute.AttributeType
          Use Attribute.setRenderer(String) and Attribute.getRenderer(). 
 

Deprecated Fields
org.apache.tiles.factory.TilesContainerFactory.CONTAINER_FACTORY_INIT_PARAM
          Use AbstractTilesContainerFactory.CONTAINER_FACTORY_INIT_PARAM. 
org.apache.tiles.factory.TilesContainerFactory.CONTEXT_FACTORY_INIT_PARAM
          Use AbstractTilesApplicationContextFactory.APPLICATION_CONTEXT_FACTORY_INIT_PARAM or TilesContainerFactory.REQUEST_CONTEXT_FACTORY_INIT_PARAM. 
org.apache.tiles.context.ChainedTilesContextFactory.DEFAULT_FACTORY_CLASS_NAMES
          Simply do not use it. 
org.apache.tiles.renderer.impl.BasicRendererFactory.DEFAULT_RENDERER_CLASS_NAME
          Do not use, the default renderer class should be determined when building the container. 
org.apache.tiles.impl.BasicTilesContainer.DEFINITIONS_CONFIG
          Use DefinitionsFactory.DEFINITIONS_CONFIG. 
org.apache.tiles.Attribute.expression
          Use Attribute.expressionObject. 
org.apache.tiles.context.ChainedTilesContextFactory.FACTORY_CLASS_NAMES
          Simply do not use it. 
org.apache.tiles.definition.UrlDefinitionsFactory.lastModifiedDates
          No more used. 
org.apache.tiles.definition.UrlDefinitionsFactory.reader
          No more used. 
org.apache.tiles.definition.UrlDefinitionsFactory.sources
          Use URLReader.addSourceURL(URL). 
 

Deprecated Methods
org.apache.tiles.Definition.addAttribute(Attribute)
          Use BasicAttributeContext.putAttribute(String, Attribute). 
org.apache.tiles.definition.UrlDefinitionsFactory.addDefinitions(Definitions, TilesRequestContext)
          Let the definitions be loaded by a DefinitionDAO. 
org.apache.tiles.definition.DefinitionsFactory.addSource(Object)
          Let the Definitions Factory load its sources by itself. 
org.apache.tiles.definition.UnresolvingLocaleDefinitionsFactory.addSource(Object)
           
org.apache.tiles.definition.UrlDefinitionsFactory.addSource(Object)
          Use URLReader.addSourceURL(URL). 
org.apache.tiles.definition.UrlDefinitionsFactory.calculatePostfixes(Locale)
          Use LocaleUtil.calculatePostfixes(Locale) instead. 
org.apache.tiles.definition.UrlDefinitionsFactory.concatPostfix(String, String)
          Use LocaleUtil.concatPostfix(String,String) instead 
org.apache.tiles.factory.TilesContainerFactory.createContainer(Object)
          Use TilesContainerFactory.createContainer(TilesApplicationContext). 
org.apache.tiles.web.startup.TilesListener.createContainer(ServletContext)
          Extend BasicTilesInitializer. 
org.apache.tiles.definition.UrlDefinitionsFactory.createDefinitions()
          Do not use! Deprecated with no replacement. 
org.apache.tiles.factory.KeyedDefinitionsFactoryTilesContainerFactory.createDefinitionsFactory(Object)
          Use KeyedDefinitionsFactoryTilesContainerFactory.createDefinitionsFactory(TilesApplicationContext). 
org.apache.tiles.factory.TilesContainerFactory.createMutableTilesContainer(Object)
          Use TilesContainerFactory.createMutableTilesContainer(TilesApplicationContext). 
org.apache.tiles.servlet.context.ServletTilesApplicationContext.createRequestContext(Object, Object)
          Use TilesRequestContextFactory.createRequestContext(TilesApplicationContext, Object...) . 
org.apache.tiles.portlet.context.PortletTilesApplicationContext.createRequestContext(Object, Object)
          Use TilesRequestContextFactory.createRequestContext(TilesApplicationContext, Object...) . 
org.apache.tiles.factory.TilesContainerFactory.createTilesContainer(Object)
          Use TilesContainerFactory.createTilesContainer(TilesApplicationContext). 
org.apache.tiles.access.TilesAccess.getApplicationContext(Object)
          Use one of the environment-specific Utilities (e.g. ServletUtil). 
org.apache.tiles.AttributeContext.getAttributeNames()
          Use AttributeContext.getLocalAttributeNames() or AttributeContext.getCascadedAttributeNames(). 
org.apache.tiles.Definition.getAttributes()
          Use AttributeContext.getLocalAttributeNames() and AttributeContext.getCascadedAttributeNames(). 
org.apache.tiles.access.TilesAccess.getContainer(Object)
          Use one of the environment-specific Utilities (e.g. ServletUtil). 
org.apache.tiles.context.BasicAttributeContext.getContext(TilesRequestContext)
          Use TilesContainer.getAttributeContext(Object...). 
org.apache.tiles.impl.BasicTilesContainer.getContextFactory()
          Do not use it, it returns null. Use BasicTilesContainer.getRequestContextFactory(). 
org.apache.tiles.context.BasicAttributeContext.getContextStack(TilesRequestContext)
          Use TilesContainer.getAttributeContext(Object...), TilesContainer.startContext(Object...) or TilesContainer.endContext(Object...). 
org.apache.tiles.definition.UrlDefinitionsFactory.getDefinitions()
          Do not use! Deprecated with no replacement. 
org.apache.tiles.Attribute.getExpression()
          Use Attribute.getExpressionObject(). 
org.apache.tiles.factory.TilesContainerFactory.getFactory(Object)
          Use AbstractTilesContainerFactory.getTilesContainerFactory(TilesApplicationContext). 
org.apache.tiles.factory.TilesContainerFactory.getFactory(Object, Map)
          Use AbstractTilesContainerFactory.getTilesContainerFactory(TilesApplicationContext) and then TilesContainerFactory.setDefaultConfiguration(Map). 
org.apache.tiles.factory.TilesContainerFactory.getInitParameter(Object, String)
          Do not use. 
org.apache.tiles.factory.TilesContainerFactory.getInitParameterMap(Object)
          Do not use. 
org.apache.tiles.Attribute.getName()
          Use the getName methods in object that contain attributes. 
org.apache.tiles.velocity.context.VelocityUtil.getParameterStack(Context)
          Use Velocity directives. 
org.apache.tiles.portlet.context.PortletTilesContextFactory.getPortletContext(TilesApplicationContext)
          Use PortletTilesRequestContextFactory.getPortletContext(TilesApplicationContext) . 
org.apache.tiles.context.TilesRequestContextWrapper.getRequest()
           
org.apache.tiles.context.TilesRequestContext.getRequest()
          Use TilesRequestContext.getRequestObjects(). 
org.apache.tiles.definition.UrlDefinitionsFactory.getResourceNames(String)
          Deprecated without replacement. 
org.apache.tiles.definition.UrlDefinitionsFactory.getResourceString(Map)
          Deprecated without replacement. 
org.apache.tiles.context.TilesRequestContextWrapper.getResponse()
           
org.apache.tiles.context.TilesRequestContext.getResponse()
          Use TilesRequestContext.getRequestObjects(). 
org.apache.tiles.jsp.context.JspTilesRequestContext.getResponse()
          Use JspTilesRequestContext.getPageContext() or JspTilesRequestContext.getPrintWriter(). 
org.apache.tiles.Definition.getRole()
          Use BasicAttributeContext.getTemplateAttribute(). 
org.apache.tiles.servlet.context.ServletTilesApplicationContext.getServletContext()
          Use ServletTilesApplicationContext.getContext(). 
org.apache.tiles.servlet.context.ServletTilesContextFactory.getServletContext(TilesApplicationContext)
          Use TilesApplicationContext.getContext(). 
org.apache.tiles.jsp.context.JspTilesContextFactory.getServletContext(TilesApplicationContext)
          Use TilesApplicationContext.getContext(). 
org.apache.tiles.Definition.getTemplate()
          Use BasicAttributeContext.getTemplateAttribute(). 
org.apache.tiles.factory.AbstractTilesContainerFactory.getTilesContainerFactory(TilesApplicationContext)
          Create directly a new instance of this class. 
org.apache.tiles.Attribute.getType()
          Use Attribute.getRenderer(). 
org.apache.tiles.jsp.taglib.AddAttributeTag.getType()
          Do not use, ignored. 
org.apache.tiles.jsp.taglib.PutListAttributeTag.getType()
          Do not use, ignored. 
org.apache.tiles.Definition.hasAttributeValue(String)
          Check if the AttributeContext.getAttribute(String) returns null. 
org.apache.tiles.Initializable.init(Map)
          Do not use. 
org.apache.tiles.definition.DefinitionsFactory.init(Map)
          Parameter based initialization is deprecated, please compose your definitions factory using methods. 
org.apache.tiles.definition.UnresolvingLocaleDefinitionsFactory.init(Map)
           
org.apache.tiles.factory.TilesContainerFactory.initializeContainer(Object, BasicTilesContainer)
          Use TilesContainerFactory.initializeContainer(TilesApplicationContext, BasicTilesContainer). 
org.apache.tiles.impl.BasicTilesContainer.initializeDefinitionsFactory(DefinitionsFactory, String, Map)
          Do not use, the Definitions Factory should be initialized by the Tiles Container Factory. 
org.apache.tiles.util.ClassUtil.instantiate(String)
          Use ClassUtil.instantiate(String). 
org.apache.tiles.util.ClassUtil.instantiate(String, boolean)
          Use ClassUtil.instantiate(String, boolean). 
org.apache.tiles.definition.UrlDefinitionsFactory.isContextProcessed(TilesRequestContext)
          It always return true. 
org.apache.tiles.definition.dao.CachingLocaleUrlDefinitionDAO.loadRawDefinitionsFromURLs(Locale)
          Use CachingLocaleUrlDefinitionDAO.loadDefinitionsFromURLs(Locale). 
org.apache.tiles.util.WildcardHelper.match(Map, String, int[])
          Use #match(List, String, int[]). 
org.apache.tiles.impl.mgmt.DefinitionManager.overload(Definition, Definition)
          Use BasicAttributeContext.inherit(org.apache.tiles.BasicAttributeContext). 
org.apache.tiles.definition.DefinitionsImpl.overload(Definition, Definition)
          Use BasicAttributeContext.inherit(org.apache.tiles.AttributeContext). 
org.apache.tiles.context.BasicAttributeContext.popContext(TilesRequestContext)
          Use TilesContainer.endContext(Object...). 
org.apache.tiles.definition.dao.CachingLocaleUrlDefinitionDAO.postDefinitionLoadOperations(Map, Locale)
          Never used. 
org.apache.tiles.definition.dao.ResolvingLocaleUrlDefinitionDAO.postDefinitionLoadOperations(Map, Locale)
           
org.apache.tiles.context.BasicAttributeContext.pushContext(AttributeContext, TilesRequestContext)
          Use TilesContainer.startContext(Object...). 
org.apache.tiles.Definition.put(String, Object)
          Use AttributeContext.putAttribute(String, Attribute) or AttributeContext.putAttribute(String, Attribute, boolean). 
org.apache.tiles.Definition.put(String, Object, Attribute.AttributeType, String)
          Use AttributeContext.putAttribute(String, Attribute) or AttributeContext.putAttribute(String, Attribute, boolean). 
org.apache.tiles.Definition.put(String, Object, String)
          Use AttributeContext.putAttribute(String, Attribute) or AttributeContext.putAttribute(String, Attribute, boolean). 
org.apache.tiles.definition.DefinitionsFactory.readDefinitions()
          Let the Definitions Factory use it. 
org.apache.tiles.definition.UnresolvingLocaleDefinitionsFactory.readDefinitions()
           
org.apache.tiles.definition.UrlDefinitionsFactory.readDefinitions()
          Let the Definitions Factory use it. 
org.apache.tiles.definition.util.DefinitionsFactoryUtil.reloadDefinitionsFactory(Object)
          Let the definitions DAO manage auto-reload. 
org.apache.tiles.TilesContainer.render(Attribute, Writer, Object...)
          Use TilesContainer.render(Attribute, Object...). 
org.apache.tiles.impl.BasicTilesContainer.render(Attribute, Writer, Object...)
           
org.apache.tiles.access.TilesAccess.setContainer(Object, TilesContainer)
          Use TilesAccess.setContainer(TilesApplicationContext, TilesContainer). 
org.apache.tiles.impl.BasicTilesContainer.setContextFactory(TilesContextFactory)
          Use BasicTilesContainer.setRequestContextFactory(TilesRequestContextFactory). 
org.apache.tiles.impl.KeyedDefinitionsFactoryTilesContainer.setDefinitionsFactory(String, DefinitionsFactory, Map)
          Use KeyedDefinitionsFactoryTilesContainer.setDefinitionsFactory(String, DefinitionsFactory). 
org.apache.tiles.impl.mgmt.CachingKeyedDefinitionsFactoryTilesContainer.setDefinitionsFactory(String, DefinitionsFactory, Map)
           
org.apache.tiles.Attribute.setExpression(String)
          Use Attribute.setExpressionObject(Expression). 
org.apache.tiles.context.ChainedTilesContextFactory.setFactories(List)
          Simply do not use it. 
org.apache.tiles.Attribute.setName(String)
          Use the setName methods in object that contain attributes. 
org.apache.tiles.Definition.setRole(String)
          Use BasicAttributeContext.getTemplateAttribute(). 
org.apache.tiles.Definition.setTemplate(String)
          Use BasicAttributeContext.getTemplateAttribute(). 
org.apache.tiles.Attribute.setType(Attribute.AttributeType)
          Use Attribute.setRenderer(String). 
org.apache.tiles.jsp.taglib.AddAttributeTag.setType(String)
          Do not use, ignored. 
org.apache.tiles.jsp.taglib.PutListAttributeTag.setType(String)
          Do not use, ignored. 
org.apache.tiles.factory.TilesContainerFactory.storeContainerDependencies(Object, Map, Map, BasicTilesContainer)
          Use TilesContainerFactory.storeContainerDependencies(TilesApplicationContext, Map, Map, BasicTilesContainer) . 
org.apache.tiles.servlet.context.ServletTilesRequestContext.wrapServletException(ServletException, String)
          Use ServletUtil.wrapServletException(ServletException,String) instead. 
 

Deprecated Constructors
org.apache.tiles.Attribute(Object, String, Attribute.AttributeType)
          Use Attribute.Attribute(Object, String, String, String). 
org.apache.tiles.Attribute(Object, String, String, String)
          Use Attribute.Attribute(Object, Expression, String, String). 
org.apache.tiles.Attribute(String, Object, String, Attribute.AttributeType)
          Use Attribute.Attribute(Object, String, String, String). 
org.apache.tiles.Definition(String, String, Map)
          Use Definition.Definition(String, Attribute, Map). 
org.apache.tiles.evaluator.el.ELContextImpl(ELResolver)
          Use ELContextImpl.ELContextImpl(ELResolver). 
org.apache.tiles.jsp.context.JspTilesContextFactory()
          Do not use! No replacement. 
org.apache.tiles.jsp.context.JspTilesRequestContext(ServletContext, PageContext)
          Use JspTilesRequestContext.JspTilesRequestContext(TilesRequestContext, PageContext). 
org.apache.tiles.portlet.context.PortletTilesRequestContext(PortletContext, PortletRequest, PortletResponse)
          Use PortletTilesRequestContext.PortletTilesRequestContext(TilesApplicationContext, PortletContext, PortletRequest, PortletResponse) . 
org.apache.tiles.servlet.context.ServletTilesContextFactory()
          Do not use! No replacement. 
org.apache.tiles.servlet.context.ServletTilesRequestContext(ServletContext, HttpServletRequest, HttpServletResponse)
          Use ServletTilesRequestContext.ServletTilesRequestContext(TilesApplicationContext, HttpServletRequest, HttpServletResponse) . 
org.apache.tiles.portlet.context.wildcard.WildcardPortletTilesApplicationContext(PortletContext)
          Use #WildcardPortletTilesApplicationContext(PortletContext) . 
org.apache.tiles.servlet.context.wildcard.WildcardServletTilesApplicationContext(ServletContext)
          Use #WildcardServletTilesApplicationContext(ServletContext) . 
 



Copyright © 2001-2010 Apache Software Foundation. All Rights Reserved.