geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vamsavardhana Reddy" <c1vams...@gmail.com>
Subject Re: GBeanOverride class - sourceClass or className ??
Date Tue, 21 Mar 2006 06:56:13 GMT
Thanks Dain.  That worked.

-Vamsi

On 3/20/06, Dain Sundstrom <dain@iq80.com> wrote:
>
> The attribute store can not save a GBeanInfo and instead records
> class from which the GBeanInfo was originally obtained.  This is the
> "sourceClass" property of GBeanInfo.  Simply use one of the
> createStatic methods on GBeanInfoBuilder when constructing your
> GBeanInfo and you should no longer see this problem.
>
> -dain
>
> On Mar 20, 2006, at 4:29 AM, Vamsavardhana Reddy wrote:
>
> > Jacek,
> >
> > My question is whether the line
> >
> >       this.gbeanInfo = gbeanInfo.getSourceClass();
> >
> > should have actually been
> >
> >      this.gbeanInfo = gbeanInfo.getClassName();
> >
> >
> > Thanks,
> > Vamsi
> >
> >
> > On 3/20/06, Jacek Laskowski <eljotpl@gmail.com> wrote: 2006/3/20,
> > Vamsavardhana Reddy <c1vamsi1c@gmail.com>:
> >
> > >  Q: Why is this check for sourceClass needed here?  Is this code
> > intending
> > > to check className here and checking sourceClass instead?
> >
> > I don't know, but would try to find unit tests. Are they any for this
> > particular case? I think it'd be worth to write one if there isn't.
> >
> > >  Vamsi
> >
> > Jacek
> >
> > --
> > Jacek Laskowski
> > http://www.laskowski.org.pl
> >
>
>

Mime
View raw message