// Define inline implementation constructor, that wires the EagerLoad configuration
ImplementationConstructor constructor = new AbstractServiceImplementationConstructor(md.getLocation())
{
public Object constructCoreServiceImplementation(ImplementationConstructionContext context)
{
EagerLoader result = new EagerLoader();
result.setServicePoints((List) context.getConfiguration("EagerLoad"));
return result;
}
};
helper.addServiceImplementation(spd, constructor, ServiceModel.PRIMITIVE);