001: /**
002: * Licensed to the Apache Software Foundation (ASF) under one or more
003: * contributor license agreements. See the NOTICE file distributed with
004: * this work for additional information regarding copyright ownership.
005: * The ASF licenses this file to You under the Apache License, Version 2.0
006: * (the "License"); you may not use this file except in compliance with
007: * the License. You may obtain a copy of the License at
008: *
009: * http://www.apache.org/licenses/LICENSE-2.0
010: *
011: * Unless required by applicable law or agreed to in writing, software
012: * distributed under the License is distributed on an "AS IS" BASIS,
013: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
014: * See the License for the specific language governing permissions and
015: * limitations under the License.
016: */package org.apache.openejb.test.stateless;
017:
018: import java.rmi.RemoteException;
019:
020: import javax.ejb.EJBHome;
021: import javax.ejb.EJBMetaData;
022: import javax.ejb.EJBObject;
023: import javax.ejb.Handle;
024:
025: import org.apache.openejb.test.object.ObjectGraph;
026:
027: /**
028: *
029: * @author <a href="mailto:david.blevins@visi.com">David Blevins</a>
030: * @author <a href="mailto:Richard@Monson-Haefel.com">Richard Monson-Haefel</a>
031: */
032: public interface RmiIiopStatelessObject extends javax.ejb.EJBObject {
033:
034: public String returnStringObject(String data)
035: throws RemoteException;
036:
037: public String[] returnStringObjectArray(String[] data)
038: throws RemoteException;
039:
040: public Character returnCharacterObject(Character data)
041: throws RemoteException;
042:
043: public char returnCharacterPrimitive(char data)
044: throws RemoteException;
045:
046: public Character[] returnCharacterObjectArray(Character[] data)
047: throws RemoteException;
048:
049: public char[] returnCharacterPrimitiveArray(char[] data)
050: throws RemoteException;
051:
052: public Boolean returnBooleanObject(Boolean data)
053: throws RemoteException;
054:
055: public boolean returnBooleanPrimitive(boolean data)
056: throws RemoteException;
057:
058: public Boolean[] returnBooleanObjectArray(Boolean[] data)
059: throws RemoteException;
060:
061: public boolean[] returnBooleanPrimitiveArray(boolean[] data)
062: throws RemoteException;
063:
064: public Byte returnByteObject(Byte data) throws RemoteException;
065:
066: public byte returnBytePrimitive(byte data) throws RemoteException;
067:
068: public Byte[] returnByteObjectArray(Byte[] data)
069: throws RemoteException;
070:
071: public byte[] returnBytePrimitiveArray(byte[] data)
072: throws RemoteException;
073:
074: public Short returnShortObject(Short data) throws RemoteException;
075:
076: public short returnShortPrimitive(short data)
077: throws RemoteException;
078:
079: public Short[] returnShortObjectArray(Short[] data)
080: throws RemoteException;
081:
082: public short[] returnShortPrimitiveArray(short[] data)
083: throws RemoteException;
084:
085: public Integer returnIntegerObject(Integer data)
086: throws RemoteException;
087:
088: public int returnIntegerPrimitive(int data) throws RemoteException;
089:
090: public Integer[] returnIntegerObjectArray(Integer[] data)
091: throws RemoteException;
092:
093: public int[] returnIntegerPrimitiveArray(int[] data)
094: throws RemoteException;
095:
096: public Long returnLongObject(Long data) throws RemoteException;
097:
098: public long returnLongPrimitive(long data) throws RemoteException;
099:
100: public Long[] returnLongObjectArray(Long[] data)
101: throws RemoteException;
102:
103: public long[] returnLongPrimitiveArray(long[] data)
104: throws RemoteException;
105:
106: public Float returnFloatObject(Float data) throws RemoteException;
107:
108: public float returnFloatPrimitive(float data)
109: throws RemoteException;
110:
111: public Float[] returnFloatObjectArray(Float[] data)
112: throws RemoteException;
113:
114: public float[] returnFloatPrimitiveArray(float[] data)
115: throws RemoteException;
116:
117: public Double returnDoubleObject(Double data)
118: throws RemoteException;
119:
120: public double returnDoublePrimitive(double data)
121: throws RemoteException;
122:
123: public Double[] returnDoubleObjectArray(Double[] data)
124: throws RemoteException;
125:
126: public double[] returnDoublePrimitiveArray(double[] data)
127: throws RemoteException;
128:
129: public EJBHome returnEJBHome(EJBHome data) throws RemoteException;
130:
131: public EJBHome returnEJBHome() throws RemoteException;
132:
133: public ObjectGraph returnNestedEJBHome() throws RemoteException;
134:
135: public EJBHome[] returnEJBHomeArray(EJBHome[] data)
136: throws RemoteException;
137:
138: public EJBObject returnEJBObject(EJBObject data)
139: throws RemoteException;
140:
141: public EJBObject returnEJBObject() throws RemoteException;
142:
143: public ObjectGraph returnNestedEJBObject() throws RemoteException;
144:
145: public EJBObject[] returnEJBObjectArray(EJBObject[] data)
146: throws RemoteException;
147:
148: public EJBMetaData returnEJBMetaData(EJBMetaData data)
149: throws RemoteException;
150:
151: public EJBMetaData returnEJBMetaData() throws RemoteException;
152:
153: public ObjectGraph returnNestedEJBMetaData() throws RemoteException;
154:
155: public EJBMetaData[] returnEJBMetaDataArray(EJBMetaData[] data)
156: throws RemoteException;
157:
158: public Handle returnHandle(Handle data) throws RemoteException;
159:
160: public Handle returnHandle() throws RemoteException;
161:
162: public ObjectGraph returnNestedHandle() throws RemoteException;
163:
164: public Handle[] returnHandleArray(Handle[] data)
165: throws RemoteException;
166:
167: public ObjectGraph returnObjectGraph(ObjectGraph data)
168: throws RemoteException;
169:
170: public ObjectGraph[] returnObjectGraphArray(ObjectGraph[] data)
171: throws RemoteException;
172:
173: }
|