public final class java_environment extends Object implements com.sun.star.uno.IEnvironment
The java_environment implements the IEnvironment interface
defined in the uno runtime.
UnoRuntime,
IEnvironment| Constructor and Description |
|---|
java_environment(Object context) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Object |
getContext() |
String |
getName() |
Object |
getRegisteredInterface(String oid,
com.sun.star.uno.Type type)
Retrieves an interface identified by its object id and type from this
environment.
|
String |
getRegisteredObjectIdentifier(Object object)
Retrieves the object identifier for a registered interface from this
environment.
|
void |
list() |
Object |
registerInterface(Object object,
String[] oid,
com.sun.star.uno.Type type) |
void |
revokeAllProxies()
Revokes all registered proxy interfaces.
|
void |
revokeInterface(String oid,
com.sun.star.uno.Type type)
You have to revoke ANY interface that has been registered via this
method.
|
public java_environment(Object context)
public Object getContext()
getContext in interface com.sun.star.uno.IEnvironmentIEnvironment.getContext()public String getName()
getName in interface com.sun.star.uno.IEnvironmentIEnvironment.getName()public Object registerInterface(Object object, String[] oid, com.sun.star.uno.Type type)
registerInterface in interface com.sun.star.uno.IEnvironmentIEnvironment.registerInterface(java.lang.Object, java.lang.String[], com.sun.star.uno.Type)public void revokeInterface(String oid, com.sun.star.uno.Type type)
revokeInterface in interface com.sun.star.uno.IEnvironmentoid - object id of interface to be revoked.type - the type description of the interface.IEnvironment.revokeInterface(java.lang.String, com.sun.star.uno.Type)public Object getRegisteredInterface(String oid, com.sun.star.uno.Type type)
getRegisteredInterface in interface com.sun.star.uno.IEnvironmentoid - object id of interface to be retrieved.type - the type description of the interface to be retrieved.IEnvironment.getRegisteredInterface(java.lang.String, com.sun.star.uno.Type)public String getRegisteredObjectIdentifier(Object object)
getRegisteredObjectIdentifier in interface com.sun.star.uno.IEnvironmentobject - a registered interface.IEnvironment.getRegisteredObjectIdentifier(java.lang.Object)public void list()
list in interface com.sun.star.uno.IEnvironmentIEnvironment.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.