Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-17298

Replace messaging uses of wildfly-network ServiceName constants with the use of capabilities

XMLWordPrintable

    • ---
    • ---

      Replace these uses of the deprecated service name constants with use of the equivalent capabilities in the messaging code:

      Constant field
          JBOSS_BINDING_NAME
      Usages in Project and Libraries  (25 usages found)
          Value read  (25 usages found)
              wildfly-iiop-openjdk  (2 usages found)
                  org.wildfly.iiop.openjdk  (2 usages found)
                      IIOPSubsystemAdd  (2 usages found)
                          launchServices(OperationContext, ModelNode)  (2 usages found)
                              218 builder.addDependency(SocketBinding.JBOSS_BINDING_NAME.append(socketBinding), SocketBinding.class,
                              228 builder.addDependency(SocketBinding.JBOSS_BINDING_NAME.append(sslSocketBinding), SocketBinding.class,
              wildfly-iiop-openjdk-jakarta  (2 usages found)
                  org.wildfly.iiop.openjdk  (2 usages found)
                      IIOPSubsystemAdd  (2 usages found)
                          launchServices(OperationContext, ModelNode)  (2 usages found)
                              218 builder.addDependency(SocketBinding.JBOSS_BINDING_NAME.append(socketBinding), SocketBinding.class,
                              228 builder.addDependency(SocketBinding.JBOSS_BINDING_NAME.append(sslSocketBinding), SocketBinding.class,
              wildfly-messaging-activemq-subsystem  (6 usages found)
                  org.wildfly.extension.messaging.activemq  (4 usages found)
                      ServerAdd.InstallServerHandler  (2 usages found)
                          execute(OperationContext, ModelNode)  (2 usages found)
                              355 Supplier<SocketBinding> socketBinding = serviceBuilder.requires(SocketBinding.JBOSS_BINDING_NAME.append(socketBindingName));
                              373 Supplier<SocketBinding> socketBinding = serviceBuilder.requires(SocketBinding.JBOSS_BINDING_NAME.append(connectorSocketBinding));
                      SocketBroadcastGroupAdd  (1 usage found)
                          performRuntime(OperationContext, ModelNode, ModelNode)  (1 usage found)
                              107 builder.setInstance(new GroupBindingService(builder.requires(SocketBinding.JBOSS_BINDING_NAME.append(model.get(SOCKET_BINDING).asString()))));
                      SocketDiscoveryGroupAdd  (1 usage found)
                          performRuntime(OperationContext, ModelNode, ModelNode)  (1 usage found)
                              96 builder.setInstance(new GroupBindingService(builder.requires(SocketBinding.JBOSS_BINDING_NAME.append(model.get(SOCKET_BINDING).asString()))));
                  org.wildfly.extension.messaging.activemq.jms  (2 usages found)
                      ExternalConnectionFactoryAdd  (1 usage found)
                          performRuntime(OperationContext, ModelNode, ModelNode)  (1 usage found)
                              132 final ServiceName socketName = SocketBinding.JBOSS_BINDING_NAME.append(connectorSocketBinding);
                      ExternalPooledConnectionFactoryService  (1 usage found)
                          installService0(OperationContext, ServiceName, ExternalPooledConnectionFactoryService, DiscoveryGroupConfiguration, Set<String>, ModelNode)  (1 usage found)
                              295 final ServiceName socketName = SocketBinding.JBOSS_BINDING_NAME.append(connectorSocketBinding);
              wildfly-messaging-activemq-subsystem-jakarta  (6 usages found)
                  org.wildfly.extension.messaging.activemq  (4 usages found)
                      ServerAdd.InstallServerHandler  (2 usages found)
                          execute(OperationContext, ModelNode)  (2 usages found)
                              355 Supplier<SocketBinding> socketBinding = serviceBuilder.requires(SocketBinding.JBOSS_BINDING_NAME.append(socketBindingName));
                              373 Supplier<SocketBinding> socketBinding = serviceBuilder.requires(SocketBinding.JBOSS_BINDING_NAME.append(connectorSocketBinding));
                      SocketBroadcastGroupAdd  (1 usage found)
                          performRuntime(OperationContext, ModelNode, ModelNode)  (1 usage found)
                              107 builder.setInstance(new GroupBindingService(builder.requires(SocketBinding.JBOSS_BINDING_NAME.append(model.get(SOCKET_BINDING).asString()))));
                      SocketDiscoveryGroupAdd  (1 usage found)
                          performRuntime(OperationContext, ModelNode, ModelNode)  (1 usage found)
                              96 builder.setInstance(new GroupBindingService(builder.requires(SocketBinding.JBOSS_BINDING_NAME.append(model.get(SOCKET_BINDING).asString()))));
                  org.wildfly.extension.messaging.activemq.jms  (2 usages found)
                      ExternalConnectionFactoryAdd  (1 usage found)
                          performRuntime(OperationContext, ModelNode, ModelNode)  (1 usage found)
                              132 final ServiceName socketName = SocketBinding.JBOSS_BINDING_NAME.append(connectorSocketBinding);
                      ExternalPooledConnectionFactoryService  (1 usage found)
                          installService0(OperationContext, ServiceName, ExternalPooledConnectionFactoryService, DiscoveryGroupConfiguration, Set<String>, ModelNode)  (1 usage found)
                              295 final ServiceName socketName = SocketBinding.JBOSS_BINDING_NAME.append(connectorSocketBinding);
              wildfly-rts  (3 usages found)
                  org.wildfly.extension.rts  (3 usages found)
                      RTSSubsystemAdd  (3 usages found)
                          registerCoordinatorService(OperationContext, ModelNode)  (1 usage found)
                              104 .addDependency(SocketBinding.JBOSS_BINDING_NAME.append(socketBindingName), SocketBinding.class,
                          registerParticipantService(OperationContext, ModelNode)  (1 usage found)
                              123 .addDependency(SocketBinding.JBOSS_BINDING_NAME.append(socketBindingName), SocketBinding.class,
                          registerVolatileParticipantService(OperationContext, ModelNode)  (1 usage found)
                              144 .addDependency(SocketBinding.JBOSS_BINDING_NAME.append(socketBindingName), SocketBinding.class,
              wildfly-rts-jakarta  (3 usages found)
                  org.wildfly.extension.rts  (3 usages found)
                      RTSSubsystemAdd  (3 usages found)
                          registerCoordinatorService(OperationContext, ModelNode)  (1 usage found)
                              104 .addDependency(SocketBinding.JBOSS_BINDING_NAME.append(socketBindingName), SocketBinding.class,
                          registerParticipantService(OperationContext, ModelNode)  (1 usage found)
                              123 .addDependency(SocketBinding.JBOSS_BINDING_NAME.append(socketBindingName), SocketBinding.class,
                          registerVolatileParticipantService(OperationContext, ModelNode)  (1 usage found)
                              144 .addDependency(SocketBinding.JBOSS_BINDING_NAME.append(socketBindingName), SocketBinding.class,
              wildfly-transactions  (1 usage found)
                  org.jboss.as.txn.subsystem  (1 usage found)
                      TransactionSubsystemAdd  (1 usage found)
                          performCoreEnvironmentBootTime(OperationContext, ModelNode)  (1 usage found)
                              401 ServiceName bindingName = SocketBinding.JBOSS_BINDING_NAME.append(socketBindingName);
              wildfly-transactions-jakarta  (1 usage found)
                  org.jboss.as.txn.subsystem  (1 usage found)
                      TransactionSubsystemAdd  (1 usage found)
                          performCoreEnvironmentBootTime(OperationContext, ModelNode)  (1 usage found)
                              401 ServiceName bindingName = SocketBinding.JBOSS_BINDING_NAME.append(socketBindingName);
              Maven: org.wildfly.core:wildfly-server:20.0.0.Beta2  (1 usage found)
                  org.jboss.as.server.services.net  (1 usage found)
                      BindingAddHandler  (1 usage found)
                          installBindingService(OperationContext, ModelNode, String)  (1 usage found)
                              110 builder.addAliases(SocketBinding.JBOSS_BINDING_NAME.append(name));
      
       Constant field
           OUTBOUND_SOCKET_BINDING_BASE_SERVICE_NAME
       Usages in Project and Libraries  (3 usages found)
           Value read  (3 usages found)
               wildfly-messaging-activemq-subsystem  (3 usages found)
                   org.wildfly.extension.messaging.activemq  (1 usage found)
                       ServerAdd.InstallServerHandler  (1 usage found)
                           execute(OperationContext, ModelNode)  (1 usage found)
                               367 final ServiceName outboundSocketName = OutboundSocketBinding.OUTBOUND_SOCKET_BINDING_BASE_SERVICE_NAME.append(connectorSocketBinding);
                   org.wildfly.extension.messaging.activemq.jms  (2 usages found)
                       ExternalConnectionFactoryAdd  (1 usage found)
                           performRuntime(OperationContext, ModelNode, ModelNode)  (1 usage found)
                               128 final ServiceName outboundSocketName = OutboundSocketBinding.OUTBOUND_SOCKET_BINDING_BASE_SERVICE_NAME.append(connectorSocketBinding);
                       ExternalPooledConnectionFactoryService  (1 usage found)
                           installService0(OperationContext, ServiceName, ExternalPooledConnectionFactoryService, DiscoveryGroupConfiguration, Set<String>, ModelNode)  (1 usage found)
                               291 final ServiceName outboundSocketName = OutboundSocketBinding.OUTBOUND_SOCKET_BINDING_BASE_SERVICE_NAME.append(connectorSocketBinding);
      

            ehugonne1@redhat.com Emmanuel Hugonnet
            bstansbe@redhat.com Brian Stansberry
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: