AbstractDependencyValueMetaData vfsCL = new AbstractDependencyValueMetaData("VFSClassLoader");
String bean1Type = "org.jboss.test.kernel.dependency.classloader.SimpleBeanImpl";
AbstractBeanMetaData metaData1 = new AbstractBeanMetaData("VFSBean1", bean1Type);
HashSet attributes1 = new HashSet();
attributes1.add(new AbstractPropertyMetaData("string", "String1"));
metaData1.setProperties(attributes1);
metaData1.setClassLoader(new AbstractClassLoaderMetaData(vfsCL));
AbstractBeanMetaData metaData2 = new AbstractBeanMetaData("VFSBean2",
"org.jboss.test.kernel.dependency.classloader.SimpleBeanWithConstructorClassLoaderImpl");
HashSet attributes2 = new HashSet();
attributes2.add(new AbstractPropertyMetaData("string", "String2"));
metaData2.setProperties(attributes2);
metaData2.setClassLoader(new AbstractClassLoaderMetaData(vfsCL));
ArrayList constructor2 = new ArrayList();
String bean1Iface = "org.jboss.test.kernel.dependency.classloader.SimpleBean";
AbstractDependencyValueMetaData bean2Depends = new AbstractDependencyValueMetaData("VFSBean1");