Thanks Dain.  That worked.

-Vamsi

On 3/20/06, Dain Sundstrom <[EMAIL PROTECTED]> 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 < [EMAIL PROTECTED]> wrote: 2006/3/20,
> Vamsavardhana Reddy <[EMAIL PROTECTED]>:
>
> >  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
>


Reply via email to