1 16 package org.apache.axis2.description; 17 18 import org.apache.axis2.engine.Phase; 19 import org.apache.axis2.phaseresolver.PhaseMetadata; 20 import org.apache.axis2.transport.TransportListener; 21 22 import javax.xml.namespace.QName ; 23 24 27 public class TransportInDescription 28 implements ParameterInclude { 29 32 protected final ParameterInclude paramInclude; 33 34 37 38 41 private Flow inFlow; 42 45 private Flow faultFlow; 46 47 48 51 protected QName name; 52 53 54 protected TransportListener reciever; 55 56 private Phase inPhase ; 58 private Phase faultPhase ; 60 61 62 63 64 65 70 public TransportInDescription(QName name) { 71 paramInclude = new ParameterIncludeImpl(); 72 this.name = name; 73 inPhase = new Phase(PhaseMetadata.TRANSPORT_PHASE); 74 faultPhase = new Phase(PhaseMetadata.TRANSPORT_PHASE); 75 } 76 77 83 public Parameter getParameter(String name) { 84 return paramInclude.getParameter(name); 85 } 86 87 92 public void addParameter(Parameter param) { 93 paramInclude.addParameter(param); 94 } 95 96 99 public QName getName() { 100 return name; 101 } 102 103 106 public void setName(QName name) { 107 this.name = name; 108 } 109 110 public Flow getInFlow() { 111 return inFlow; 112 } 113 114 public void setInFlow(Flow inFlow) { 115 this.inFlow = inFlow; 116 } 117 118 public Flow getFaultFlow() { 119 return faultFlow; 120 } 121 122 public void setFaultFlow(Flow faultFlow) { 123 this.faultFlow = faultFlow; 124 } 125 128 public TransportListener getReciever() { 129 return reciever; 130 } 131 132 135 public void setReciver(TransportListener receiver) { 136 reciever = receiver; 137 } 138 139 public Phase getInPhase() { 140 return inPhase; 141 } 142 143 public void setInPhase(Phase inPhase) { 144 this.inPhase = inPhase; 145 } 146 147 public Phase getFaultPhase() { 148 return faultPhase; 149 } 150 151 public void setFaultPhase(Phase faultPhase) { 152 this.faultPhase = faultPhase; 153 } 154 155 } 156 | Popular Tags |