ImplementationConstructor constructor = new AbstractServiceImplementationConstructor(newLocation()) {
public Object constructCoreServiceImplementation(ImplementationConstructionContext context)
{
RunnableImpl result = new RunnableImpl();
result.setType(serviceModel);
return result;
}};
ImplementationDefinition impl = new ImplementationDefinitionImpl(module, newLocation(),
constructor, serviceModel, true);