geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hiram Chirino <hi...@hiramchirino.com>
Subject Re: CDATA and GBean attributes
Date Fri, 25 Feb 2005 19:37:11 GMT


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
> 

Mime
View raw message