public final class java_environment
extends java.lang.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(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,
com.sun.star.uno.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,
com.sun.star.uno.Type type) |
void |
revokeAllProxies()
Revokes all registered proxy interfaces.
|
void |
revokeInterface(java.lang.String oid,
com.sun.star.uno.Type type)
You have to revoke ANY interface that has been registered via this
method.
|
public java.lang.Object getContext()
getContext in interface com.sun.star.uno.IEnvironmentIEnvironment.getContext()public java.lang.String getName()
getName in interface com.sun.star.uno.IEnvironmentIEnvironment.getName()public java.lang.Object registerInterface(java.lang.Object object,
java.lang.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(java.lang.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 java.lang.Object getRegisteredInterface(java.lang.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 java.lang.String getRegisteredObjectIdentifier(java.lang.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.
public boolean equals(java.lang.Object obj)
equals in class java.lang.Object