HashSet attributes1 = new HashSet();
attributes1.add(new AbstractPropertyMetaData("string", "String1"));
metaData1.setProperties(attributes1);
GenericBeanFactoryMetaData metaData2 = new GenericBeanFactoryMetaData("aspect");
metaData2.addProperty(new AbstractPropertyMetaData("bean", SimpleBeanWithDependencyImpl.class.getName()));
metaData2.addProperty(new AbstractPropertyMetaData("constructor", new AbstractConstructorMetaData()));
metaData2.addBeanProperty(new AbstractPropertyMetaData("simpleBean", new AbstractDependencyValueMetaData("simple")));
metaData2.addBeanProperty(new AbstractPropertyMetaData("string", new AbstractValueMetaData("factory")));
setBeanMetaDatas(new BeanMetaData[] { metaData1, metaData2 });