-
New Feature
-
Resolution: Unresolved
-
Normal
-
None
-
6.0.0
-
None
IMHO this is not good decision to make HtmlMacroComponent#getAutowireFlag() method static and private. This only allows to control macro components autowiring mode GLOBALLY. And what if I write or get some components library which includes macro components which expects different autowire mode than my project's global library setting? In this case custom macro component will fail to wire inner components/forwards. I think making this method instance method and marking it as protected would do the trick. Default implementation may stay the same as it is now, however, different macro components would have an opportunity to control autowiring mode explicitly.
P.S. Is there any other way to achieve mixed autowiring mode for macro components?