public interface IBridge
Bridges are able to map one object from one UNO environment to another and vice versa.
IBridge
,
IQueryInterface
,
UnoRuntime
Modifier and Type | Method and Description |
---|---|
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.
|
java.lang.Object |
mapInterfaceFrom(java.lang.Object object,
Type type)
Deprecated.
Maps an object from the destination environment to the source
environment.
|
java.lang.Object |
mapInterfaceTo(java.lang.Object object,
Type type)
Deprecated.
Maps an object from the source environment to the destination
environment.
|
void |
release()
Deprecated.
Decreases the life count.
|
java.lang.Object mapInterfaceTo(java.lang.Object object, Type type)
object
- the object to maptype
- the type of the interface that shall be mappedjava.lang.Object mapInterfaceFrom(java.lang.Object object, Type type)
object
- the object to maptype
- the type of the interface that shall be mappedIEnvironment getSourceEnvironment()
IEnvironment getTargetEnvironment()
void acquire()
void release()
If the life count drops to zero, the bridge disposes itself.
void dispose() throws java.lang.InterruptedException, java.io.IOException
Sends involved threads an InterruptedException
. Releases
mapped objects.
java.lang.InterruptedException
java.io.IOException