mod_cluster/extension/src/main/java/org/wildfly/extension/mod_cluster/ProxyConfigurationServiceConfigurator.java
@Override
    public void accept(ModClusterConfiguration modClusterConfiguration) {
        if (advertiseSocketDependency != null) {
            SocketBinding binding = advertiseSocketDependency.get();
            ManagedBinding simpleManagedBinding = ManagedBinding.Factory.createSimpleManagedBinding(binding);
            binding.getSocketBindings().getNamedRegistry().unregisterBinding(simpleManagedBinding);
        }
    }
@Override
    public void accept(ModClusterConfiguration modClusterConfiguration) {
        if (advertiseSocketDependency != null) {
            SocketBinding binding = advertiseSocketDependency.get();
            ManagedBinding simpleManagedBinding = ManagedBinding.Factory.createSimpleManagedBinding(binding);
            binding.getSocketBindings().getNamedRegistry().unregisterBinding(simpleManagedBinding);
        }
    }
FunctionalService#destroyer implementation