Deprecated
As of UDK 3.2, this interface is deprecated, without offering a replacement.
With this interface, objects can be registered at and revoked from an environment.
com.sun.star.uno.IBridge , com.sun.star.uno.IQueryInterface , com.sun.star.uno.UnoRuntime
| Modifier and Type | Method and Description |
|---|---|
| public Object | |
| public String | |
| public Object | Returns: the registered object, or null if none is foundthe OID of the object to retrieve; must be non-null oid, Type the UNO interface type of the object to retrieve. This
argument must be non-null, and must denote a UNO interface type. type)Retrieves a registered object, specified by OID and UNO interface type. |
| public String | Returns: the OID of theobject; will never be nulla registered object; must be non-null object)Retrieves the OID for a registered object. |
| public void | |
| public Object | Returns: the registered object (may differ from theobject
passed in); will never be nullthe object to register; must be non-null object, String[] in-out parameter containing the OID of oid, Type object.
This must be a non-null reference to an array of length at least one;
the zeroth element is used to pass the argument in and out. If the
zeroth element is null on input, the OID will be computed and passed
out (that is, the zeroth element will never be null upon normal
return).the UNO interface type to register. This argument must be
non-null, and must denote a UNO interface type. The given
type)object should implement this type.Registers one UNO interface facet of an object. |
| public void | revokeInterface(String
the OID of the object to revoke; must be non-null oid, Type the UNO interface type of the object to revoke. This
argument must be non-null, and must denote a UNO interface type. type)Explicitly revokes a UNO interface facet. |
| getContext | back to summary |
|---|---|
| public Object getContext() Gets the context of this environment.
| |
| getName | back to summary |
|---|---|
| public String getName() Gets the name of this environment.
| |
| getRegisteredInterface | back to summary |
|---|---|
| public Object getRegisteredInterface(String oid, Type type) Retrieves a registered object, specified by OID and UNO interface type. | |
| getRegisteredObjectIdentifier | back to summary |
|---|---|
| public String getRegisteredObjectIdentifier(Object object) Retrieves the OID for a registered object. | |
| list | back to summary |
|---|---|
| public void list() Lists the registered objects to This is for debug purposes. | |
| registerInterface | back to summary |
|---|---|
| public Object registerInterface(Object object, String[] oid, Type type) Registers one UNO interface facet of an object. Such an object will typically be one of three things:
The object actually registered may differ from the specified
The registered object is held only weakly by the environment. After a
call to
| |
| revokeInterface | back to summary |
|---|---|
| public void revokeInterface(String oid, Type type) Explicitly revokes a UNO interface facet. Calls to It is not an error if the specified facet is not registered at this environment (either because no corresponding object has ever been registered, or it has been explicitly revoked, or it is no longer strongly reachable). In such a case, this method simply does nothing. | |