Juergen Schmidt wrote:
> Hi Liyuan,
>
> the implementation can be found in the "stoc"
module but you should not
> depend on the implementation details anywhere. The only
thing which is
> specified is that createInstance returns a new instance
of an requested
> service implementation object. The additional search
for an
> implementation name for example is an impl. detail and
can be change.
> And last but not least i recommend to use or to work
with the
> XMultiComponentFactory instead of the
XMultiServiceFactory. It's the
> newer interface and it should be used in new
implementations.
And not to forget, that singletons are best requested from a
component
context context, which itself may be retrieved by Unos
bootstrap
functions (see
http://wiki.services.openoffice.org/wiki
/UNO_registery_and_Bootstrapping
for examples).
>
> Juergen
Regards
Kay
>
>
> Liyuan(Internet) wrote:
------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribe udk.openoffice.org
For additional commands, e-mail: dev-help udk.openoffice.org
|