:: com :: sun :: star :: bridge ::
|
interface XInstanceProvider |
|
- Description
- allows to export UNO objects to other processes.
- See also
- XBridge
|
Methods' Summary |
getInstance |
gets called, when an initial object is requested from a remote process.
You may either create a new instance or return an existing object.
|
Methods' Details |
getInstance
- Description
- gets called, when an initial object is requested from a remote process.
You may either create a new instance or return an existing object.
- Parameter sInstanceName
- The name of the requested object.
- Returns
- the object associated with the name. The return value may be null in case
there is no object to offer for this string. In this case, XBridge.getInstance()
(in the other process) will also return a null reference.
- Throws
- NoSuchElementException
You may throw this exception to indicate, that there is no object for this
name. Due to a specification bug, this exception will appear as a RuntimeException
at the XBridge.getInstance() method.
|
|
Top of Page
Copyright © 2012, The Apache Software Foundation, Licensed under the Apache License, Version 2.0. Apache, the Apache feather logo, Apache OpenOffice and OpenOffice.org are trademarks of The Apache Software Foundation. Other names may be trademarks of their respective owners.