public List<Object> createBeans(String baseName) throws Throwable
{
List<Object> result = new ArrayList<Object>();
KernelController controller = kernel.getController();
InstanceScope is = metaData.getAnnotation(InstanceScope.class);
String sflAnn = createAnnotation(is);
// bean context
BeanMetaDataBuilder builder = BeanMetaDataBuilder.createBuilder("BeanContext", BaseContext.class.getName());
builder.addConstructorParameter(BeanContainer.class.getName(), new BeanContainer<Object>());