Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous

IBridge (Java UNO Runtime Reference)
UDK 3.2.7 Java API Reference

com.sun.star.uno
Interface IBridge


Deprecated. As of UDK 3.2, this interface is deprecated, without offering a replacement.

public interface IBridge

This is abstract interface for bridges.

Bridges are able to map one object from one UNO environment to another and vice versa.

See Also:
IBridge, IQueryInterface, UnoRuntime

Method Summary
 void acquire()
          Deprecated. Increases the life count.
 void dispose()
          Deprecated. Disposes the bridge.
 IEnvironment getSourceEnvironment()
          Deprecated. Returns the source environment.
 IEnvironment getTargetEnvironment()
          Deprecated. Returns the destination environment.
 Object mapInterfaceFrom(Object object, Type type)
          Deprecated. Maps an object from the destination environment to the source environment.
 Object mapInterfaceTo(Object object, Type type)
          Deprecated. Maps an object from the source environment to the destination environment.
 void release()
          Deprecated. Decreases the life count.
 

Method Detail

mapInterfaceTo

Object mapInterfaceTo(Object object,
                      Type type)
Deprecated. 
Maps an object from the source environment to the destination environment.

Parameters:
object - the object to map
type - the type of the interface that shall be mapped
Returns:
the object in the destination environment

mapInterfaceFrom

Object mapInterfaceFrom(Object object,
                        Type type)
Deprecated. 
Maps an object from the destination environment to the source environment.

Parameters:
object - the object to map
type - the type of the interface that shall be mapped
Returns:
the object in the source environment

getSourceEnvironment

IEnvironment getSourceEnvironment()
Deprecated. 
Returns the source environment.

Returns:
the source environment of this bridge

getTargetEnvironment

IEnvironment getTargetEnvironment()
Deprecated. 
Returns the destination environment.

Returns:
the destination environment of this bridge

acquire

void acquire()
Deprecated. 
Increases the life count.


release

void release()
Deprecated. 
Decreases the life count.

If the life count drops to zero, the bridge disposes itself.


dispose

void dispose()
             throws InterruptedException,
                    IOException
Deprecated. 
Disposes the bridge.

Sends involved threads an InterruptedException. Releases mapped objects.

Throws:
InterruptedException
IOException

UDK 3.2.7 Java API Reference

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.