Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 1 (11.1.1.9.0)

E52932-01


oracle.adf.model.adapter.bean
Class BeanDCInvocationHandler

java.lang.Object
  extended by oracle.adf.model.adapter.bean.BeanDCInvocationHandler

All Implemented Interfaces:
java.lang.reflect.InvocationHandler

public class BeanDCInvocationHandler
extends java.lang.Object
implements java.lang.reflect.InvocationHandler
Since:
release specific (what release of product did this appear in)

Constructor Summary
BeanDCInvocationHandler(java.lang.Object dataProvider)
           

 

Method Summary
static java.lang.reflect.Method findMethod(java.lang.Object proxy, java.lang.String methodName, java.lang.Class[] parameterTypes)
          Find method
static java.lang.reflect.Method[] findMethods(java.lang.Object proxy, java.lang.String methodName)
          Find all methods with a matching methodName
 java.lang.Object invoke(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object[] args)
          Processes a method invocation on a proxy instance and returns the result.
 java.lang.Object invoke(java.lang.String methodName, java.lang.Class[] parameterTypes, java.lang.Object[] args)
          Processes a method invocation on a proxy instance and returns the result.
 java.lang.Object invokeMethod(java.lang.String methodName, java.lang.Class[] parameterTypes, java.lang.Object[] args)
          Invoke operation

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

BeanDCInvocationHandler

public BeanDCInvocationHandler(java.lang.Object dataProvider)

Method Detail

invokeMethod

public java.lang.Object invokeMethod(java.lang.String methodName,
                                     java.lang.Class[] parameterTypes,
                                     java.lang.Object[] args)
Invoke operation
Parameters:
methodName - String
parameterTypes - Class[]
args - Object[]
Returns:
object

findMethod

public static java.lang.reflect.Method findMethod(java.lang.Object proxy,
                                                  java.lang.String methodName,
                                                  java.lang.Class[] parameterTypes)
Find method
Parameters:
proxy - instance
methodName - String
parameterTypes - Class[]
Returns:
method or null if there is no such methodName

findMethods

public static java.lang.reflect.Method[] findMethods(java.lang.Object proxy,
                                                     java.lang.String methodName)
Find all methods with a matching methodName
Parameters:
proxy -
methodName -
Returns:
methods or null there is no such methodName

invoke

public java.lang.Object invoke(java.lang.String methodName,
                               java.lang.Class[] parameterTypes,
                               java.lang.Object[] args)
                        throws java.lang.Exception
Processes a method invocation on a proxy instance and returns the result. This method will be invoked on an invocation handler when a method is invoked on a proxy instance that it is associated with.
Throws:
java.lang.Exception

invoke

public java.lang.Object invoke(java.lang.Object proxy,
                               java.lang.reflect.Method method,
                               java.lang.Object[] args)
Processes a method invocation on a proxy instance and returns the result. This method will be invoked on an invocation handler when a method is invoked on a proxy instance that it is associated with.
Specified by:
invoke in interface java.lang.reflect.InvocationHandler

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 1 (11.1.1.9.0)

E52932-01


Copyright © 1997, 2015, Oracle. All rights reserved.