KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > remoting > ComplexReturn


1 /*
2  * JBoss, the OpenSource J2EE webOS
3  *
4  * Distributable under LGPL license.
5  * See terms of license at gnu.org.
6  */

7 package org.jboss.remoting;
8
9 import org.jboss.remoting.transport.mock.MockTest;
10
11 import java.io.Serializable JavaDoc;
12
13 /**
14  * Just a dumb test class used for testing the passing of complex
15  * objects within arrays in the invoker tests.
16  *
17  * @author <a HREF="mailto:telrod@e2technologies.net">Tom Elrod</a>
18  */

19 public class ComplexReturn implements Serializable JavaDoc
20 {
21    private MockTest[] mockTests;
22
23    public ComplexReturn()
24    {
25       mockTests = new MockTest[2];
26       mockTests[0] = new MockTest();
27       mockTests[1] = new MockTest();
28    }
29
30    public MockTest[] getMockTests()
31    {
32       return mockTests;
33    }
34 }
Popular Tags