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: */package org.apache.openejb.server.axis;
17:
18: public class EchoBean implements Echo {
19: public void ejbCreate() {
20: }
21:
22: public void echoVoid() {
23: }
24:
25: public int echoInt(int in) {
26: return in;
27: }
28:
29: public double echoDouble(double in) {
30: return in;
31: }
32:
33: public float echoFloat(float in) {
34: return in;
35: }
36:
37: public boolean echoBoolean(boolean in) {
38: return in;
39: }
40:
41: public String echoString(String in) {
42: return in;
43: }
44:
45: public short echoShort(short in) {
46: return in;
47: }
48:
49: public long echoLong(long in) {
50: return in;
51: }
52:
53: public char echoChar(char in) {
54: return in;
55: }
56:
57: public byte[] echoBytes(byte[] in) {
58: return in;
59: }
60:
61: public void echoEvoid() {
62: }
63:
64: public EchoStruct echoStruct(EchoStruct in) {
65: return in;
66: }
67:
68: // public EchoStruct[] echoAStruct(EchoStruct[] in){
69: // return in;
70: // }
71:
72: public void ejbActivate() throws javax.ejb.EJBException,
73: java.rmi.RemoteException {
74: }
75:
76: public void ejbPassivate() throws javax.ejb.EJBException,
77: java.rmi.RemoteException {
78: }
79:
80: public void ejbRemove() throws javax.ejb.EJBException,
81: java.rmi.RemoteException {
82: }
83:
84: public void setSessionContext(javax.ejb.SessionContext arg0)
85: throws javax.ejb.EJBException, java.rmi.RemoteException {
86: }
87: }
|