Jim Ancona wrote:
I'm porting my application to the refactored trunk today, and things
are going pretty well. James, thanks for the new doc!
One minor nit: Many of the collections (Workspaces, Filters) don't
have standard getters and setters. That makes them hard to configure
in Spring without using custom parsers or property editors. I
discovered this when I decided to try to implement the new Filter
interface and discovered that Dan's DefaultProviderDefinitionParser
doesn't support adding Filters. I also found that I couldn't use
Spring's regular XML configuration because there is no setFilters
method on AbstractProvider. For that matter, I can't even configure a
DefaultProvider without using Dan's parser because I can't add my
workspaces either. I may have to resort to writing configuration code!
:-)
One other minor issue with the Spring parser stuff: The <a:workspace/>
element works with a nested bean element, but if I use a <ref
bean=""/> it blows up. I prefer to do it that way so I can use the
same bean definition in my test code.
I can log Jira issues on these if you prefer.
Thanks,
Jim
Yeah, I concur this stuff would be good. I thought about doing it, but
wasn't in the mood to rework APIs when I did the parser stuff. If you
wanted to submit a patch, that'd be great. Otherwise I'll try to take a
look later this week.
- Dan
--
Dan Diephouse
MuleSource
http://mulesource.com | http://netzooid.com/blog