geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dain Sundstrom <>
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  


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 <> 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

View raw message