final ServiceName connectionFactoryServiceName = ConnectionFactoryService.SERVICE_NAME_BASE.append(jndi);
serviceTarget.addService(connectionFactoryServiceName, connectionFactoryService)
.addDependency(ConnectorServices.RESOURCE_ADAPTER_DEPLOYER_SERVICE_PREFIX.append(deploymentName))
.setInitialMode(ServiceController.Mode.ACTIVE).install();
final ConnectionFactoryReferenceFactoryService referenceFactoryService = new ConnectionFactoryReferenceFactoryService();
final ServiceName referenceFactoryServiceName = ConnectionFactoryReferenceFactoryService.SERVICE_NAME_BASE
.append(jndi);
serviceTarget.addService(referenceFactoryServiceName, referenceFactoryService)
.addDependency(connectionFactoryServiceName, Object.class, referenceFactoryService.getDataSourceInjector())
.addDependency(ConnectorServices.RESOURCE_ADAPTER_DEPLOYER_SERVICE_PREFIX.append(deploymentName))
.setInitialMode(ServiceController.Mode.ACTIVE).install();
final ContextNames.BindInfo bindInfo = ContextNames.bindInfoFor(jndi);
final BinderService binderService = new BinderService(bindInfo.getBindName());