org.kohsuke.jinterop
Class JInteropInvocationHandler

java.lang.Object
  extended by 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

Constructor Summary
JInteropInvocationHandler(org.jinterop.dcom.impls.automation.IJIDispatch core, java.lang.Class<? extends JIProxy> interfaceType)
           
 
Method Summary
 java.lang.Object invoke(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object[] args)
           
static
<T extends JIProxy>
T
wrap(java.lang.Class<T> type, org.jinterop.dcom.core.IJIComObject obj)
           
static
<T extends JIProxy>
T
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
 

Constructor Detail

JInteropInvocationHandler

public JInteropInvocationHandler(org.jinterop.dcom.impls.automation.IJIDispatch core,
                                 java.lang.Class<? extends JIProxy> interfaceType)
Method Detail

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.