commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From robert burrell donkin <robertburrelldon...@blueyonder.co.uk>
Subject Re: [Betwixt] XMLBeanInfo customization
Date Sun, 17 Nov 2002 18:46:55 GMT

On Saturday, November 16, 2002, at 02:08 PM, Martin van den Bemt wrote:

>
>> since XMLBeanInfo's were supposed to correspond to java.beans.BeanInfo.
>> BeanInfo supports programmatic implementations. so if you had something
>> like xxx.yyy.zzz.FooBean then betwixt might look for a
>> xxx.yyy.zzz.FooBeanXMLBeanInfo class which would be a programmatic
>> XMLBeanInfo.
>>
>> i don't know if adding this feature would help you or not.
>
> This is already "kind of" supported, from a java.beans.Introspector
> perspective. Don't think it is an ellegant solution though that sun
> chose (with registring searchpaths)

agreed :)

i was thinking along the lines of allowing a custom programmatic 
XMLBeanInfo implementation but insisting that the package and name match 
exactly. so, for example, if you have a bean with full name 
xxx.yyy.FooBean, betwixt would try to discover a class called 
xxx.yyy.FooBarXMLBeanInfo.

anyone have any improvements on this plan?

- robert


--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message