KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > openejb > test > stateful > RmiIiopStatefulObject


1 /**
2  * Redistribution and use of this software and associated documentation
3  * ("Software"), with or without modification, are permitted provided
4  * that the following conditions are met:
5  *
6  * 1. Redistributions of source code must retain copyright
7  * statements and notices. Redistributions must also contain a
8  * copy of this document.
9  *
10  * 2. Redistributions in binary form must reproduce the
11  * above copyright notice, this list of conditions and the
12  * following disclaimer in the documentation and/or other
13  * materials provided with the distribution.
14  *
15  * 3. The name "Exolab" must not be used to endorse or promote
16  * products derived from this Software without prior written
17  * permission of Exoffice Technologies. For written permission,
18  * please contact info@exolab.org.
19  *
20  * 4. Products derived from this Software may not be called "Exolab"
21  * nor may "Exolab" appear in their names without prior written
22  * permission of Exoffice Technologies. Exolab is a registered
23  * trademark of Exoffice Technologies.
24  *
25  * 5. Due credit should be given to the Exolab Project
26  * (http://www.exolab.org/).
27  *
28  * THIS SOFTWARE IS PROVIDED BY EXOFFICE TECHNOLOGIES AND CONTRIBUTORS
29  * ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT
30  * NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
31  * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
32  * EXOFFICE TECHNOLOGIES OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
33  * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
34  * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
35  * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
36  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
37  * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
38  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
39  * OF THE POSSIBILITY OF SUCH DAMAGE.
40  *
41  * Copyright 1999 (C) Exoffice Technologies Inc. All Rights Reserved.
42  *
43  * $Id: RmiIiopStatefulObject.java 1096 2004-03-26 21:41:16Z dblevins $
44  */

45 package org.openejb.test.stateful;
46
47 import java.rmi.RemoteException JavaDoc;
48
49 import javax.ejb.EJBHome JavaDoc;
50 import javax.ejb.EJBMetaData JavaDoc;
51 import javax.ejb.EJBObject JavaDoc;
52 import javax.ejb.Handle JavaDoc;
53
54 import org.openejb.test.object.ObjectGraph;
55
56 /**
57  *
58  * @author <a HREF="mailto:david.blevins@visi.com">David Blevins</a>
59  * @author <a HREF="mailto:Richard@Monson-Haefel.com">Richard Monson-Haefel</a>
60  */

61 public interface RmiIiopStatefulObject extends javax.ejb.EJBObject JavaDoc{
62     
63     public String JavaDoc returnStringObject(String JavaDoc data) throws RemoteException JavaDoc;
64
65     public String JavaDoc[] returnStringObjectArray(String JavaDoc[] data) throws RemoteException JavaDoc;
66
67     public Character JavaDoc returnCharacterObject(Character JavaDoc data) throws RemoteException JavaDoc;
68
69     public char returnCharacterPrimitive(char data) throws RemoteException JavaDoc;
70
71     public Character JavaDoc[] returnCharacterObjectArray(Character JavaDoc[] data) throws RemoteException JavaDoc;
72
73     public char[] returnCharacterPrimitiveArray(char[] data) throws RemoteException JavaDoc;
74
75     public Boolean JavaDoc returnBooleanObject(Boolean JavaDoc data) throws RemoteException JavaDoc;
76
77     public boolean returnBooleanPrimitive(boolean data) throws RemoteException JavaDoc;
78
79     public Boolean JavaDoc[] returnBooleanObjectArray(Boolean JavaDoc[] data) throws RemoteException JavaDoc;
80
81     public boolean[] returnBooleanPrimitiveArray(boolean[] data) throws RemoteException JavaDoc;
82
83     public Byte JavaDoc returnByteObject(Byte JavaDoc data) throws RemoteException JavaDoc;
84
85     public byte returnBytePrimitive(byte data) throws RemoteException JavaDoc;
86
87     public Byte JavaDoc[] returnByteObjectArray(Byte JavaDoc[] data) throws RemoteException JavaDoc;
88
89     public byte[] returnBytePrimitiveArray(byte[] data) throws RemoteException JavaDoc;
90
91     public Short JavaDoc returnShortObject(Short JavaDoc data) throws RemoteException JavaDoc;
92
93     public short returnShortPrimitive(short data) throws RemoteException JavaDoc;
94
95     public Short JavaDoc[] returnShortObjectArray(Short JavaDoc[] data) throws RemoteException JavaDoc;
96
97     public short[] returnShortPrimitiveArray(short[] data) throws RemoteException JavaDoc;
98
99     public Integer JavaDoc returnIntegerObject(Integer JavaDoc data) throws RemoteException JavaDoc;
100
101     public int returnIntegerPrimitive(int data) throws RemoteException JavaDoc;
102
103     public Integer JavaDoc[] returnIntegerObjectArray(Integer JavaDoc[] data) throws RemoteException JavaDoc;
104
105     public int[] returnIntegerPrimitiveArray(int[] data) throws RemoteException JavaDoc;
106
107     public Long JavaDoc returnLongObject(Long JavaDoc data) throws RemoteException JavaDoc;
108
109     public long returnLongPrimitive(long data) throws RemoteException JavaDoc;
110
111     public Long JavaDoc[] returnLongObjectArray(Long JavaDoc[] data) throws RemoteException JavaDoc;
112
113     public long[] returnLongPrimitiveArray(long[] data) throws RemoteException JavaDoc;
114
115     public Float JavaDoc returnFloatObject(Float JavaDoc data) throws RemoteException JavaDoc;
116
117     public float returnFloatPrimitive(float data) throws RemoteException JavaDoc;
118
119     public Float JavaDoc[] returnFloatObjectArray(Float JavaDoc[] data) throws RemoteException JavaDoc;
120
121     public float[] returnFloatPrimitiveArray(float[] data) throws RemoteException JavaDoc;
122
123     public Double JavaDoc returnDoubleObject(Double JavaDoc data) throws RemoteException JavaDoc;
124
125     public double returnDoublePrimitive(double data) throws RemoteException JavaDoc;
126
127     public Double JavaDoc[] returnDoubleObjectArray(Double JavaDoc[] data) throws RemoteException JavaDoc;
128
129     public double[] returnDoublePrimitiveArray(double[] data) throws RemoteException JavaDoc;
130
131     public EJBHome JavaDoc returnEJBHome(EJBHome JavaDoc data) throws RemoteException JavaDoc;
132
133     public EJBHome JavaDoc returnEJBHome() throws RemoteException JavaDoc;
134
135     public ObjectGraph returnNestedEJBHome() throws RemoteException JavaDoc;
136
137     public EJBHome JavaDoc[] returnEJBHomeArray(EJBHome JavaDoc[] data) throws RemoteException JavaDoc;
138
139     public EJBObject JavaDoc returnEJBObject(EJBObject JavaDoc data) throws RemoteException JavaDoc;
140
141     public EJBObject JavaDoc returnEJBObject() throws RemoteException JavaDoc;
142
143     public ObjectGraph returnNestedEJBObject() throws RemoteException JavaDoc;
144
145     public EJBObject JavaDoc[] returnEJBObjectArray(EJBObject JavaDoc[] data) throws RemoteException JavaDoc;
146
147     public EJBMetaData JavaDoc returnEJBMetaData(EJBMetaData JavaDoc data) throws RemoteException JavaDoc;
148
149     public EJBMetaData JavaDoc returnEJBMetaData() throws RemoteException JavaDoc;
150
151     public ObjectGraph returnNestedEJBMetaData() throws RemoteException JavaDoc;
152
153     public EJBMetaData JavaDoc[] returnEJBMetaDataArray(EJBMetaData JavaDoc[] data) throws RemoteException JavaDoc;
154
155     public Handle JavaDoc returnHandle(Handle JavaDoc data) throws RemoteException JavaDoc;
156
157     public Handle JavaDoc returnHandle() throws RemoteException JavaDoc;
158
159     public ObjectGraph returnNestedHandle() throws RemoteException JavaDoc;
160
161     public Handle JavaDoc[] returnHandleArray(Handle JavaDoc[] data) throws RemoteException JavaDoc;
162
163     public ObjectGraph returnObjectGraph(ObjectGraph data) throws RemoteException JavaDoc;
164
165     public ObjectGraph[] returnObjectGraphArray(ObjectGraph[] data) throws RemoteException JavaDoc;
166
167 }
168
Popular Tags