componentContextServiceName = null;
break;
}
}
final NamespaceSelectorService selectorService = new NamespaceSelectorService();
final ServiceName selectorServiceName = baseName.append("NAMESPACE");
final ServiceBuilder<NamespaceContextSelector> selectorServiceBuilder = serviceTarget.addService(selectorServiceName, selectorService)
.addDependency(appContextServiceName, NamingStore.class, selectorService.getApp())
.addDependency(moduleContextServiceName, NamingStore.class, selectorService.getModule());
if (componentContextServiceName != null) {
selectorServiceBuilder.addDependency(componentContextServiceName, NamingStore.class, selectorService.getComp());
}
selectorServiceBuilder.install();
// START depends on CREATE
startBuilder.addDependency(createServiceName, AbstractComponent.class, startService.getComponentInjector());