Java Config - does it do everything you can do in XML?
Hi,
I spent a lot of time looking for the answer to this question and I hope someone (anyone?) who knows will respond.
I have existing XML-based configuration and am moving to Java Config. Using the XML-centric approach described in section 4.12 of version 3.1 of the spring framework doc. I simply want to create a Bean in Java Config that needs a Parent already defined in Spring XML. Is this possible? If so, please tell me how to do it! I have seen the question asked here in these forums twice before, but no one has replied at all. From other references, I surmised that one is supposedly able to do everything in Java Config that you can do in XML. This certainly seems pretty basic, but darned if I can figure it out!
More details for those folks that need it. The bean to be created via Java Config is a Java class that extends another Bean. The base bean/class has already been created and has a bunch of DI members that I need loaded. All of the beans are singletons.
thanks for any assistance!