存储服务管理器已备后用
From Apache OpenOffice Wiki
< Zh | Documentation
组件通常在办公软件进程中运行,因此不必明确地创建进程间通道。组件不必创建服务管理器,因为它将在调用 createInstance()
或 createInstanceWithContext()
期间由服务管理器提供给实现的单个工厂。单个工厂将接收 XComponentContext
或 XMultiServiceFactory
,并将其传送到服务实现的相应构造函数。实现将在 com.sun.star.uno.XComponentContext 接口使用 getServiceManager()
从组件的上下文获取服务管理器。
Content on this page is licensed under the Public Documentation License (PDL). |