KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > test > compliance > server > support > ObjectInvocationHandlerTest


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

7
8 package test.compliance.server.support;
9
10
11 /**
12  * @author <a HREF="mailto:Adrian.Brock@HappeningTimes.com">Adrian Brock</a>.
13  * @version $Revision: 1.3 $
14  */

15 public class ObjectInvocationHandlerTest
16    extends InvocationHandlerTest
17    implements ObjectInvocationHandlerTestMBean
18 {
19    public String toString()
20    {
21       return "TOSTRING";
22    }
23
24    public boolean equals(Object other)
25    {
26       return true;
27    }
28
29    public int hashCode()
30    {
31       return 1234;
32    }
33 }
Popular Tags