}
File module4Dir = createModule("org.lilyproject.runtime.test.testmodules.jwiringmod4");
{
ModuleDefinition module = new ModuleDefinition("jwiringmod4a", module4Dir, ModuleSourceType.EXPANDED_JAR);
module.addInject(new JavaServiceInjectByServiceDefinition("java.lang.CharSequence", "jwiringmod1a", "foo1Bean"));
model.addModule(module);
}
{
ModuleDefinition module = new ModuleDefinition("jwiringmod4b", module4Dir, ModuleSourceType.EXPANDED_JAR);
module.addInject(new JavaServiceInjectByServiceDefinition("java.lang.CharSequence", "jwiringmod1b", "foo1Bean"));
model.addModule(module);
}
return model;
}