Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.11

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: 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 - Summary
XMultiServiceFactory

This interface uses a service name to instantiate a component which supports the specified service.

XMultiComponentFactory

This interface uses a service name and a component context to instantiate a component which supports the specified service.

XServiceInfo

Factories, as well as all other services, should always support this interface.

Exported Interfaces - Details
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

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.