{
ModuleDefinitionImpl module = createModuleDefinition("module1");
ServicePointDefinitionImpl sp1 = createServicePointDefinition(module, "Listener", Runnable.class);
ImplementationConstructor constructor = new AbstractServiceImplementationConstructor(newLocation()) {
public Object constructCoreServiceImplementation(ImplementationConstructionContext context)
{
RunnableImpl result = new RunnableImpl();
result.setType(serviceModel);