(incubating) | The Free and Open Productivity Suite

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous

Content for OpenOffice.org version 3.3.

:: 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 OpenOffice is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.

Copyright & License
Apache and the Apache feather logos are trademarks of The Apache Software Foundation. OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.