try {
beanClass = loadClass(entryName);
} catch (ClassNotFoundException cnfex) {
throw new PetiteException("Unable to load class: " + cnfex, cnfex);
}
PetiteBean petiteBean = beanClass.getAnnotation(PetiteBean.class);
if (petiteBean == null) {
return;
}
container.registerPetiteBean(beanClass, null, null, null, false);
}