Unreasonable to add individual bean-ref support to connectors?
Rod Widdowson
rdw at steadingsoftware.com
Wed Oct 22 03:54:32 EDT 2014
> Does it seem reasonable in the V2Parser classes for the connectors to have
> the ability to inject property references to bean IDs on a piecemeal basis
> instead of requiring the whole connector to be Spring-wired?
It's not without precedent. There are a few odd corners (like the
PredicateFilter, and somewhere deep inside legacy relying party config). As
I recall you get into it as soon as you wire up FileBackedHttpResources and
SVNResources as well.
I'd not be opposed, providing that we can keep things documentable.
Thereagain, this is custom deployment so it doesn't have to be too
documentable, just consistent which is my bitch about the filter language,
but that’s another story.. So I'd say +1, but I'd defer to Daniel.
> The namespace of
> those references would be global, but that's not a big deal.
That’s not necessarily a bad thing - as I recall (and it's been a long time
so I may be mis-remembering) one of the pain points with the full custom
definition data connector implementation is that they *cannot* inherit
global beans.
/Rod
More information about the dev
mailing list