commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin van den Bemt <mll...@mvdb.net>
Subject Re: [betwixt] Suppress the use of BeanInfo in introspection
Date Thu, 19 Jan 2006 09:40:05 GMT
To complete my sentence : I will make some time available today to commit it :)

Mvgr,
Martin

Martin van den Bemt wrote:
> Hi Markus,
> 
> It looks good (just had a quick peek at the patch). Although applying 
> the patch will go faster if you have a testcase to go with that. If you 
> can have a testcase today, I will make some time available to commit it 
> (I am on GMT+1 btw).
> 
> Mvgr,
> Martin
> 
> Markus Härnvi wrote:
> 
>>
>> Ok.
>>
>> http://issues.apache.org/bugzilla/show_bug.cgi?id=38310
>>
>> Let me know if it's ok.
>>
>>    /Markus
>>
>> Martin van den Bemt wrote:
>>
>>> It was originally intended for that usage scneario (specifically to 
>>> ignore the provided beaninfo's by Sun), since I didn't hit the issue 
>>> you are having now myself.
>>> Could you file an issue in bugzilla ?
>>> A patch is also appreciated, since I am pretty swamped with work atm..
>>>
>>> Mvgr,
>>> Martin
>>>
>>> Markus Härnvi wrote:
>>>
>>>>
>>>> Hi!
>>>>
>>>> I don't think it does what I want. It seems like the 
>>>> BeanInfoSearchPath is only used if the Introspector can't find a 
>>>> BeanInfo class in the same package as the Bean. If it finds it in 
>>>> the same package it will use even if BeanInfoSearchPath is empty.
>>>>
>>>> This is from the Introspector Javadoc:
>>>>
>>>> 'For each class "Foo", explicit information may be available if 
>>>> there exists a corresponding "FooBeanInfo" class that provides a 
>>>> non-null value when queried for the information. We first look for 
>>>> the BeanInfo class by taking the full package-qualified name of the 
>>>> target bean class and appending "BeanInfo" to form a new class name. 
>>>> If this fails, then we take the final classname component of this 
>>>> name, and look for that class in each of the packages specified in 
>>>> the BeanInfo package search path. '
>>>>
>>>>     /Markus
>>>>
>>>>
>>>>
>>>>
>>>> Martin van den Bemt wrote:
>>>>
>>>>> In the introspectionConfiguration you can set the 
>>>>> useBeanInfoSearchPath to false..
>>>>>
>>>>> Mvgr,
>>>>> Martin
>>>>>
>>>>> Markus Härnvi wrote:
>>>>>
>>>>>>
>>>>>> Hi!
>>>>>>
>>>>>> We needed to add some BeanInfo classes to some beans in our code.

>>>>>> It seems like Betwixt uses them for introspection. Is that correct?
>>>>>>
>>>>>> Is there a way to tell Betwixt to ignore the *BeanInfo files and

>>>>>> only use Reflection and .betwixt files?
>>>>>>
>>>>>>    /Markus
>>>>>>
>>>>>> ---------------------------------------------------------------------
>>>>>> To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
>>>>>> For additional commands, e-mail: commons-user-help@jakarta.apache.org
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
>>>>> For additional commands, e-mail: commons-user-help@jakarta.apache.org
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
>>>> For additional commands, e-mail: commons-user-help@jakarta.apache.org
>>>>
>>>>
>>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
>>> For additional commands, e-mail: commons-user-help@jakarta.apache.org
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: commons-user-help@jakarta.apache.org
>>
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-user-help@jakarta.apache.org
> 
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message