UDK 3.2.0 Java API Reference

com.sun.star.uno
インタフェース IBridge


推奨されていません。 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.

関連項目:
IBridge, IQueryInterface, UnoRuntime

メソッドの概要
 void acquire()
          推奨されていません。 Increases the life count.
 void dispose()
          推奨されていません。 Disposes the bridge.
 IEnvironment getSourceEnvironment()
          推奨されていません。 Returns the source environment.
 IEnvironment getTargetEnvironment()
          推奨されていません。 Returns the destination environment.
 Object mapInterfaceFrom(Object object, Type type)
          推奨されていません。 Maps an object from the destination environment to the source environment.
 Object mapInterfaceTo(Object object, Type type)
          推奨されていません。 Maps an object from the source environment to the destination environment.
 void release()
          推奨されていません。 Decreases the life count.
 

メソッドの詳細

mapInterfaceTo

public Object mapInterfaceTo(Object object,
                             Type type)
推奨されていません。 
Maps an object from the source environment to the destination environment.

パラメータ:
object - the object to map
type - the type of the interface that shall be mapped
戻り値:
the object in the destination environment

mapInterfaceFrom

public Object mapInterfaceFrom(Object object,
                               Type type)
推奨されていません。 
Maps an object from the destination environment to the source environment.

パラメータ:
object - the object to map
type - the type of the interface that shall be mapped
戻り値:
the object in the source environment

getSourceEnvironment

public IEnvironment getSourceEnvironment()
推奨されていません。 
Returns the source environment.

戻り値:
the source environment of this bridge

getTargetEnvironment

public IEnvironment getTargetEnvironment()
推奨されていません。 
Returns the destination environment.

戻り値:
the destination environment of this bridge

acquire

public void acquire()
推奨されていません。 
Increases the life count.


release

public void release()
推奨されていません。 
Decreases the life count.

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


dispose

public void dispose()
             throws InterruptedException,
                    IOException
推奨されていません。 
Disposes the bridge.

Sends involved threads an InterruptedException. Releases mapped objects.

例外:
InterruptedException
IOException

UDK 3.2.0 Java API Reference