public GBeanInfo getGBeanInfo(Class clazz) throws GBeanInfoFactoryException {
AnnotationGBeanInfoBuilder infoFactory = new AnnotationGBeanInfoBuilder(clazz);
try {
return infoFactory.buildGBeanInfo();
} catch (GBeanAnnotationException e) {
throw new GBeanInfoFactoryException(e);
}
}