|
UNO Java Runtime | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This is abstract interface for Bridges. Bridges are able to map one object from one UNO environment to another and vice versa.
UnoRuntime
,
IQueryInterface
,
IBridge
Method Summary | |
void |
acquire()
Increases the life count. |
void |
dispose()
Disposes the bridge. |
IEnvironment |
getSourceEnvironment()
Gives the source environment. |
IEnvironment |
getTargetEnvironment()
Gives the destination environment. |
java.lang.Object |
mapInterfaceFrom(java.lang.Object object,
Type type)
Maps an object from destination environment to the source environment. |
java.lang.Object |
mapInterfaceTo(java.lang.Object object,
Type type)
Maps an object from the source environment to the destination environment. |
void |
release()
Decreases the life count. |
Method Detail |
public java.lang.Object mapInterfaceTo(java.lang.Object object, Type type)
object
- the object to maptype
- the type of the interface that shall be mapped
public java.lang.Object mapInterfaceFrom(java.lang.Object object, Type type)
object
- the object to map
public IEnvironment getSourceEnvironment()
public IEnvironment getTargetEnvironment()
public void acquire()
public void release()
public void dispose() throws java.lang.InterruptedException, java.io.IOException
java.lang.InterruptedException
java.io.IOException
|
UNO Java Runtime | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |