For the AOP aliasing I am going to check the Spring docs but I think they might have alias attribute that we don't currently support which is what I think Sean is asking for.
--Kurt
On 9/12/06, Sean Corfield <[EMAIL PROTECTED]> wrote:
On 9/12/06, Dave Ross <[EMAIL PROTECTED]> wrote:
> Just jumping in while taking a 10 second break - so I'm probably
> misunderstanding your usecase, but couldn't you just have a parent
> factory that's in between the definition of X and the MG definintion
> of Y?
No. That's the whole point of my post Dave! :)
The whole point is that I need to override definitions from MG's
Configuration.xml within my "local" ColdSpring.xml but I don't want to
repeat the XML over and over again - so I have to have the overriding
definitions physically in my ColdSpring.xml file because a parent bean
factory by definition does not override the child factory.
Believe me folks, I have thought this through! I know I may well be a
complete edge case here because of my setup but the two enhancements
are real needs :)
The workarounds are:
1) (for the aliasing) a dummy AOP proxy (I think - I haven't actually
tried that yet!)
2) (for the include) physically duplicating the XML in every CS file
Perhaps "needs" is too strong a word (since I actually *do* have
workarounds) but the workarounds are ugly.
I guess the questions should be:
- do Java Spring folks hit these problems?
- if so, what do they do about them?
- if not, why do they not hit them?
--
Sean A Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
"If you're not annoying somebody, you're not really alive."
-- Margaret Atwood
