public Vector getFieldDescriptors() {
Vector fieldDescriptors = new Vector();
if( isEJB20() ) {
try {
ClassLoader cl = getEjbBundleDescriptor().getClassLoader();
BeanMethodCalculatorImpl bmc = new BeanMethodCalculatorImpl();
fieldDescriptors = bmc.getPossibleCmpCmrFields(cl, this.getEjbClassName());
} catch(Throwable t) {
String errorMsg = localStrings.getLocalString
("enterprise.deployment.errorloadingejbclass",
"error loading the ejb class {0} in getFields" +
" on EjbDescriptor\n {1}",