:: com :: sun :: star :: lang ::

service MultiServiceFactory
Description
Provides a collection of implementations of services.

The factories for instantiating objects of implemetations are accessed via a service name.

The ::com::sun::star::container::XContentEnumerationAccess interface can be supported optionally. If it is suported, it is possible to enumerate all implementations that support the service specified with the argument of ::com::sun::star::container::XContentEnumerationAccess::createContentEnumeration . The enumerator returns interfaces. The type of the interface is not specified. Commonly this is XSingleComponentFactory .


Exported Interfaces
XMultiServiceFactory
Description
This interface uses a service name to instantiate a component which supports the specified service.
XMultiComponentFactory
Description
This interface uses a service name and a component context to instantiate a component which supports the specified service.
XServiceInfo
Description
Factories, as well as all other services, should always support this interface.

 
Top of Page