-
Notifications
You must be signed in to change notification settings - Fork 38.5k
Please undeprecate XmlBeanFactory [SPR-8404] #13051
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Chris Beams commented Hi Dave, The combination to replace
This is certainly more verbose than:
However, the following is more concise than either:
So the first question is, why not use GXAC in your testing scenarios?
|
Chris Beams commented Resolving "won't fix" after 1+ month of waiting for feedback. |
Dave Syer commented Sorry, I didn't get any prompts for feedback, or I would have responded. I'm sure you are right that the little dance with BDR and XBDR is the equivalent of using XBF directly, but was I, as a regular user, supposed to just know how to do that? GXAC is not the same at all because ApplicationContext has several important features and contractual obligations that BeanFactory does not. In particular it forces all beans to be instantiated and adds additional "services" that are really useful at runtime in an application, but you quite often want to avoid in a test case (of XML namespace features in particular). |
Chris Beams commented http://www.youtube.com/watch?v=7qnd-hdmgfk (but maybe Juergen can) |
Juergen Hoeller commented At this point, we'd rather drop |
Dave Syer opened SPR-8404 and commented
Please undeprecate XmlBeanFactory. It's only a few lines of code, so not a big deal to keep it I would have thought. It's really useful for testing, and those few lines have to be duplicated, plus I never remember how to do it.
Affects: 3.1 M1
Issue Links:
The text was updated successfully, but these errors were encountered: