summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--solenv/gbuild/InternalUnoApi.mk4
-rw-r--r--solenv/gbuild/UnoApiTarget.mk24
-rw-r--r--stoc/InternalUnoApi_bootstrap.mk69
-rw-r--r--stoc/source/bootstrap/bootstrap.xml375
4 files changed, 78 insertions, 394 deletions
diff --git a/solenv/gbuild/InternalUnoApi.mk b/solenv/gbuild/InternalUnoApi.mk
index 8949323b9c12..f80fe016e615 100644
--- a/solenv/gbuild/InternalUnoApi.mk
+++ b/solenv/gbuild/InternalUnoApi.mk
@@ -117,8 +117,8 @@ $(foreach dep,$(3),$(call gb_InternalUnoApi_define_api_dependency,$(1),$(2),$(de
endef
-define gb_InternalUnoApi_set_xmlfile
-$(call gb_UnoApiTarget_set_xmlfile,$(1)_out,$(2))
+define gb_InternalUnoApi_set_types
+$(call gb_UnoApiTarget_set_types,$(1)_out,$(2))
endef
diff --git a/solenv/gbuild/UnoApiTarget.mk b/solenv/gbuild/UnoApiTarget.mk
index fd7a0a333a59..b8c219efae59 100644
--- a/solenv/gbuild/UnoApiTarget.mk
+++ b/solenv/gbuild/UnoApiTarget.mk
@@ -88,14 +88,8 @@ gb_UnoApiTarget_REGCOMPARETARGET := $(call gb_Executable_get_target_for_build,re
gb_UnoApiTarget_REGCOMPARECOMMAND := $(gb_Helper_set_ld_path) SOLARBINDIR=$(OUTDIR_FOR_BUILD)/bin $(gb_UnoApiTarget_REGCOMPARETARGET)
gb_UnoApiTarget_REGMERGETARGET := $(call gb_Executable_get_target_for_build,regmerge)
gb_UnoApiTarget_REGMERGECOMMAND := $(gb_Helper_set_ld_path) SOLARBINDIR=$(OUTDIR_FOR_BUILD)/bin $(gb_UnoApiTarget_REGMERGETARGET)
-gb_UnoApiTarget_XML2CMPTARGET := $(call gb_Executable_get_target_for_build,xml2cmp)
-gb_UnoApiTarget_XML2CMPCOMMAND := $(gb_Helper_set_ld_path) $(gb_UnoApiTarget_XML2CMPTARGET)
-gb_UnoApiTarget_XMLRDB := $(call gb_UnoApiTarget_get_target,types)
-
-define gb_UnoApiTarget__get_types
-$(if $(1),$(foreach type,$(shell $(gb_UnoApiTarget_XML2CMPCOMMAND) -types stdout $(1)),$(addprefix -T,$(type))))
-endef
+gb_UnoApiTarget_TYPESRDB := $(call gb_UnoApiTarget_get_target,types)
define gb_UnoApiTarget__command_impl
RESPONSEFILE=$(call var2file,$(shell $(gb_MKTEMP)),500,$(2)) && \
@@ -119,7 +113,7 @@ $(if $(UNOAPI_FILES),\
$(if $(UNOAPI_MERGE),\
$(call gb_UnoApiTarget__regmerge_command_impl,$(1),$(UNOAPI_ROOT),$(UNOAPI_MERGE)),\
$(call gb_UnoApiTarget__rdbmaker_command_impl,$(1),UCR,$(UNOAPI_ROOT),\
- $(call gb_UnoApiTarget__get_types,$(UNOAPI_XML)),$(gb_UnoApiTarget_XMLRDB)))) \
+ $(addprefix -T,$(UNOAPI_TYPES)),$(gb_UnoApiTarget_TYPESRDB)))) \
$(if $(UNOAPI_REFERENCE), \
$(call gb_Output_announce,$*,$(true),DBc,3) \
&& $(gb_UnoApiTarget_REGCOMPARECOMMAND) \
@@ -132,7 +126,7 @@ define gb_UnoApiTarget__check_mode
$(if $(or $(and $(1),$(2),$(3)),$(and $(1),$(2)),$(and $(2),$(3)),$(and $(1),$(3))),\
$(error More than one mode of function of UnoApiTarget used: this is not supported),\
$(if $(or $(1),$(2),$(3)),,\
- $(error Neither IDL files nor merged RDBs nor XML desc. were used: nothing will be produced)))
+ $(error Neither IDL files nor merged RDBs nor type list were used: nothing will be produced)))
$(if $(4),,$(error No root has been set for the rdb file))
endef
@@ -143,7 +137,7 @@ $(call gb_UnoApiTarget_get_headers_target,%) : $(call gb_UnoApiTarget_get_extern
mkdir -p $(dir $@) && touch $@
$(call gb_UnoApiTarget_get_target,%) :
- $(call gb_UnoApiTarget__check_mode,$(UNOAPI_FILES),$(UNOAPI_MERGE),$(UNOAPI_XML),$(UNOAPI_ROOT))
+ $(call gb_UnoApiTarget__check_mode,$(UNOAPI_FILES),$(UNOAPI_MERGE),$(UNOAPI_TYPES),$(UNOAPI_ROOT))
$(call gb_UnoApiTarget__command,$@,$*)
.PHONY : $(call gb_UnoApiTarget_get_clean_target,%)
@@ -180,7 +174,7 @@ define gb_UnoApiTarget_UnoApiTarget
$(call gb_UnoApiTarget_get_target,$(1)) : INCLUDE :=
$(call gb_UnoApiTarget_get_target,$(1)) : UNOAPI_FILES :=
$(call gb_UnoApiTarget_get_target,$(1)) : UNOAPI_MERGE :=
-$(call gb_UnoApiTarget_get_target,$(1)) : UNOAPI_XML :=
+$(call gb_UnoApiTarget_get_target,$(1)) : UNOAPI_TYPES :=
$(call gb_UnoApiTarget_get_target,$(1)) : UNOAPI_REFERENCE :=
$(call gb_UnoApiTarget_get_target,$(1)) : UNOAPI_ROOT :=
@@ -254,11 +248,9 @@ $(call gb_UnoApiTarget_get_target,$(1)) : $(call gb_UnoApiTarget_get_target,$(2)
endef
# Set XML component dependencies description.
-define gb_UnoApiTarget_set_xmlfile
-$(call gb_UnoApiTarget_get_target,$(1)) : UNOAPI_XML := $(SRCDIR)/$(2)
-$(call gb_UnoApiTarget_get_target,$(1)) : $(SRCDIR)/$(2)
-$(call gb_UnoApiTarget_get_target,$(1)) : $(gb_UnoApiTarget_XMLRDB)
-$(call gb_UnoApiTarget_get_target,$(1)) : $(gb_UnoApiTarget_XML2CMPTARGET)
+define gb_UnoApiTarget_set_types
+$(call gb_UnoApiTarget_get_target,$(1)) : UNOAPI_TYPES := $(2)
+$(call gb_UnoApiTarget_get_target,$(1)) : $(gb_UnoApiTarget_TYPESRDB)
$(call gb_UnoApiTarget_get_target,$(1)) : $(gb_UnoApiTarget_RDBMAKERTARGET)
endef
diff --git a/stoc/InternalUnoApi_bootstrap.mk b/stoc/InternalUnoApi_bootstrap.mk
index ff7f7e0f2a7e..cd56224c02ec 100644
--- a/stoc/InternalUnoApi_bootstrap.mk
+++ b/stoc/InternalUnoApi_bootstrap.mk
@@ -27,6 +27,73 @@
$(eval $(call gb_InternalUnoApi_InternalUnoApi,bootstrap))
-$(eval $(call gb_InternalUnoApi_set_xmlfile,bootstrap,stoc/source/bootstrap/bootstrap.xml))
+$(eval $(call gb_InternalUnoApi_set_types,bootstrap, \
+ com.sun.star.beans.PropertyAttribute \
+ com.sun.star.beans.XPropertySet \
+ com.sun.star.connection.SocketPermission \
+ com.sun.star.container.NoSuchElementException \
+ com.sun.star.container.XContentEnumerationAccess \
+ com.sun.star.container.XEnumeration \
+ com.sun.star.container.XEnumerationAccess \
+ com.sun.star.container.XHierarchicalNameAccess \
+ com.sun.star.container.XSet \
+ com.sun.star.io.FilePermission \
+ com.sun.star.lang.DisposedException \
+ com.sun.star.lang.IllegalArgumentException \
+ com.sun.star.lang.XComponent \
+ com.sun.star.lang.XEventListener \
+ com.sun.star.lang.XInitialization \
+ com.sun.star.lang.XMultiComponentFactory \
+ com.sun.star.lang.XMultiServiceFactory \
+ com.sun.star.lang.XServiceInfo \
+ com.sun.star.lang.XSingleComponentFactory \
+ com.sun.star.lang.XSingleServiceFactory \
+ com.sun.star.lang.XTypeProvider \
+ com.sun.star.lang.XUnoTunnel \
+ com.sun.star.loader.XImplementationLoader \
+ com.sun.star.reflection.XArrayTypeDescription \
+ com.sun.star.reflection.XCompoundTypeDescription \
+ com.sun.star.reflection.XConstantsTypeDescription \
+ com.sun.star.reflection.XConstantTypeDescription \
+ com.sun.star.reflection.XEnumTypeDescription \
+ com.sun.star.reflection.XIndirectTypeDescription \
+ com.sun.star.reflection.XInterfaceAttributeTypeDescription \
+ com.sun.star.reflection.XInterfaceAttributeTypeDescription2 \
+ com.sun.star.reflection.XInterfaceMemberTypeDescription \
+ com.sun.star.reflection.XInterfaceMethodTypeDescription \
+ com.sun.star.reflection.XInterfaceTypeDescription \
+ com.sun.star.reflection.XInterfaceTypeDescription2 \
+ com.sun.star.reflection.XMethodParameter \
+ com.sun.star.reflection.XModuleTypeDescription \
+ com.sun.star.reflection.XParameter \
+ com.sun.star.reflection.XPropertyTypeDescription \
+ com.sun.star.reflection.XPublished \
+ com.sun.star.reflection.XServiceConstructorDescription \
+ com.sun.star.reflection.XServiceTypeDescription \
+ com.sun.star.reflection.XServiceTypeDescription2 \
+ com.sun.star.reflection.XSingletonTypeDescription \
+ com.sun.star.reflection.XSingletonTypeDescription2 \
+ com.sun.star.reflection.XStructTypeDescription \
+ com.sun.star.reflection.XTypeDescription \
+ com.sun.star.reflection.XTypeDescriptionEnumerationAccess \
+ com.sun.star.reflection.XUnionTypeDescription \
+ com.sun.star.registry.XImplementationRegistration2 \
+ com.sun.star.registry.XRegistryKey \
+ com.sun.star.registry.XSimpleRegistry \
+ com.sun.star.security.AllPermission \
+ com.sun.star.security.RuntimePermission \
+ com.sun.star.security.XAccessController \
+ com.sun.star.security.XPolicy \
+ com.sun.star.uno.DeploymentException \
+ com.sun.star.uno.RuntimeException \
+ com.sun.star.uno.TypeClass \
+ com.sun.star.uno.XAggregation \
+ com.sun.star.uno.XComponentContext \
+ com.sun.star.uno.XCurrentContext \
+ com.sun.star.uno.XInterface \
+ com.sun.star.uno.XUnloadingPreference \
+ com.sun.star.uno.XWeak \
+ com.sun.star.util.XMacroExpander \
+))
# vim:set shiftwidth=4 softtabstop=4 expandtab:
diff --git a/stoc/source/bootstrap/bootstrap.xml b/stoc/source/bootstrap/bootstrap.xml
deleted file mode 100644
index f8f6bbff9540..000000000000
--- a/stoc/source/bootstrap/bootstrap.xml
+++ /dev/null
@@ -1,375 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE module-description PUBLIC "-//StarOffice//DTD ComponentDescription 1.0//EN" "module-description.dtd">
-<!--
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- -->
-<module-description xmlns:xlink="http://www.w3.org/1999/xlink">
- <module-name> bootstrap.uno </module-name>
- <component-description>
- <author> Juergen Schmidt </author>
- <name> com.sun.star.comp.stoc.DLLComponentLoader </name>
- <description>
- This component provides a mechanism to load an external compoment implemented as
- a shared library.
-</description>
- <loader-name> com.sun.star.loader.SharedLibrary </loader-name>
- <language> c++ </language>
- <status value="final"/>
- <supported-service> com.sun.star.loader.SharedLibrary </supported-service>
- <type> com.sun.star.util.XMacroExpander </type>
- <type> com.sun.star.loader.XImplementationLoader </type>
- <type> com.sun.star.lang.IllegalArgumentException </type>
- <type> com.sun.star.lang.XInitialization </type>
- <type> com.sun.star.lang.XTypeProvider </type>
- <type> com.sun.star.lang.XServiceInfo </type>
- <type> com.sun.star.lang.XSingleServiceFactory </type>
- <type> com.sun.star.lang.XMultiServiceFactory </type>
- <type> com.sun.star.registry.XRegistryKey </type>
- <type> com.sun.star.beans.XPropertySet </type>
- <type> com.sun.star.container.XSet </type>
- <type> com.sun.star.uno.XAggregation </type>
- <type> com.sun.star.uno.XComponentContext </type>
- <type> com.sun.star.lang.XSingleComponentFactory </type>
- <type> com.sun.star.uno.XWeak </type>
- <type> com.sun.star.uno.TypeClass </type>
- <type> com.sun.star.uno.DeploymentException </type>
- </component-description>
- <component-description>
- <author> Juergen Schmidt </author>
- <name> com.sun.star.comp.stoc.NestedRegistry </name>
- <description>
- This component provides access to a simple hierachical registry. The registry based on
- two registry file.
-</description>
- <loader-name> com.sun.star.loader.SharedLibrary </loader-name>
- <language> c++ </language>
- <status value="final"/>
- <supported-service> com.sun.star.registry.NestedRegistry </supported-service>
- <reference-docu xlink:href="http://www.sun.com" xlink:type="simple"/>
- <service-dependency> com.sun.star.registry.SimpleRegistry </service-dependency>
- <type> com.sun.star.lang.XInitialization </type>
- <type> com.sun.star.lang.XTypeProvider </type>
- <type> com.sun.star.lang.XServiceInfo </type>
- <type> com.sun.star.lang.XSingleServiceFactory </type>
- <type> com.sun.star.lang.XMultiServiceFactory </type>
- <type> com.sun.star.registry.XSimpleRegistry </type>
- <type> com.sun.star.registry.XRegistryKey </type>
- <type> com.sun.star.lang.XSingleComponentFactory </type>
- <type> com.sun.star.uno.XComponentContext </type>
- <type> com.sun.star.uno.XAggregation </type>
- <type> com.sun.star.uno.XWeak </type>
- <type> com.sun.star.uno.TypeClass </type>
- <type> com.sun.star.container.XEnumerationAccess </type>
- </component-description>
- <component-description>
- <author> Juergen Schmidt </author>
- <name> com.sun.star.comp.stoc.ImplementationRegistration </name>
- <description>
- This component provides a mechanism to register or deregister an external component
- to the current uno environment or better to the current service manager.
-</description>
- <loader-name> com.sun.star.loader.SharedLibrary </loader-name>
- <language> c++ </language>
- <status value="final"/>
- <supported-service> com.sun.star.registry.ImplementationRegistration </supported-service>
- <service-dependency> com.sun.star.registry.SimpleRegistry </service-dependency>
- <service-dependency> com.sun.star.loader.SharedLibrary </service-dependency>
- <service-dependency> com.sun.star.loader.Java </service-dependency>
- <type> com.sun.star.loader.XImplementationLoader </type>
- <type> com.sun.star.lang.XInitialization </type>
- <type> com.sun.star.lang.XTypeProvider </type>
- <type> com.sun.star.lang.XServiceInfo </type>
- <type> com.sun.star.lang.XSingleServiceFactory </type>
- <type> com.sun.star.lang.XSingleComponentFactory </type>
- <type> com.sun.star.lang.XMultiServiceFactory </type>
- <type> com.sun.star.registry.XSimpleRegistry </type>
- <type> com.sun.star.registry.XRegistryKey </type>
- <type> com.sun.star.registry.XImplementationRegistration2 </type>
- <type> com.sun.star.beans.XPropertySet </type>
- <type> com.sun.star.container.XSet </type>
- <type> com.sun.star.container.XHierarchicalNameAccess </type>
- <type> com.sun.star.reflection.XServiceTypeDescription </type>
- <type> com.sun.star.uno.XAggregation </type>
- <type> com.sun.star.uno.XWeak </type>
- <type> com.sun.star.uno.TypeClass </type>
- <type> com.sun.star.uno.XComponentContext </type>
- </component-description>
- <component-description>
- <author> Daniel Boelzle </author>
- <name> com.sun.star.comp.stoc.RegistryTypeDescriptionProvider </name>
- <description>
-This provider service supports the XHierarchicalNameAccess interface to read type descriptions
-and constants from a registry source.
-</description>
- <loader-name> com.sun.star.loader.SharedLibrary </loader-name>
- <language> C++ </language>
- <status value="final"/>
- <supported-service> com.sun.star.reflection.TypeDescriptionProvider </supported-service>
- <service-dependency>com.sun.star.reflection.TypeDescriptionManager</service-dependency>
- <type> com.sun.star.reflection.XTypeDescription </type>
- <type> com.sun.star.reflection.XConstantsTypeDescription </type>
- <type> com.sun.star.reflection.XEnumTypeDescription </type>
- <type> com.sun.star.reflection.XIndirectTypeDescription </type>
- <type> com.sun.star.reflection.XInterfaceMemberTypeDescription </type>
- <type> com.sun.star.reflection.XInterfaceAttributeTypeDescription2 </type>
- <type> com.sun.star.reflection.XMethodParameter </type>
- <type> com.sun.star.reflection.XModuleTypeDescription </type>
- <type> com.sun.star.reflection.XInterfaceMethodTypeDescription </type>
- <type> com.sun.star.reflection.XInterfaceTypeDescription </type>
- <type> com.sun.star.reflection.XInterfaceTypeDescription2 </type>
- <type> com.sun.star.reflection.XCompoundTypeDescription </type>
- <type> com.sun.star.reflection.XServiceConstructorDescription </type>
- <type> com.sun.star.reflection.XServiceTypeDescription </type>
- <type> com.sun.star.reflection.XServiceTypeDescription2 </type>
- <type> com.sun.star.reflection.XSingletonTypeDescription2 </type>
- <type> com.sun.star.reflection.XTypeDescriptionEnumerationAccess </type>
- <type> com.sun.star.reflection.XParameter </type>
- <type> com.sun.star.reflection.XPublished</type>
- <type> com.sun.star.reflection.XStructTypeDescription</type>
- <type> com.sun.star.lang.DisposedException </type>
- <type> com.sun.star.lang.XComponent </type>
- <type> com.sun.star.lang.XTypeProvider </type>
- <type> com.sun.star.lang.XServiceInfo </type>
- <type> com.sun.star.lang.XSingleComponentFactory </type>
- <type> com.sun.star.lang.XMultiComponentFactory </type>
- <type> com.sun.star.lang.XSingleServiceFactory </type>
- <type> com.sun.star.lang.XMultiServiceFactory </type>
- <type> com.sun.star.lang.XInitialization </type>
- <type> com.sun.star.registry.XSimpleRegistry </type>
- <type> com.sun.star.beans.PropertyAttribute </type>
- <type> com.sun.star.beans.XPropertySet </type>
- <type> com.sun.star.container.NoSuchElementException </type>
- <type> com.sun.star.container.XHierarchicalNameAccess </type>
- <type> com.sun.star.container.XSet </type>
- <type> com.sun.star.uno.XAggregation </type>
- <type> com.sun.star.uno.XComponentContext </type>
- <type> com.sun.star.uno.XWeak </type>
- <type> com.sun.star.uno.XInterface </type>
- <type> com.sun.star.uno.TypeClass </type>
- <type> com.sun.star.uno.RuntimeException </type>
- </component-description>
- <component-description>
- <author>boelzle@sun.com</author>
- <name>com.sun.star.security.comp.stoc.AccessController</name>
-<description>
-This service is an implementation of the com.sun.star.security.AccessController service.
-</description>
- <loader-name>com.sun.star.loader.SharedLibrary</loader-name>
- <language>C++</language>
- <status value="under construction"/>
- <supported-service>com.sun.star.security.AccessController</supported-service>
- <service-dependency> unknown, because of used policy </service-dependency>
- <type>com.sun.star.security.XAccessController</type>
- <type>com.sun.star.security.XPolicy</type>
- <type>com.sun.star.security.RuntimePermission</type>
- <type>com.sun.star.security.AllPermission</type>
- <type>com.sun.star.io.FilePermission</type>
- <type>com.sun.star.connection.SocketPermission</type>
- <type>com.sun.star.registry.XRegistryKey</type>
- <type>com.sun.star.lang.DisposedException</type>
- <type>com.sun.star.lang.XTypeProvider</type>
- <type>com.sun.star.lang.XComponent</type>
- <type>com.sun.star.lang.XServiceInfo</type>
- <type>com.sun.star.lang.XSingleComponentFactory</type>
- <type>com.sun.star.lang.XSingleServiceFactory</type>
- <type>com.sun.star.lang.XMultiComponentFactory</type>
- <type>com.sun.star.lang.XMultiServiceFactory</type>
- <type>com.sun.star.lang.XInitialization</type>
- <type>com.sun.star.uno.XWeak</type>
- <type>com.sun.star.uno.XAggregation</type>
- <type>com.sun.star.uno.DeploymentException</type>
- <type>com.sun.star.uno.XCurrentContext</type>
- <type>com.sun.star.uno.XComponentContext</type>
- <type>com.sun.star.uno.TypeClass</type>
- </component-description>
- <component-description>
- <author>boelzle@sun.com</author>
- <name>com.sun.star.security.comp.stoc.FilePolicy</name>
-<description>
-This service is an implementation of the com.sun.star.security.Policy service.
-</description>
- <loader-name>com.sun.star.loader.SharedLibrary</loader-name>
- <language>C++</language>
- <status value="under construction"/>
- <supported-service>com.sun.star.security.Policy</supported-service>
- <type>com.sun.star.security.XAccessController</type>
- <type>com.sun.star.security.XPolicy</type>
- <type>com.sun.star.security.RuntimePermission</type>
- <type>com.sun.star.security.AllPermission</type>
- <type>com.sun.star.io.FilePermission</type>
- <type>com.sun.star.connection.SocketPermission</type>
- <type>com.sun.star.registry.XRegistryKey</type>
- <type>com.sun.star.lang.XTypeProvider</type>
- <type>com.sun.star.lang.XComponent</type>
- <type>com.sun.star.lang.XServiceInfo</type>
- <type>com.sun.star.lang.XSingleComponentFactory</type>
- <type>com.sun.star.lang.XSingleServiceFactory</type>
- <type>com.sun.star.lang.XMultiComponentFactory</type>
- <type>com.sun.star.lang.XMultiServiceFactory</type>
- <type>com.sun.star.uno.XWeak</type>
- <type>com.sun.star.uno.XAggregation</type>
- <type>com.sun.star.uno.XCurrentContext</type>
- <type>com.sun.star.uno.XComponentContext</type>
- <type>com.sun.star.uno.TypeClass</type>
- </component-description>
- <component-description>
- <author> Juergen Schmidt </author>
- <name> com.sun.star.comp.stoc.SimpleRegistry </name>
- <description>
- This component provides access to a simple hierachical registry. The registry based on
- one registry file.
-</description>
- <loader-name> com.sun.star.loader.SharedLibrary </loader-name>
- <language> c++ </language>
- <status value="final"/>
- <supported-service> com.sun.star.registry.SimpleRegistry </supported-service>
- <type> com.sun.star.lang.XTypeProvider </type>
- <type> com.sun.star.lang.XServiceInfo </type>
- <type> com.sun.star.lang.XSingleServiceFactory </type>
- <type> com.sun.star.lang.XSingleComponentFactory </type>
- <type> com.sun.star.lang.XMultiServiceFactory </type>
- <type> com.sun.star.lang.XMultiComponentFactory </type>
- <type> com.sun.star.registry.XSimpleRegistry </type>
- <type> com.sun.star.registry.XRegistryKey </type>
- <type> com.sun.star.uno.XAggregation </type>
- <type> com.sun.star.uno.XWeak </type>
- <type> com.sun.star.uno.TypeClass </type>
- <type> com.sun.star.uno.XComponentContext </type>
- </component-description>
- <component-description>
- <author> Juergen Schmidt </author>
- <name> com.sun.star.comp.stoc.OServiceManager </name>
- <description>
- This component provides an administration object which manages
- factories for many services. The services could be accessed with
- the service name by using createInstance or createInstanceWithArguments.
- To support the servicemanager with the needed information about a
- service implementation, for e.g. which component implements the service,
- two ways are possible:
- - register a component persistent in a registry on which the servicemanager
- works, using the com.sun.star.registry.ImplementationRegistration service.
- - insert a corresponding factory for the service directly using the
- interface XSet.
-
- For creating an object of a requested service the service manager checks
- if a factory for this service is avaible, if not the registry will be
- searched for information about this service. If there is an appropriate
- entry, the component is loaded, a factory is created and announced to the
- service manager. Finding a factory the service manager calls the factory
- for creating new objects.
-</description>
- <loader-name> com.sun.star.loader.SharedLibrary </loader-name>
- <language> c++ </language>
- <status value="final"/>
- <supported-service> com.sun.star.lang.MultiServiceFactory </supported-service>
- <supported-service> com.sun.star.lang.ServiceManager </supported-service>
- <type> com.sun.star.lang.XUnoTunnel </type>
- <type> com.sun.star.lang.XComponent </type>
- <type> com.sun.star.lang.XEventListener </type>
- <type> com.sun.star.lang.XInitialization </type>
- <type> com.sun.star.lang.XTypeProvider </type>
- <type> com.sun.star.lang.XServiceInfo </type>
- <type> com.sun.star.lang.XSingleServiceFactory </type>
- <type> com.sun.star.lang.XSingleComponentFactory </type>
- <type> com.sun.star.lang.XMultiServiceFactory </type>
- <type> com.sun.star.lang.DisposedException </type>
- <type> com.sun.star.registry.XSimpleRegistry </type>
- <type> com.sun.star.beans.XPropertySet </type>
- <type> com.sun.star.container.XSet </type>
- <type> com.sun.star.container.XEnumeration </type>
- <type> com.sun.star.container.XContentEnumerationAccess </type>
- <type> com.sun.star.container.XHierarchicalNameAccess </type>
- <type> com.sun.star.uno.XComponentContext </type>
- <type> com.sun.star.uno.XAggregation </type>
- <type> com.sun.star.uno.XWeak </type>
- <type> com.sun.star.uno.TypeClass </type>
- <type> com.sun.star.uno.XUnloadingPreference </type>
- <type> com.sun.star.beans.PropertyAttribute </type>
- </component-description>
- <component-description>
- <author> Daniel Boelzle </author>
- <name> com.sun.star.comp.stoc.TypeDescriptionManager </name>
- <description>
-This service is the central manager supporting the XHierarchicalNameAccess interface.
-At runtime there will only be at most a single instance of the service.
-A manager instance is hooked into the C UNO runtime typelib and lives until the service manager
-is going down.
-You can manually add a provider by inserting it via the XSet interface.
-At startup of this service, you must call an initialization, adding all known
-providers.
-</description>
- <loader-name> com.sun.star.loader.SharedLibrary </loader-name>
- <language> C++ </language>
- <status value="final"/>
- <supported-service> com.sun.star.reflection.TypeDescriptionManager </supported-service>
- <service-dependency> ... </service-dependency>
- <type> com.sun.star.beans.PropertyAttribute </type>
- <type> com.sun.star.reflection.XTypeDescription </type>
- <type> com.sun.star.reflection.XEnumTypeDescription </type>
- <type> com.sun.star.reflection.XArrayTypeDescription </type>
- <type> com.sun.star.reflection.XIndirectTypeDescription </type>
- <type> com.sun.star.reflection.XInterfaceMemberTypeDescription </type>
- <type> com.sun.star.reflection.XInterfaceAttributeTypeDescription </type>
- <type> com.sun.star.reflection.XInterfaceAttributeTypeDescription2 </type>
- <type> com.sun.star.reflection.XMethodParameter </type>
- <type> com.sun.star.reflection.XInterfaceMethodTypeDescription </type>
- <type> com.sun.star.reflection.XInterfaceTypeDescription2 </type>
- <type> com.sun.star.reflection.XStructTypeDescription </type>
- <type> com.sun.star.reflection.XServiceTypeDescription </type>
- <type> com.sun.star.reflection.XServiceTypeDescription2 </type>
- <type> com.sun.star.reflection.XPropertyTypeDescription </type>
- <type> com.sun.star.reflection.XConstantTypeDescription </type>
- <type> com.sun.star.reflection.XConstantsTypeDescription </type>
- <type> com.sun.star.reflection.XSingletonTypeDescription </type>
- <type> com.sun.star.reflection.XSingletonTypeDescription2 </type>
- <type> com.sun.star.reflection.XUnionTypeDescription </type>
- <type> com.sun.star.reflection.XTypeDescriptionEnumerationAccess </type>
- <type> com.sun.star.lang.DisposedException </type>
- <type> com.sun.star.lang.XComponent </type>
- <type> com.sun.star.lang.XEventListener </type>
- <type> com.sun.star.lang.XInitialization </type>
- <type> com.sun.star.lang.XTypeProvider </type>
- <type> com.sun.star.lang.XServiceInfo </type>
- <type> com.sun.star.lang.XSingleServiceFactory </type>
- <type> com.sun.star.lang.XSingleComponentFactory </type>
- <type> com.sun.star.lang.XMultiComponentFactory </type>
- <type> com.sun.star.lang.XMultiServiceFactory </type>
- <type> com.sun.star.registry.XRegistryKey </type>
- <type> com.sun.star.container.XSet </type>
- <type> com.sun.star.container.XHierarchicalNameAccess </type>
- <type> com.sun.star.container.XContentEnumerationAccess </type>
- <type> com.sun.star.uno.XAggregation </type>
- <type> com.sun.star.uno.XWeak </type>
- <type> com.sun.star.uno.XComponentContext </type>
- <type> com.sun.star.uno.TypeClass </type>
- </component-description>
- <project-build-dependency> cppuhelper </project-build-dependency>
- <project-build-dependency> cppu </project-build-dependency>
- <project-build-dependency> sal </project-build-dependency>
- <project-build-dependency> registry </project-build-dependency>
- <project-build-dependency> store </project-build-dependency>
- <project-build-dependency> salhelper </project-build-dependency>
- <runtime-module-dependency> cppuhelper3$(COM) </runtime-module-dependency>
- <runtime-module-dependency> cppu3 </runtime-module-dependency>
- <runtime-module-dependency> sal3 </runtime-module-dependency>
- <runtime-module-dependency> reg3 </runtime-module-dependency>
- <runtime-module-dependency> store3 </runtime-module-dependency>
- <runtime-module-dependency> reg3 </runtime-module-dependency>
- <runtime-module-dependency> store3 </runtime-module-dependency>
- <runtime-module-dependency> salhelper3(COM) </runtime-module-dependency>
- <runtime-module-dependency> salhelper3(COM) </runtime-module-dependency>
-</module-description>