// Create the classloader
builder = BeanMetaDataBuilder.createBuilder(contextName, ClassLoader.class.getName());
builder.setNoClassLoader();
builder.setFactory(moduleName);
builder.setFactoryMethod("registerClassLoaderPolicy");
builder.addConstructorParameter(ClassLoaderSystem.class.getName(), builder.createInject(classLoaderSystemName));
BeanMetaData classLoader = builder.getBeanMetaData();
return Arrays.asList(classLoader, module);
}
}