private void addAutowiring(ModuleDefinition md)
{
ServicePointDefinition spd = helper.addServicePoint("Autowiring", Autowiring.class.getName());
// Define inline implementation constructor, that wires the AutowiringStrategies configuration
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());