Hi all

In the interface com.sun.star.lang.XMultiServiceFactory, createInstance first 
tries to find a service with this name. It this is not successful, it tries to 
find an implementation with this name. If one of the two lookups is successful, 
it instantiates the object and returns a XInterface reference to it. 
If a service is a oneinstance (or singleton) service, the servicemanager 
instantiates it the first time it is requested, but keeps a hard reference to 
it (the servicemanager owns the object). If it is requested again, the service 
manager returns this reference. 
Where can I find more information about the implemention of the service factory 
of the servicemanager?

Regards
Liyuan

Reply via email to