geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dain Sundstrom <d...@iq80.com>
Subject Re: Question on Gbean attributes and serialisation
Date Wed, 12 Apr 2006 18:22:21 GMT
BTW I hope we will have support for nested attributes from our xml in  
1.2.

-dain

On Apr 12, 2006, at 5:05 AM, Aaron Mulder wrote:

> If you want to change a Map attribute you need both a getter and a
> setter for it.  Your client should get the map with the getter, do
> whatever you want to it, and then call the setter.  It should update
> config.xml with the new values.
>
> Thanks,
>     Aaron
>
> On 4/12/06, Manu George <manu.t.george@gmail.com> wrote:
>> Hi,
>>          I saw that in some GBeans Maps and various other  
>> structures are
>> defined as attributes. Suppose I have a GBean with a map as an  
>> attribute how
>> do i programmatically inject values for the attributes? Also if i  
>> want to
>> change the attribute values i.e add more elements to the Map at  
>> runtime, how
>> do I go about it? Will this attribute entry be then made in the  
>> config.xml
>> as the config.ser does not change after deployment?
>>
>>  Regards
>>  Manu
>>


Mime
View raw message