ImplementationConstructor constructor = new AbstractServiceImplementationConstructor(md.getLocation())
{
public Object constructCoreServiceImplementation(ImplementationConstructionContext context)
{
List strategies = (List) context.getConfiguration("AutowiringStrategies");
Autowiring result = new AutowiringImpl(context.getRegistry(), strategies, context.getDefiningModule().getErrorHandler());
return result;
}
};
helper.addServiceImplementation(spd, constructor, ServiceModel.PRIMITIVE);