Hi,
I have trouble with the following code in GBeanOverride class.
public GBeanOverride(GBeanData gbeanData) throws
InvalidAttributeException {
GBeanInfo gbeanInfo = gbeanData.getGBeanInfo();
this.gbeanInfo = gbeanInfo.getSourceClass();
if (this.gbeanInfo == null) {
throw new IllegalArgumentException("GBeanInfo must have a source
class set");
}
...
...
}
Q: Why is this check for sourceClass needed here? Is this code intending to
check className here and checking sourceClass instead?
Thanks,
Vamsi
|