KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > test > webservice > marshalltest > MarshallEndpointImpl


1 /*
2   * JBoss, Home of Professional Open Source
3   * Copyright 2005, JBoss Inc., and individual contributors as indicated
4   * by the @authors tag. See the copyright.txt in the distribution for a
5   * full listing of individual contributors.
6   *
7   * This is free software; you can redistribute it and/or modify it
8   * under the terms of the GNU Lesser General Public License as
9   * published by the Free Software Foundation; either version 2.1 of
10   * the License, or (at your option) any later version.
11   *
12   * This software is distributed in the hope that it will be useful,
13   * but WITHOUT ANY WARRANTY; without even the implied warranty of
14   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15   * Lesser General Public License for more details.
16   *
17   * You should have received a copy of the GNU Lesser General Public
18   * License along with this software; if not, write to the Free
19   * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
20   * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
21   */

22 package org.jboss.test.webservice.marshalltest;
23
24 import org.jboss.test.webservice.marshalltest.types.Bean;
25
26 import javax.ejb.SessionBean JavaDoc;
27 import javax.ejb.SessionContext JavaDoc;
28 import javax.xml.namespace.QName JavaDoc;
29 import java.math.BigDecimal JavaDoc;
30 import java.math.BigInteger JavaDoc;
31 import java.util.Calendar JavaDoc;
32 import java.util.Date JavaDoc;
33
34 public class MarshallEndpointImpl implements SessionBean JavaDoc
35 {
36    public String JavaDoc echoString(String JavaDoc v)
37    {
38       return v;
39    }
40
41    public BigInteger JavaDoc echoInteger(BigInteger JavaDoc 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 JavaDoc echoDecimal(BigDecimal JavaDoc 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 JavaDoc echoQName(QName JavaDoc v)
87    {
88       return v;
89    }
90
91    public Calendar JavaDoc echoDateTimeCalendar(Calendar JavaDoc v)
92    {
93       return v;
94    }
95
96    public Date JavaDoc echoDateTimeDate(Date JavaDoc v)
97    {
98       return v;
99    }
100
101    public Calendar JavaDoc echoDateCalendar(Calendar JavaDoc v)
102    {
103       return v;
104    }
105
106    public Date JavaDoc echoDateDate(Date JavaDoc 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    //
127
// array methods
128
//
129

130    public String JavaDoc[] echoStringArray(String JavaDoc[] v)
131    {
132       return v;
133    }
134
135    public BigInteger JavaDoc[] echoIntegerArray(BigInteger JavaDoc[] 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 JavaDoc[] echoDecimalArray(BigDecimal JavaDoc[] 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 JavaDoc[] echoQNameArray(QName JavaDoc[] v)
181    {
182       return v;
183    }
184
185    public Calendar JavaDoc[] echoDateTimeArray(Calendar JavaDoc[] v)
186    {
187       return v;
188    }
189    
190    /*
191     public byte[][] echoBase64BinaryArray(byte[][] v)
192     {
193     return v;
194     }
195     public byte[][] echoHexBinaryArray(byte[][] v)
196     {
197     return v;
198     }
199
200     public void echoVoid()
201     {
202     }
203     */

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 JavaDoc sc)
222    {
223    }
224 }
225
Popular Tags