} else {
serviceTarget = (ServiceTarget) owner;
}
try {
// unlike on deployment processors, we may assume here it's a shareable bind if the owner is a deployment, because deployment unshareable namespaces are readonly stores
final BinderService binderService = deploymentUnitServiceName != null ? new SharedBinderService(name.toString(), null) : new BinderService(name.toString(), null);
final ServiceBuilder<?> builder = serviceTarget.addService(bindName, binderService)
.addDependency(getServiceNameBase(), ServiceBasedNamingStore.class, binderService.getNamingStoreInjector())
.addInjection(binderService.getManagedObjectInjector(), new ImmediateManagedReferenceFactory(object))
.setInitialMode(ServiceController.Mode.ACTIVE);
final ServiceController<?> binderServiceController = builder.install();