Service Manager and Component Context
This chapter discusses the root object for connections to Apache OpenOffice (and to any UNO application) – the service manager. The root object serves as the entry point for every UNO application and is passed to every UNO component during instantiation.
Two different concepts to get the root object currently exist. StarOffice 6.0 and OpenOffice.org 1.0 use the previous concept. Newer versions or product patches use the newer concept and provide the previous concept for compatibility issues only. First we will look at the previous concept, the service manager as it is used in the main parts of the underlying Apache OpenOffice implementation of this guide. Second, we will introduce the component context — which is the newer concept and explain the migration path.
|Content on this page is licensed under the Public Documentation License (PDL).