1 22 package org.jboss.test.webservice.marshalltest; 23 24 import org.jboss.test.webservice.marshalltest.types.Bean; 25 26 import javax.ejb.SessionBean ; 27 import javax.ejb.SessionContext ; 28 import javax.xml.namespace.QName ; 29 import java.math.BigDecimal ; 30 import java.math.BigInteger ; 31 import java.util.Calendar ; 32 import java.util.Date ; 33 34 public class MarshallEndpointImpl implements SessionBean 35 { 36 public String echoString(String v) 37 { 38 return v; 39 } 40 41 public BigInteger echoInteger(BigInteger v) 42 { 43 return v; 44 } 45 46 public int echoInt(int v) 47 { 48 return v; 49 } 50 51 public long echoLong(long v) 52 { 53 return v; 54 } 55 56 public short echoShort(short v) 57 { 58 return v; 59 } 60 61 public BigDecimal echoDecimal(BigDecimal v) 62 { 63 return v; 64 } 65 66 public float echoFloat(float v) 67 { 68 return v; 69 } 70 71 public double echoDouble(double v) 72 { 73 return v; 74 } 75 76 public boolean echoBoolean(boolean v) 77 { 78 return v; 79 } 80 81 public byte echoByte(byte v) 82 { 83 return v; 84 } 85 86 public QName echoQName(QName v) 87 { 88 return v; 89 } 90 91 public Calendar echoDateTimeCalendar(Calendar v) 92 { 93 return v; 94 } 95 96 public Date echoDateTimeDate(Date v) 97 { 98 return v; 99 } 100 101 public Calendar echoDateCalendar(Calendar v) 102 { 103 return v; 104 } 105 106 public Date echoDateDate(Date v) 107 { 108 return v; 109 } 110 111 public byte[] echoBase64Binary(byte[] v) 112 { 113 return v; 114 } 115 116 public byte[] echoHexBinary(byte[] v) 117 { 118 return v; 119 } 120 121 public Bean echoBean(Bean bean) 122 { 123 return bean; 124 } 125 126 130 public String [] echoStringArray(String [] v) 131 { 132 return v; 133 } 134 135 public BigInteger [] echoIntegerArray(BigInteger [] v) 136 { 137 return v; 138 } 139 140 public int[] echoIntArray(int[] v) 141 { 142 return v; 143 } 144 145 public long[] echoLongArray(long[] v) 146 { 147 return v; 148 } 149 150 public short[] echoShortArray(short[] v) 151 { 152 return v; 153 } 154 155 public BigDecimal [] echoDecimalArray(BigDecimal [] v) 156 { 157 return v; 158 } 159 160 public float[] echoFloatArray(float[] v) 161 { 162 return v; 163 } 164 165 public double[] echoDoubleArray(double[] v) 166 { 167 return v; 168 } 169 170 public boolean[] echoBooleanArray(boolean[] v) 171 { 172 return v; 173 } 174 175 public byte[] echoByteArray(byte[] v) 176 { 177 return v; 178 } 179 180 public QName [] echoQNameArray(QName [] v) 181 { 182 return v; 183 } 184 185 public Calendar [] echoDateTimeArray(Calendar [] v) 186 { 187 return v; 188 } 189 190 204 205 public void ejbCreate() 206 { 207 } 208 209 public void ejbActivate() 210 { 211 } 212 213 public void ejbRemove() 214 { 215 } 216 217 public void ejbPassivate() 218 { 219 } 220 221 public void setSessionContext(SessionContext sc) 222 { 223 } 224 } 225 | Popular Tags |