diff options
author | Stephan Bergmann <sb@openoffice.org> | 2002-10-30 14:32:05 +0000 |
---|---|---|
committer | Stephan Bergmann <sb@openoffice.org> | 2002-10-30 14:32:05 +0000 |
commit | a8603cd04b0add5c90ab16df91c5ea0972c83f06 (patch) | |
tree | 05e44e9dca8c4d35055917bca90b4c10fe3b8f1b /jurt/com/sun | |
parent | 8e8004db87c79f9b06124bc7a18b27e4bad230f3 (diff) |
#104312# Adapted to new TypedProxy.
Diffstat (limited to 'jurt/com/sun')
-rw-r--r-- | jurt/com/sun/star/lib/uno/environments/java/java_environment.java | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/jurt/com/sun/star/lib/uno/environments/java/java_environment.java b/jurt/com/sun/star/lib/uno/environments/java/java_environment.java index e52d8440fa9c..45eb9aed7dac 100644 --- a/jurt/com/sun/star/lib/uno/environments/java/java_environment.java +++ b/jurt/com/sun/star/lib/uno/environments/java/java_environment.java @@ -2,9 +2,9 @@ * * $RCSfile: java_environment.java,v $ * - * $Revision: 1.9 $ + * $Revision: 1.10 $ * - * last change: $Author: dbo $ $Date: 2002-10-29 09:17:05 $ + * last change: $Author: sb $ $Date: 2002-10-30 15:32:05 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -76,6 +76,7 @@ import com.sun.star.lib.sandbox.generic.Dispatcher; import com.sun.star.lib.sandbox.generic.DispatcherAdapterBase; import com.sun.star.lib.sandbox.generic.DispatcherAdapterFactory; +import com.sun.star.lib.uno.TypedProxy; import com.sun.star.lib.uno.typedesc.TypeDescription; import com.sun.star.uno.IEnvironment; @@ -91,7 +92,7 @@ import com.sun.star.uno.XInterface; * interface defined in the uno runtime. * <p> * <p> - * @version $Revision: 1.9 $ $ $Date: 2002-10-29 09:17:05 $ + * @version $Revision: 1.10 $ $ $Date: 2002-10-30 15:32:05 $ * @author Kay Ramme * @see com.sun.star.uno.UnoRuntime * @see com.sun.star.uno.IEnvironment @@ -107,7 +108,9 @@ public class java_environment implements IEnvironment, Disposable { /* ** This is the holder proxy, which one gets while trying to get a registered object */ - static public class HolderProxy extends DispatcherAdapterBase implements Dispatcher, XInterface, IQueryInterface { + static public class HolderProxy extends DispatcherAdapterBase + implements Dispatcher, XInterface, IQueryInterface, TypedProxy + { static private Hashtable __methodss = new Hashtable(); /** @@ -201,6 +204,11 @@ public class java_environment implements IEnvironment, Disposable { return UnoRuntime.generateOid(object); } + // @see com.sun.star.lib.uno.TypedProxy#getType + public Type getType() { + return _type; + } + public void finalize() { if(java_environment.DEBUG) System.err.println("###################### Proxy Proxy is dying"); _holder.decRefCount(); |