diff options
Diffstat (limited to 'jurt')
-rw-r--r-- | jurt/com/sun/star/lib/uno/environments/java/java_environment.java | 22 |
1 files changed, 20 insertions, 2 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 839301098b66..3ab0f7390601 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.14 $ + * $Revision: 1.15 $ * - * last change: $Author: kz $ $Date: 2004-03-25 14:54:11 $ + * last change: $Author: kz $ $Date: 2004-05-19 11:46:21 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -159,6 +159,17 @@ public final class java_environment implements IEnvironment { // } } + /** + * Revokes all registered proxy interfaces. + * + * <p>This method should be part of <code>IEnvironment</code>. It is called + * from <code>com.sun.star.lib.uno.bridges.java_remote.<!-- + * -->java_remote_bridge.dispose</code>.</p> + */ + public void revokeAllProxies() { + proxies.clear(); + } + // TODO What's this??? java.lang.Object#equals requires reflexivity... // // Maybe this was hacked in so that different bridges use different @@ -235,6 +246,13 @@ public final class java_environment implements IEnvironment { } } + public void clear() { + synchronized (map) { + map.clear(); + cleanUp(); + } + } + // must only be called while synchronized on map: private void cleanUp() { for (;;) { |