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

Deprecated API


Contents
Deprecated Interfaces
org.apache.tiles.definition.Definitions
          This interface is never used, except in the deprecated class DefinitionsImpl. 
org.apache.tiles.definition.ReloadableDefinitionsFactory
          Use Refreshable. 
org.apache.tiles.context.TilesContextFactory
          Use TilesApplicationContextFactory or TilesRequestContextFactory. 
 

Deprecated Classes
org.apache.tiles.context.BasicAttributeContext
          Use BasicAttributeContext. 
org.apache.tiles.context.ChainedTilesContextFactory
          Use ChainedTilesApplicationContextFactory and ChainedTilesRequestContextFactory. 
org.apache.tiles.util.ClassUtil
          Use ClassUtil. 
org.apache.tiles.jsp.taglib.ContainerTagSupport
          Use RenderTag. 
org.apache.tiles.definition.DefinitionsImpl
          This class is, in fact, part of the implementation of UrlDefinitionsFactory and ResolvingLocaleUrlDefinitionDAO. 
org.apache.tiles.context.enhanced.EnhancedContextFactory
          Use EnhancedTilesApplicationContextFactory. 
org.apache.tiles.jsp.context.JspTilesContextFactory
          Use JspTilesRequestContextFactory. 
org.apache.tiles.context.ListAttribute
          Use ListAttribute. 
org.apache.tiles.portlet.context.PortletTilesContextFactory
          Use PortletTilesApplicationContextFactory or PortletTilesRequestContextFactory. 
org.apache.tiles.jsp.taglib.RenderTagSupport
          Use RenderTag. 
org.apache.tiles.jsp.taglib.RoleSecurityTagSupport
          Use AddAttributeTag and PutAttributeTag directly. 
org.apache.tiles.servlet.context.ServletTilesContextFactory
           
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 .apache.tiles.definition.dao.DefinitionDAO implements Refreshable. 
 

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.impl.BasicTilesContainer.DEFINITIONS_CONFIG
          Use DefinitionsFactory.DEFINITIONS_CONFIG. 
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 #sourceURLs. 
 

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.LocaleDefinitionsFactory.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)
          Use BasicTilesInitializer.createContainer(org.apache.tiles.TilesApplicationContext) instead. 
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.jsp.taglib.RenderTagSupport.execute()
          Use RenderTag.render(). 
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.factory.TilesContainerFactory.getFactory(Object)
          Use AbstractTilesContainerFactory#getTilesContainerFactory(Object). 
org.apache.tiles.factory.TilesContainerFactory.getFactory(Object, Map)
          Use AbstractTilesContainerFactory#getTilesContainerFactory(Object) 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.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.Attribute.getType()
          Use Attribute.getRenderer(). 
org.apache.tiles.Definition.hasAttributeValue(String)
          Check if the AttributeContext.getAttribute(String) returns null. 
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.jsp.taglib.RenderTagSupport.isAccessAllowed()
          Implement access allowance in your own tag. 
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.impl.mgmt.DefinitionManager.overload(Definition, Definition)
          Use Definition#inherit(Definition). 
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.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.LocaleDefinitionsFactory.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.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.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(String, Object, String, Attribute.AttributeType)
          Use Attribute#Attribute(Object, String, String))). 
org.apache.tiles.Definition(String, String, Map)
          Use Definition.Definition(String, Attribute, Map). 
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) . 
 



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