// invoke the reference builder to handle additional policy metadata
policyBuilder.build(configuredService);
}
// add tail interceptor
for (InvocationConfiguration iConfig : (Collection<InvocationConfiguration>) iConfigMap.values()) {
iConfig.addTargetInterceptor(new InvokerInterceptor());
}
externalService.getConfiguredService().setContextFactory(config);
}