CDC 1.1.2

インタフェース
java.lang.reflect.InvocationHandler の使用

InvocationHandler を使用しているパッケージ
java.lang.reflect クラスとオブジェクトに関するリフレクト情報を取得するクラスおよびインタフェースを提供します。 
 

java.lang.reflect での InvocationHandler の使用
 

InvocationHandler として宣言されている java.lang.reflect のフィールド
protected  InvocationHandler Proxy.h
          このプロキシインスタンスの呼び出しハンドラです。
 

InvocationHandler を返す java.lang.reflect のメソッド
static InvocationHandler Proxy.getInvocationHandler(Object proxy)
          指定されたプロキシインスタンスの呼び出しハンドラを返します。
 

InvocationHandler 型のパラメータを持つ java.lang.reflect のメソッド
static Object Proxy.newProxyInstance(ClassLoader loader, Class[] interfaces, InvocationHandler h)
          指定された呼び出しハンドラに対してメソッド呼び出しをディスパッチする、指定されたインタフェースのプロキシクラスのインスタンスを返します。
 

InvocationHandler 型のパラメータを持つ java.lang.reflect のコンストラクタ
Proxy(InvocationHandler h)
          指定された値で、サブクラス (通常は動的プロキシクラス) からその呼び出しハンドラに新しい Proxy インスタンスを構築します。
 


CDC 1.1.2

Copyright 2006 Sun Microsystems, Inc. All Rights Reserved. Use of this specification is subject to license terms.