KickJava   Java API By Example, From Geeks To Geeks.

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

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