List of usage examples for com.google.gwt.dev.shell.designtime JavaDispatchImpl JavaDispatchImpl
public JavaDispatchImpl(DispatchIdOracle ccl, Object target)
From source file:com.google.gdt.eclipse.designer.ie.jsni.IDispatchProxy.java
License:Open Source License
/** * This constructor initializes a dispatcher, around a particular instance. * /*from w ww . j av a 2 s . c o m*/ * @param cl * this class's classLoader * @param target * the object being wrapped as an IDispatch */ IDispatchProxy(ClassLoader cl, DispatchIdOracle ora, Object target) { javaDispatch = new JavaDispatchImpl(ora, target); this.classLoaderRef = new WeakReference<ClassLoader>(cl); this.dispIdOracleRef = new WeakReference<DispatchIdOracle>(ora); myGlobalRef = createIDispatchProxyRef(this); }
From source file:com.google.gdt.eclipse.designer.moz.jsni.GeckoDispatchAdapter32.java
License:Open Source License
/** * This constructor initializes a dispatcher, around a particular instance. * // w w w. ja v a 2 s . c o m * @param cl this class's classLoader * @param target the object being wrapped as an IDispatch */ GeckoDispatchAdapter32(ClassLoader cl, DispatchIdOracle ora, Object target) { this.javaDispatch = new JavaDispatchImpl(ora, target); this.classLoaderRef = new WeakReference<ClassLoader>(cl); this.dispIdOracleRef = new WeakReference<DispatchIdOracle>(ora); }
From source file:com.google.gdt.eclipse.designer.moz.jsni.GeckoDispatchAdapter64.java
License:Open Source License
/** * This constructor initializes a dispatcher, around a particular instance. * /*from w w w. j a va 2s. c om*/ * @param cl this class's classLoader * @param target the object being wrapped as an IDispatch */ GeckoDispatchAdapter64(ClassLoader cl, DispatchIdOracle ora, Object target) { this.javaDispatch = new JavaDispatchImpl(ora, target); this.classLoaderRef = new WeakReference<ClassLoader>(cl); this.dispIdOracleRef = new WeakReference<DispatchIdOracle>(ora); }
From source file:com.google.gdt.eclipse.designer.webkit.jsni.WebKitDispatchAdapter.java
License:Open Source License
/** * This constructor initializes a dispatcher, around a particular instance. * // w w w .ja va 2 s .com * @param cl * this class's classLoader * @param target * the object being wrapped as an IDispatch */ WebKitDispatchAdapter(ClassLoader cl, DispatchIdOracle ora, Object target) { this.javaDispatch = new JavaDispatchImpl(ora, target); this.classLoaderRef = new WeakReference<ClassLoader>(cl); this.dispIdOracleRef = new WeakReference<DispatchIdOracle>(ora); }