GenericBeanFactoryMetaData metaData2 = new GenericBeanFactoryMetaData();
metaData2.setName("aspect");
metaData2.setBean(SimpleBeanWithDependencyImpl.class.getName());
metaData2.setConstructor(new AbstractConstructorMetaData());
addBeanProperty(metaData2, new AbstractPropertyMetaData("simpleBean", new AbstractDependencyValueMetaData("simple")));
addBeanProperty(metaData2, new AbstractPropertyMetaData("string", new AbstractValueMetaData("factory")));
setBeanMetaDatas(new BeanMetaData[] { metaData1, getBeanMetaData(metaData2) });
}