|
|
Re: Custom scope support in blueprint [message #682515 is a reply to message #681824] |
Sat, 11 June 2011 10:18 |
Brian Messages: 2 Registered: May 2011 |
Junior Member |
|
|
Hi Costin,
Thanks for the response. The requirement for my project is to use blueprint exclusively, and I am able to do this when using Gemini, but only with a work around. I have an implementation of a BeanDefinitionDecorator in which I perform all of the Spring-specific configuration for a custom scope. This works fine, except that there is currently no mechanism to allow me to register it so that it gets called when a custom scope, with the correct namespace, is used.
My work around is to always use a dummy custom attribute along with the custom scope on the bean definition. This allows my BeanDefinitionDecorator to be called in order to drive the configuration of the custom scope. IMO I should not need to use this work around, especially as what I am trying to do is well within the confines of the Blueprint specification. I have therefore raised a bug, 348776, against Gemini to address this issue.
|
|
|
Powered by
FUDForum. Page generated in 0.02953 seconds