KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > test > iiop > interfaces > StatelessSession


1 /*
2   * JBoss, Home of Professional Open Source
3   * Copyright 2005, JBoss Inc., and individual contributors as indicated
4   * by the @authors tag. See the copyright.txt in the distribution for a
5   * full listing of individual contributors.
6   *
7   * This is free software; you can redistribute it and/or modify it
8   * under the terms of the GNU Lesser General Public License as
9   * 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 JavaDoc;
25 import javax.ejb.EJBObject JavaDoc;
26
27 /**
28  * @author reverbel@ime.usp.br
29  * @version $Revision: 37406 $
30  */

31 public interface StatelessSession
32    extends EJBObject JavaDoc
33 {
34    public String JavaDoc getString()
35       throws java.rmi.RemoteException JavaDoc;
36    
37    public String JavaDoc testPrimitiveTypes(boolean flag, char c, byte b,
38                                     short s, int i, long l, float f, double d)
39       throws java.rmi.RemoteException JavaDoc;
40    
41    public String JavaDoc testString(String JavaDoc s)
42       throws java.rmi.RemoteException JavaDoc;
43    
44    public StatelessSession testStatelessSession(String JavaDoc s, StatelessSession t)
45       throws java.rmi.RemoteException JavaDoc;
46    
47    public java.rmi.Remote JavaDoc testRemote(String JavaDoc s, java.rmi.Remote JavaDoc t)
48       throws java.rmi.RemoteException JavaDoc;
49    
50    public Foo testSerializable(Foo foo)
51       throws java.rmi.RemoteException JavaDoc;
52    
53    public int[] testIntArray(int[] a)
54       throws java.rmi.RemoteException JavaDoc;
55    
56    public Foo[] testValueArray(Foo[] a)
57       throws java.rmi.RemoteException JavaDoc;
58    
59    public String JavaDoc testException(int i)
60       throws NegativeArgumentException, java.rmi.RemoteException JavaDoc;
61    
62    public Object JavaDoc fooValueToObject(Foo foo)
63       throws java.rmi.RemoteException JavaDoc;
64    
65    public Object JavaDoc booValueToObject(Boo boo)
66       throws java.rmi.RemoteException JavaDoc;
67    
68    public java.util.Vector JavaDoc valueArrayToVector(Foo[] a)
69       throws java.rmi.RemoteException JavaDoc;
70    
71    public Foo[] vectorToValueArray(java.util.Vector JavaDoc v)
72       throws java.rmi.RemoteException JavaDoc;
73    
74    public Object JavaDoc getException()
75       throws java.rmi.RemoteException JavaDoc;
76    
77    public Object JavaDoc getZooValue()
78       throws java.rmi.RemoteException JavaDoc;
79    
80    public Object JavaDoc[] testReferenceSharingWithinArray(Object JavaDoc[] a)
81       throws java.rmi.RemoteException JavaDoc;
82    
83    public java.util.Collection JavaDoc testReferenceSharingWithinCollection(
84                                                         java.util.Collection JavaDoc c)
85       throws java.rmi.RemoteException JavaDoc;
86
87    public org.omg.CORBA.Object JavaDoc testCorbaObject(org.omg.CORBA.Object JavaDoc obj)
88       throws java.rmi.RemoteException JavaDoc;
89
90    public IdlInterface testIdlInterface(IdlInterface ref)
91       throws java.rmi.RemoteException JavaDoc;
92
93 }
94
Popular Tags