public Channel build ( ) { Channel channel = null ; if ( _channelClass != null ) { channel = Construction . construct ( _channelClass ) ; if ( channel instanceof SwitchYardServiceChannel ) { SwitchYardServiceChannel sysc = ( SwitchYardServiceChannel ) channel ; sysc . setServiceName ( _serviceName ) ; sysc . setOperationName ( _operationName ) ; sysc . setInvoker ( new SwitchYardServiceInvoker ( getServiceDomain ( ) , _targetNamespace ) ) ; } } return channel ; }
Builds a Channel .