AbstractBeanMetaData metaData1 = new AbstractBeanMetaData("simple", SimpleBeanImpl.class.getName());
HashSet<PropertyMetaData> attributes1 = new HashSet<PropertyMetaData>();
attributes1.add(new AbstractPropertyMetaData("string", "String1"));
metaData1.setProperties(attributes1);
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) });
}