站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBOSS Portal 2.6 API 英文版文档

ProxyInfo - JBOSS Portal 2.6 API 英文版文档


org.jboss.portal.common.util
Class ProxyInfo

java.lang.Object
  extended byorg.jboss.portal.common.util.ProxyInfo

public class ProxyInfo
extends java.lang.Object

Encapsulate info about a proxy and provide a way to instantiate it.

Version:
$Revision: 5451 $
Author:
Julien Viet

Field Summary
private  java.lang.reflect.Constructor ctor
          The proxy constructor.
private static java.lang.Class[] EMPTY_SIGNATURE
           
private  java.lang.reflect.Method equals
          The proxy equals method.
private static java.lang.Class[] EQUALS_SIGNATURE
           
private  java.lang.reflect.Method hashCode
          The proxy hashCode method.
private static java.lang.Class[] INVOCATION_HANDLER_SIGNATURE
           
private  java.lang.reflect.Method toString
          The proxy toString method.
 
Constructor Summary
ProxyInfo(java.lang.Class clazz)
           
 
Method Summary
 java.lang.reflect.Method getEquals()
           
 java.lang.reflect.Method getHashCode()
           
 java.lang.reflect.Method getToString()
           
 java.lang.Object instantiate(java.lang.reflect.InvocationHandler handler)
          Instantiate a proxy.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EMPTY_SIGNATURE

private static final java.lang.Class[] EMPTY_SIGNATURE

EQUALS_SIGNATURE

private static final java.lang.Class[] EQUALS_SIGNATURE

INVOCATION_HANDLER_SIGNATURE

private static final java.lang.Class[] INVOCATION_HANDLER_SIGNATURE

ctor

private final java.lang.reflect.Constructor ctor
The proxy constructor.


toString

private final java.lang.reflect.Method toString
The proxy toString method.


hashCode

private final java.lang.reflect.Method hashCode
The proxy hashCode method.


equals

private final java.lang.reflect.Method equals
The proxy equals method.

Constructor Detail

ProxyInfo

public ProxyInfo(java.lang.Class clazz)
          throws java.lang.Exception
Method Detail

instantiate

public java.lang.Object instantiate(java.lang.reflect.InvocationHandler handler)
                             throws java.lang.IllegalAccessException,
                                    java.lang.reflect.InvocationTargetException,
                                    java.lang.InstantiationException
Instantiate a proxy.

Parameters:
handler - the invocation handler
Returns:
the proxy
Throws:
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
java.lang.InstantiationException

getToString

public java.lang.reflect.Method getToString()

getHashCode

public java.lang.reflect.Method getHashCode()

getEquals

public java.lang.reflect.Method getEquals()