Deprecated API


Contents
Deprecated Classes
com.opensymphony.xwork2.conversion.impl.AnnotationXWorkConverter
          Since XWork 2.0.4, the implementation of XWorkConverter handles the processing of annotations. 
com.opensymphony.xwork2.conversion.impl.EnumTypeConverter
          Since Struts 2.1.0 as enum support is now built into XWork 
com.opensymphony.xwork2.conversion.impl.GenericsObjectTypeDeterminer
          Use DefaultObjectTypeDeterminer instead. Since XWork 2.0.4 the DefaultObjectTypeDeterminer handles the annotation processing. 
com.opensymphony.xwork2.MockActionInvocation
          Please use @see com.opensymphony.xwork2.mock.MockActionInvocation instead 
org.apache.struts2.config.Settings
          Since Struts 2.1.2 
 

Deprecated Fields
com.opensymphony.xwork2.conversion.impl.InstantiatingNullHandler.CREATE_NULL_OBJECTS
          Use ReflectionContextState.CREATE_NULL_OBJECTS instead 
com.opensymphony.xwork2.ognl.accessor.XWorkMethodAccessor.DENY_INDEXED_ACCESS_EXECUTION
          Use ReflectionContextState.DENY_INDEXED_ACCESS_EXECUTION instead 
com.opensymphony.xwork2.ognl.accessor.XWorkMethodAccessor.DENY_METHOD_EXECUTION
          Use ReflectionContextState.DENY_METHOD_EXECUTION instead 
 

Deprecated Methods
com.opensymphony.xwork2.config.ConfigurationManager.addConfigurationProvider(ConfigurationProvider)
          Since 2.1, use #addContainerProvider() 
com.opensymphony.xwork2.config.ConfigurationManager.clearConfigurationProviders()
          Since 2.1, use ConfigurationManager.clearContainerProviders() 
com.opensymphony.xwork2.ActionProxyFactory.createActionProxy(String, String, Map)
          Since 2.1.1, use instead 
com.opensymphony.xwork2.ActionProxyFactory.createActionProxy(String, String, Map, boolean, boolean)
          Since 2.1.1, use ActionProxyFactory.createActionProxy(String,String,String,Map,boolean,boolean) instead 
org.apache.struts2.dispatcher.mapper.DefaultActionMapper.dropExtension(String)
          Since 2.1, use DefaultActionMapper.dropExtension(java.lang.String,org.apache.struts2.dispatcher.mapper.ActionMapping) instead 
com.opensymphony.xwork2.util.AnnotationUtils.findAnnotatedMethods(Class, Class)
          since 2.0.4 use getAnnotatedMethods 
com.opensymphony.xwork2.util.AnnotationUtils.findRecursively(Class, Class, List)
          since 2.0.4 use getAnnotatedMethods 
com.opensymphony.xwork2.config.entities.ResultTypeConfig.getClazz()
          Since 2.1, use ResultTypeConfig.getClassName() instead 
com.opensymphony.xwork2.config.ConfigurationManager.getConfigurationProviders()
          Since 2.1, use ConfigurationManager.getContainerProviders() 
com.opensymphony.xwork2.ActionSupport.getErrorMessages()
          Use ActionSupport.getActionErrors(). 
com.opensymphony.xwork2.ActionSupport.getErrors()
          Use ActionSupport.getFieldErrors(). 
org.apache.struts2.views.xslt.XSLTResult.getExcludingPattern()
          Since 2.1.1 
org.apache.struts2.views.xslt.XSLTResult.getMatchingPattern()
          Since 2.1.1 
com.opensymphony.xwork2.ObjectFactory.getObjectFactory()
          Since 2.1 
org.apache.struts2.servlet.interceptor.ServletPrincipalProxy.getRequest()
          To obtain the HttpServletRequest in your action, use org.apache.struts2.servlet.ServletRequestAware, since this method will be dropped in future. 
org.apache.struts2.interceptor.PrincipalProxy.getRequest()
          To obtain the HttpServletRequest in your action, use org.apache.struts2.servlet.ServletRequestAware, since this method will be dropped in future. 
com.opensymphony.xwork2.XWorkException.getThrowable()
          Use Throwable.getCause() 
org.apache.struts2.components.Token.getTokenNameField()
          Templates should use $parameters from now on, not $tag. 
org.apache.struts2.util.StrutsUtil.include(Object, HttpServletRequest, HttpServletResponse)
          the request and response are stored in this util class, please use include(string) 
com.opensymphony.xwork2.spring.SpringObjectFactory.initObjectFactory()
          Since 2.1 as it isn't necessary 
com.opensymphony.xwork2.config.Configuration.reload(List)
          Since 2.1 
com.opensymphony.xwork2.config.ConfigurationManager.setConfigurationProviders(List)
          Since 2.1, use #setContainerProvider() 
org.apache.struts2.views.xslt.XSLTResult.setExcludingPattern(String)
          Since 2.1.1 
org.apache.struts2.views.xslt.XSLTResult.setLocation(String)
          Use #setStylesheetLocation(String) 
org.apache.struts2.views.xslt.XSLTResult.setMatchingPattern(String)
          Since 2.1.1 
org.apache.struts2.views.jsp.ui.TextFieldTag.setMaxLength(String)
          please use TextFieldTag.setMaxlength(java.lang.String) instead 
 

Deprecated Constructors
com.opensymphony.xwork2.config.impl.ActionConfigMatcher(Map)
          Since 2.1, use ActionConfigMatcher.ActionConfigMatcher(PatternMatcher, Map, boolean) instead 
com.opensymphony.xwork2.config.impl.ActionConfigMatcher(Map, boolean)
          Since 2.1, use ActionConfigMatcher.ActionConfigMatcher(PatternMatcher, Map, boolean) instead 
 



Copyright © 2000-2008 Apache Software Foundation. All Rights Reserved.