01: /*
02: * JBoss, Home of Professional Open Source.
03: * Copyright 2006, Red Hat Middleware LLC, and individual contributors
04: * as indicated by the @author tags. See the copyright.txt file in the
05: * distribution for a full listing of individual contributors.
06: *
07: * This is free software; you can redistribute it and/or modify it
08: * under the terms of the GNU Lesser General Public License as
09: * published by the Free Software Foundation; either version 2.1 of
10: * the License, or (at your option) any later version.
11: *
12: * This software is distributed in the hope that it will be useful,
13: * but WITHOUT ANY WARRANTY; without even the implied warranty of
14: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15: * Lesser General Public License for more details.
16: *
17: * You should have received a copy of the GNU Lesser General Public
18: * License along with this software; if not, write to the Free
19: * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
20: * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
21: */
22: package org.jboss.test.iiop.interfaces;
23:
24: import java.rmi.RemoteException;
25: import javax.ejb.EJBObject;
26:
27: /**
28: * @author reverbel@ime.usp.br
29: * @version $Revision: 57211 $
30: */
31: public interface StatelessSession extends EJBObject {
32: public String getString() throws java.rmi.RemoteException;
33:
34: public String testPrimitiveTypes(boolean flag, char c, byte b,
35: short s, int i, long l, float f, double d)
36: throws java.rmi.RemoteException;
37:
38: public String testString(String s) throws java.rmi.RemoteException;
39:
40: public StatelessSession testStatelessSession(String s,
41: StatelessSession t) throws java.rmi.RemoteException;
42:
43: public java.rmi.Remote testRemote(String s, java.rmi.Remote t)
44: throws java.rmi.RemoteException;
45:
46: public Foo testSerializable(Foo foo)
47: throws java.rmi.RemoteException;
48:
49: public int[] testIntArray(int[] a) throws java.rmi.RemoteException;
50:
51: public Foo[] testValueArray(Foo[] a)
52: throws java.rmi.RemoteException;
53:
54: public String testException(int i)
55: throws NegativeArgumentException, java.rmi.RemoteException;
56:
57: public Object fooValueToObject(Foo foo)
58: throws java.rmi.RemoteException;
59:
60: public Object booValueToObject(Boo boo)
61: throws java.rmi.RemoteException;
62:
63: public java.util.Vector valueArrayToVector(Foo[] a)
64: throws java.rmi.RemoteException;
65:
66: public Foo[] vectorToValueArray(java.util.Vector v)
67: throws java.rmi.RemoteException;
68:
69: public Object getException() throws java.rmi.RemoteException;
70:
71: public Object getZooValue() throws java.rmi.RemoteException;
72:
73: public Object[] testReferenceSharingWithinArray(Object[] a)
74: throws java.rmi.RemoteException;
75:
76: public java.util.Collection testReferenceSharingWithinCollection(
77: java.util.Collection c) throws java.rmi.RemoteException;
78:
79: public org.omg.CORBA.Object testCorbaObject(org.omg.CORBA.Object obj)
80: throws java.rmi.RemoteException;
81:
82: public IdlInterface testIdlInterface(IdlInterface ref)
83: throws java.rmi.RemoteException;
84:
85: }
|