1 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 72 public void ejbActivate() throws javax.ejb.EJBException , java.rmi.RemoteException { 73 } 74 75 public void ejbPassivate() throws javax.ejb.EJBException , java.rmi.RemoteException { 76 } 77 78 public void ejbRemove() throws javax.ejb.EJBException , java.rmi.RemoteException { 79 } 80 81 public void setSessionContext(javax.ejb.SessionContext arg0) throws javax.ejb.EJBException , java.rmi.RemoteException { 82 } 83 } 84 | Popular Tags |