org.apache.jetspeed.util
Class BaseObjectProxy

java.lang.Object
  extended by org.apache.jetspeed.util.BaseObjectProxy
All Implemented Interfaces:
java.lang.reflect.InvocationHandler
Direct Known Subclasses:
PortletObjectProxy

public class BaseObjectProxy
extends java.lang.Object
implements java.lang.reflect.InvocationHandler

BaseObjectProxy

Version:
$Id: BaseObjectProxy.java 516448 2007-03-09 16:25:47Z ate $
Author:
Woonsan Ko

Field Summary
protected static java.lang.reflect.Method equalsMethod
           
protected static java.lang.reflect.Method hashCodeMethod
           
protected static java.lang.reflect.Method toStringMethod
           
 
Constructor Summary
BaseObjectProxy()
           
 
Method Summary
 java.lang.Object invoke(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object[] args)
           
protected  java.lang.Boolean proxyEquals(java.lang.Object proxy, java.lang.Object other)
           
protected  java.lang.Integer proxyHashCode(java.lang.Object proxy)
           
protected  java.lang.String proxyToString(java.lang.Object proxy)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

hashCodeMethod

protected static java.lang.reflect.Method hashCodeMethod

equalsMethod

protected static java.lang.reflect.Method equalsMethod

toStringMethod

protected static java.lang.reflect.Method toStringMethod
Constructor Detail

BaseObjectProxy

public BaseObjectProxy()
Method Detail

invoke

public java.lang.Object invoke(java.lang.Object proxy,
                               java.lang.reflect.Method method,
                               java.lang.Object[] args)
                        throws java.lang.Throwable
Specified by:
invoke in interface java.lang.reflect.InvocationHandler
Throws:
java.lang.Throwable

proxyHashCode

protected java.lang.Integer proxyHashCode(java.lang.Object proxy)

proxyEquals

protected java.lang.Boolean proxyEquals(java.lang.Object proxy,
                                        java.lang.Object other)

proxyToString

protected java.lang.String proxyToString(java.lang.Object proxy)


Copyright © 1999-2010 Apache Software Foundation. All Rights Reserved.