01: /*======================================================================
02: * Licensed to the Apache Software Foundation (ASF) under one or more
03: * contributor license agreements. See the NOTICE file distributed with
04: * this work for additional information regarding copyright ownership.
05: * The ASF licenses this file to You under the Apache License, Version 2.0
06: * (the "License"); you may not use this file except in compliance with
07: * the License. You may obtain a copy of the License at
08: *
09: * http://www.apache.org/licenses/LICENSE-2.0
10: *
11: * Unless required by applicable law or agreed to in writing, software
12: * distributed under the License is distributed on an "AS IS" BASIS,
13: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14: * See the License for the specific language governing permissions and
15: * limitations under the License.
16: ======================================================================*/
17: package org.apache.ws.echosample;
18:
19: public class EchoBean implements javax.ejb.SessionBean {
20: public void ejbCreate() {
21: }
22:
23: public void echoVoid() {
24: }
25:
26: public int echoInt(int in) {
27: return in;
28: }
29:
30: public double echoDouble(double in) {
31: return in;
32: }
33:
34: public float echoFloat(float in) {
35: return in;
36: }
37:
38: public boolean echoBoolean(boolean in) {
39: return in;
40: }
41:
42: public String echoString(String in) {
43: return in;
44: }
45:
46: public short echoShort(short in) {
47: return in;
48: }
49:
50: public long echoLong(long in) {
51: return in;
52: }
53:
54: public char echoChar(char in) {
55: return in;
56: }
57:
58: public byte[] echoBytes(byte[] in) {
59: return in;
60: }
61:
62: public void echoEvoid() {
63: }
64:
65: public EchoStruct echoStruct(EchoStruct in) {
66: return in;
67: }
68:
69: // public EchoStruct[] echoAStruct(EchoStruct[] in){
70: // return in;
71: // }
72:
73: public void ejbActivate() throws javax.ejb.EJBException,
74: java.rmi.RemoteException {
75: }
76:
77: public void ejbPassivate() throws javax.ejb.EJBException,
78: java.rmi.RemoteException {
79: }
80:
81: public void ejbRemove() throws javax.ejb.EJBException,
82: java.rmi.RemoteException {
83: }
84:
85: public void setSessionContext(javax.ejb.SessionContext arg0)
86: throws javax.ejb.EJBException, java.rmi.RemoteException {
87: }
88: }
|