@Override protected OutboundSocketBinding createOutboundSocketBinding() { return new OutboundSocketBinding(this.outboundSocketName, this.socketBindingManagerInjectedValue.getValue(), destinationHost, destinationPort, this.sourceInterfaceInjectedValue.getOptionalValue(), this.sourcePort, this.fixedSourcePort); } }
@Override protected OutboundSocketBinding createOutboundSocketBinding() { return new OutboundSocketBinding(this.outboundSocketName, this.socketBindingManagerInjectedValue.getValue(), destinationHost, destinationPort, this.sourceInterfaceInjectedValue.getOptionalValue(), this.sourcePort, this.fixedSourcePort); } }
@Override protected OutboundSocketBinding createOutboundSocketBinding() { return new OutboundSocketBinding(this.outboundSocketName, this.socketBindingManagerInjectedValue.getValue(), destinationHost, destinationPort, this.sourceInterfaceInjectedValue.getOptionalValue(), this.sourcePort, this.fixedSourcePort); } }
@Override protected OutboundSocketBinding createOutboundSocketBinding() { return new OutboundSocketBinding(this.outboundSocketName, this.socketBindingManagerInjectedValue.getValue(), destinationHost, destinationPort, this.sourceInterfaceInjectedValue.getOptionalValue(), this.sourcePort, this.fixedSourcePort); } }
@Override protected OutboundSocketBinding createOutboundSocketBinding() { // unlike the RemoteDestinationOutboundSocketBindingService, we resolve the destination address // here itself (instead of doing it lazily in the OutboundSocketBinding) is because we already // inject a SocketBinding reference which is local to the server instance and is expected to have // already resolved the (local) address (via the NetworkInterfaceBinding). final InetAddress destinationAddress = this.getDestinationAddress(); final int destinationPort = this.getDestinationPort(); return new OutboundSocketBinding(this.outboundSocketName, this.socketBindingManagerInjectedValue.getValue(), destinationAddress, destinationPort, this.sourceInterfaceInjectedValue.getOptionalValue(), this.sourcePort, this.fixedSourcePort); }
@Override protected OutboundSocketBinding createOutboundSocketBinding() { // unlike the RemoteDestinationOutboundSocketBindingService, we resolve the destination address // here itself (instead of doing it lazily in the OutboundSocketBinding) is because we already // inject a SocketBinding reference which is local to the server instance and is expected to have // already resolved the (local) address (via the NetworkInterfaceBinding). final InetAddress destinationAddress = this.getDestinationAddress(); final int destinationPort = this.getDestinationPort(); return new OutboundSocketBinding(this.outboundSocketName, this.socketBindingManagerInjectedValue.getValue(), destinationAddress, destinationPort, this.sourceInterfaceInjectedValue.getOptionalValue(), this.sourcePort, this.fixedSourcePort); }
@Override protected OutboundSocketBinding createOutboundSocketBinding() { // unlike the RemoteDestinationOutboundSocketBindingService, we resolve the destination address // here itself (instead of doing it lazily in the OutboundSocketBinding) is because we already // inject a SocketBinding reference which is local to the server instance and is expected to have // already resolved the (local) address (via the NetworkInterfaceBinding). final InetAddress destinationAddress = this.getDestinationAddress(); final int destinationPort = this.getDestinationPort(); return new OutboundSocketBinding(this.outboundSocketName, this.socketBindingManagerInjectedValue.getValue(), destinationAddress, destinationPort, this.sourceInterfaceInjectedValue.getOptionalValue(), this.sourcePort, this.fixedSourcePort); }
@Override protected OutboundSocketBinding createOutboundSocketBinding() { // unlike the RemoteDestinationOutboundSocketBindingService, we resolve the destination address // here itself (instead of doing it lazily in the OutboundSocketBinding) is because we already // inject a SocketBinding reference which is local to the server instance and is expected to have // already resolved the (local) address (via the NetworkInterfaceBinding). final InetAddress destinationAddress = this.getDestinationAddress(); final int destinationPort = this.getDestinationPort(); return new OutboundSocketBinding(this.outboundSocketName, this.socketBindingManagerInjectedValue.getValue(), destinationAddress, destinationPort, this.sourceInterfaceInjectedValue.getOptionalValue(), this.sourcePort, this.fixedSourcePort); }