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 
 

Deprecated Annotation Types
com.opensymphony.xwork2.validator.annotations.Validation
          Since Struts 2.1 because it isn't necessary anymore 
 

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.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 
com.opensymphony.xwork2.interceptor.ExceptionMappingInterceptor.findResultFromExceptions(List, Throwable)
          since 2.3.15 please use #findMappingFromExceptions directly instead 
com.opensymphony.xwork2.config.entities.ResultTypeConfig.getClazz()
          Since 2.1, use ResultTypeConfig.getClassName() instead 
com.opensymphony.xwork2.ActionSupport.getErrorMessages()
          Use ActionSupport.getActionErrors(). 
com.opensymphony.xwork2.ActionSupport.getErrors()
          Use ActionSupport.getFieldErrors(). 
com.opensymphony.xwork2.ObjectFactory.getObjectFactory()
          Since 2.1 
com.opensymphony.xwork2.XWorkException.getThrowable()
          Use Throwable.getCause() 
com.opensymphony.xwork2.UnknownHandler.handleUnknownActionMethod(Object, String)
          @throws NoSuchMethodException If the method cannot be found should return null instead, don't throw exception as other UnknownHandles won't be invoked 'throws NoSuchMethodException' signature will be removed with next major release 
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.util.URLUtil.verifyUrl(String)
           
 

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-2016 Apache Software Foundation. All Rights Reserved.