final String scope = config.getChild("scope").getValue("application");
final ScopePolicy policy = ScopePolicyEditor.toScopePolicy(scope);
if (getServiceLocator().hasComponent(role))
{
final Invoker invoker = new FactoryInvoker(
new ServiceLocatorFactory(role, getServiceLocator()), policy);
service.setInvoker(invoker);
}
else
{