Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: Release 1.5
-
Fix Version/s: Release 1.6
-
Component/s: ActionBean Dispatching
-
Labels:None
Description
UrlBindingFactory has a public static getInstance() method to get a reference to a singleton instance. This should be eliminated. Instead, the ActionResolver should create its own private instance.
AnnotatedClassActionResolver now creates its own private UrlBindingFactory instance. Other classes that were using UrlBindingFactory.getInstance() now get it from the ActionResolver. If the ActionResolver they get from Configuration is not a subclass of AnnotatedClassActionResolver, then they do not attempt to use UrlBindingFactory at all.