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.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 
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(). 
com.opensymphony.xwork2.ObjectFactory.getObjectFactory()
          Since 2.1 
com.opensymphony.xwork2.XWorkException.getThrowable()
          Use Throwable.getCause() 
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() 
 

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