Jeremy Boynes wrote:
Alan D. Cabrera wrote:
Stealing a page from the JavaMail spec
Those words send a cold cold shiver through my soul.
why not have resource files called geronimo.builders and geronimo.default.builders. These are resource files located in META-INF. They declare a builders and could also hold their configuration. This way, we wouldn't have to embed the name of the builder in the config file, just use the namespace.
Why not just make the builder a GBean and locate it using the namespace?
E.g.
<gbean gbeanName='type=builder,namespace=http://geronimo.apache.org/xml/ns/security'>
... </gbean>
I like this. But then the name space is restricted be something that can be used in a GBeanName right (since we don't escape)? I'm not sure that's good restriction.
Regards, Hiram
Then when you hit the new namespace look up the GBean and hand off the content processing to it?
-- Jeremy
