1 55 56 package org.jboss.axis.client; 57 58 import org.jboss.axis.AxisEngine; 59 import org.jboss.axis.AxisFault; 60 import org.jboss.axis.MessageContext; 61 62 public class Transport 63 { 64 65 68 public String transportName = null; 69 70 73 public String url = null; 74 75 public final void setupMessageContext(MessageContext context, 76 Call message, 77 AxisEngine engine) 78 throws AxisFault 79 { 80 if (url != null) 81 context.setProperty(MessageContext.TRANS_URL, url); 82 83 if (transportName != null) 84 context.setTransportName(transportName); 85 86 setupMessageContextImpl(context, message, engine); 87 } 88 89 public void setupMessageContextImpl(MessageContext context, 90 Call message, 91 AxisEngine engine) 92 throws AxisFault 93 { 94 } 96 97 101 public void processReturnedMessageContext(MessageContext context) 102 { 103 } 105 106 111 public void setTransportName(String name) 112 { 113 transportName = name; 114 } 115 116 121 public String getTransportName() 122 { 123 return (transportName); 124 } 125 126 129 public String getUrl() 130 { 131 return url; 132 } 133 134 137 public void setUrl(String url) 138 { 139 this.url = url; 140 } 141 } 142 143 144 | Popular Tags |