org.kohsuke.jinterop
Class JInteropInvocationHandler
java.lang.Object
org.kohsuke.jinterop.JInteropInvocationHandler
- All Implemented Interfaces:
- java.lang.reflect.InvocationHandler
public class JInteropInvocationHandler
- extends java.lang.Object
- implements java.lang.reflect.InvocationHandler
- Author:
- Kohsuke Kawaguchi
|
Method Summary |
java.lang.Object |
invoke(java.lang.Object proxy,
java.lang.reflect.Method method,
java.lang.Object[] args)
|
static
|
wrap(java.lang.Class<T> type,
org.jinterop.dcom.core.IJIComObject obj)
|
static
|
wrap(java.lang.Class<T> type,
org.jinterop.dcom.impls.automation.IJIDispatch obj)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JInteropInvocationHandler
public JInteropInvocationHandler(org.jinterop.dcom.impls.automation.IJIDispatch core,
java.lang.Class<? extends JIProxy> interfaceType)
wrap
public static <T extends JIProxy> T wrap(java.lang.Class<T> type,
org.jinterop.dcom.impls.automation.IJIDispatch obj)
wrap
public static <T extends JIProxy> T wrap(java.lang.Class<T> type,
org.jinterop.dcom.core.IJIComObject obj)
throws org.jinterop.dcom.common.JIException
- Throws:
org.jinterop.dcom.common.JIException
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
Copyright © 2009. All Rights Reserved.