|
4 | 4 | import com.opensymphony.xwork2.DefaultActionProxyFactory;
|
5 | 5 | import com.opensymphony.xwork2.DefaultLocaleProviderFactory;
|
6 | 6 | import com.opensymphony.xwork2.LocaleProviderFactory;
|
7 |
| -import com.opensymphony.xwork2.TextProviderFactory; |
| 7 | +import com.opensymphony.xwork2.StrutsTextProviderFactory; |
8 | 8 | import com.opensymphony.xwork2.factory.DefaultUnknownHandlerFactory;
|
9 | 9 | import com.opensymphony.xwork2.factory.UnknownHandlerFactory;
|
10 | 10 | import com.opensymphony.xwork2.ognl.accessor.HttpParametersPropertyAccessor;
|
11 | 11 | import com.opensymphony.xwork2.ognl.accessor.ParameterPropertyAccessor;
|
12 | 12 | import com.opensymphony.xwork2.security.AcceptedPatternsChecker;
|
13 | 13 | import com.opensymphony.xwork2.security.DefaultAcceptedPatternsChecker;
|
14 | 14 | import com.opensymphony.xwork2.security.DefaultExcludedPatternsChecker;
|
15 |
| -import com.opensymphony.xwork2.DefaultLocaleProvider; |
16 | 15 | import com.opensymphony.xwork2.DefaultTextProvider;
|
17 | 16 | import com.opensymphony.xwork2.DefaultUnknownHandlerManager;
|
18 | 17 | import com.opensymphony.xwork2.security.ExcludedPatternsChecker;
|
19 | 18 | import com.opensymphony.xwork2.FileManager;
|
20 | 19 | import com.opensymphony.xwork2.FileManagerFactory;
|
21 |
| -import com.opensymphony.xwork2.LocaleProvider; |
22 | 20 | import com.opensymphony.xwork2.ObjectFactory;
|
23 | 21 | import com.opensymphony.xwork2.TextProvider;
|
24 | 22 | import com.opensymphony.xwork2.TextProviderSupport;
|
@@ -183,7 +181,7 @@ public void register(ContainerBuilder builder, LocatableProperties props)
|
183 | 181 | .factory(ActionValidatorManager.class, AnnotationActionValidatorManager.class, Scope.SINGLETON)
|
184 | 182 | .factory(ActionValidatorManager.class, "no-annotations", DefaultActionValidatorManager.class, Scope.SINGLETON)
|
185 | 183 |
|
186 |
| - .factory(TextProviderFactory.class, Scope.SINGLETON) |
| 184 | + .factory(StrutsTextProviderFactory.class, Scope.SINGLETON) |
187 | 185 | .factory(LocalizedTextProvider.class, DefaultLocalizedTextProvider.class, Scope.SINGLETON)
|
188 | 186 | .factory(TextProvider.class, "system", DefaultTextProvider.class, Scope.SINGLETON)
|
189 | 187 | .factory(TextProvider.class, TextProviderSupport.class, Scope.SINGLETON)
|
|
0 commit comments