geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aaron Mulder" <ammul...@alumni.princeton.edu>
Subject Re: Question on Gbean attributes and serialisation
Date Wed, 12 Apr 2006 12:05:48 GMT
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