当前页面:
在线文档首页 >
JBOSS Portal 2.4 API 英文版文档
ProxyInfo - JBOSS Portal 2.4 API 英文版文档
org.jboss.portal.common.util
Class ProxyInfo
java.lang.Object
org.jboss.portal.common.util.ProxyInfo
- public class ProxyInfo
- extends java.lang.Object
Encapsulate info about a proxy and provide a way to instantiate it.
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 |
ProxyInfo
public ProxyInfo(java.lang.Class clazz)
throws java.lang.Exception
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()