Module moduleWrapper = (Module) Proxy.newProxyInstance(loader,
new Class[] {Module.class},
new ModuleInterceptor(realModule));
String serviceId = factoryParameters.getServiceId();
ServicePoint servicePoint = realModule.getServicePoint(serviceId);
ServiceImplementationFactoryParametersImpl replacement =
new ServiceImplementationFactoryParametersImpl(servicePoint,
moduleWrapper, factoryParameters.getParameters());
createdObject = applicationBuilderFactory.createCoreServiceImplementation(replacement);
return createdObject;
}