1 9 package com.sun.enterprise.jbi.serviceengine.bridge.transport; 10 import javax.xml.namespace.QName ; 11 12 import com.sun.enterprise.deployment.ServiceRefPortInfo; 13 import com.sun.xml.rpc.client.ClientTransportFactory; 14 import com.sun.xml.rpc.client.ClientTransport; 15 16 20 public class JAXRPCClientTransportFactory implements ClientTransportFactory { 21 22 private ServiceRefPortInfo portInfo; 24 26 public JAXRPCClientTransportFactory(ServiceRefPortInfo portInfo) { 27 setServicePortInfo(portInfo); 29 } 30 31 public ClientTransport create() { 32 JAXRPCClientTransport transport = new JAXRPCClientTransport(); 33 transport.setServicePortInfo(portInfo); 35 return transport; 36 } 37 38 41 42 45 46 public void setServicePortInfo(ServiceRefPortInfo portInfo) { 47 this.portInfo = portInfo; 48 } 49 } 50 | Popular Tags |