public final class java_environment
extends java.lang.Object
The java_environment implements the IEnvironment interface
defined in the uno runtime.
com.sun.star.uno.UnoRuntime,
com.sun.star.uno.IEnvironment| Constructor and Description |
|---|
java_environment(java.lang.Object context) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.Object |
getContext() |
java.lang.String |
getName() |
java.lang.Object |
getRegisteredInterface(java.lang.String oid,
Type type)
Retrieves an interface identified by its object id and type from this
environment.
|
java.lang.String |
getRegisteredObjectIdentifier(java.lang.Object object)
Retrieves the object identifier for a registered interface from this
environment.
|
void |
list() |
java.lang.Object |
registerInterface(java.lang.Object object,
java.lang.String[] oid,
Type type) |
void |
revokeAllProxies()
Revokes all registered proxy interfaces.
|
void |
revokeInterface(java.lang.String oid,
Type type)
You have to revoke ANY interface that has been registered via this
method.
|
public java.lang.Object getContext()
public java.lang.String getName()
public java.lang.Object registerInterface(java.lang.Object object,
java.lang.String[] oid,
Type type)
public void revokeInterface(java.lang.String oid,
Type type)
oid - object id of interface to be revokedtype - the type description of the interfacecom.sun.star.uno.IEnvironment#revokeInterfacepublic java.lang.Object getRegisteredInterface(java.lang.String oid,
Type type)
oid - object id of interface to be retrievedtype - the type description of the interface to be retrievedcom.sun.star.uno.IEnvironment#getRegisteredInterfacepublic java.lang.String getRegisteredObjectIdentifier(java.lang.Object object)
object - a registered interfacecom.sun.star.uno.IEnvironment#getRegisteredObjectIdentifierpublic void list()
public void revokeAllProxies()
This method should be part of IEnvironment. It is called
from com.sun.star.lib.uno.bridges.java_remote.java_remote_bridge.dispose.
public boolean equals(java.lang.Object obj)
equals in class java.lang.Object