1cdf0e10cSrcweir<?xml version="1.0" encoding="UTF-8"?> 2cdf0e10cSrcweir<!DOCTYPE module-description PUBLIC "-//StarOffice//DTD ComponentDescription 1.0//EN" "module-description.dtd"> 3*a0b87975SAndrew Rist<!--*********************************************************** 4*a0b87975SAndrew Rist * 5*a0b87975SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 6*a0b87975SAndrew Rist * or more contributor license agreements. See the NOTICE file 7*a0b87975SAndrew Rist * distributed with this work for additional information 8*a0b87975SAndrew Rist * regarding copyright ownership. The ASF licenses this file 9*a0b87975SAndrew Rist * to you under the Apache License, Version 2.0 (the 10*a0b87975SAndrew Rist * "License"); you may not use this file except in compliance 11*a0b87975SAndrew Rist * with the License. You may obtain a copy of the License at 12*a0b87975SAndrew Rist * 13*a0b87975SAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 14*a0b87975SAndrew Rist * 15*a0b87975SAndrew Rist * Unless required by applicable law or agreed to in writing, 16*a0b87975SAndrew Rist * software distributed under the License is distributed on an 17*a0b87975SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 18*a0b87975SAndrew Rist * KIND, either express or implied. See the License for the 19*a0b87975SAndrew Rist * specific language governing permissions and limitations 20*a0b87975SAndrew Rist * under the License. 21*a0b87975SAndrew Rist * 22*a0b87975SAndrew Rist ***********************************************************--> 23*a0b87975SAndrew Rist 24*a0b87975SAndrew Rist 25cdf0e10cSrcweir<module-description xmlns:xlink="http://www.w3.org/1999/xlink"> 26cdf0e10cSrcweir <module-name> invocation.uno </module-name> 27cdf0e10cSrcweir <component-description> 28cdf0e10cSrcweir <author> Daniel Boelzle </author> 29cdf0e10cSrcweir <name> com.sun.star.comp.stoc.Invocation </name> 30cdf0e10cSrcweir <description> 31cdf0e10cSrcweirYou can construct Invocation objects through this factory service. 32cdf0e10cSrcweirInvoke createInstanceWithArguments() of XSingleServiceFactory 33cdf0e10cSrcweirto create an Invocation adapter for your object; 34cdf0e10cSrcweirinvoking createInstance() will fail. 35cdf0e10cSrcweirInstances implement XInvocation to invoke methods and set/get properties at an object 36cdf0e10cSrcweirwhich corresponds with the object which implements this interface. 37cdf0e10cSrcweir 38cdf0e10cSrcweirThere are two ways to get information about this object. First you 39cdf0e10cSrcweircan get the implemented method with XInvocation::getMethodNames() 40cdf0e10cSrcweirand the properties with XInvocation::getPropertyNames(). 41cdf0e10cSrcweirSecond you can get, if provided, all information about the methods and the 42cdf0e10cSrcweirproperties with XInvocation::getIntrospection(). 43cdf0e10cSrcweirContainer access is available through the XIndexContainer, 44cdf0e10cSrcweirXNameContainer and XEnumerationContainer 45cdf0e10cSrcweir(use XInterface::queryInterface). 46cdf0e10cSrcweir</description> 47cdf0e10cSrcweir <loader-name> com.sun.star.loader.SharedLibrary </loader-name> 48cdf0e10cSrcweir <language> C++ </language> 49cdf0e10cSrcweir <status value="final"/> 50cdf0e10cSrcweir <supported-service> com.sun.star.script.Invocation </supported-service> 51cdf0e10cSrcweir <service-dependency>com.sun.star.script.Converter</service-dependency> 52cdf0e10cSrcweir <service-dependency>com.sun.star.beans.Introspection</service-dependency> 53cdf0e10cSrcweir <service-dependency>com.sun.star.reflection.CoreReflection</service-dependency> 54cdf0e10cSrcweir <type> com.sun.star.script.XInvocation </type> 55cdf0e10cSrcweir <type> com.sun.star.script.XInvocation2 </type> 56cdf0e10cSrcweir <type> com.sun.star.script.InvocationInfo </type> 57cdf0e10cSrcweir <type> com.sun.star.script.MemberType </type> 58cdf0e10cSrcweir <type> com.sun.star.script.XTypeConverter </type> 59cdf0e10cSrcweir <type> com.sun.star.script.FailReason </type> 60cdf0e10cSrcweir <type> com.sun.star.beans.XIntrospection </type> 61cdf0e10cSrcweir <type> com.sun.star.beans.XIntrospectionAccess </type> 62cdf0e10cSrcweir <type> com.sun.star.beans.XPropertySet </type> 63cdf0e10cSrcweir <type> com.sun.star.beans.XFastPropertySet </type> 64cdf0e10cSrcweir <type> com.sun.star.beans.XMaterialHolder </type> 65cdf0e10cSrcweir <type> com.sun.star.beans.XExactName </type> 66cdf0e10cSrcweir <type> com.sun.star.beans.PropertyAttribute </type> 67cdf0e10cSrcweir <type> com.sun.star.beans.PropertyConcept </type> 68cdf0e10cSrcweir <type> com.sun.star.beans.MethodConcept </type> 69cdf0e10cSrcweir <type> com.sun.star.lang.XEventListener </type> 70cdf0e10cSrcweir <type> com.sun.star.lang.XInitialization </type> 71cdf0e10cSrcweir <type> com.sun.star.lang.XTypeProvider </type> 72cdf0e10cSrcweir <type> com.sun.star.lang.XServiceInfo </type> 73cdf0e10cSrcweir <type> com.sun.star.lang.XSingleServiceFactory </type> 74cdf0e10cSrcweir <type> com.sun.star.lang.XMultiServiceFactory </type> 75cdf0e10cSrcweir <type> com.sun.star.lang.XMultiComponentFactory </type> 76cdf0e10cSrcweir <type> com.sun.star.lang.XSingleComponentFactory </type> 77cdf0e10cSrcweir <type> com.sun.star.registry.XRegistryKey </type> 78cdf0e10cSrcweir <type> com.sun.star.uno.DeploymentException </type> 79cdf0e10cSrcweir <type> com.sun.star.uno.XAggregation </type> 80cdf0e10cSrcweir <type> com.sun.star.uno.XWeak </type> 81cdf0e10cSrcweir <type> com.sun.star.uno.XComponentContext </type> 82cdf0e10cSrcweir <type> com.sun.star.uno.XWeak </type> 83cdf0e10cSrcweir <type> com.sun.star.uno.TypeClass </type> 84cdf0e10cSrcweir <type> com.sun.star.container.XEnumerationAccess </type> 85cdf0e10cSrcweir <type> com.sun.star.container.XNameContainer </type> 86cdf0e10cSrcweir <type> com.sun.star.container.XIndexContainer </type> 87cdf0e10cSrcweir <type> com.sun.star.reflection.XIdlReflection </type> 88cdf0e10cSrcweir <type> com.sun.star.reflection.XIdlClassProvider </type> 89cdf0e10cSrcweir <type> com.sun.star.reflection.XIdlClass </type> 90cdf0e10cSrcweir <type> com.sun.star.reflection.XIdlArray </type> 91cdf0e10cSrcweir <type> com.sun.star.reflection.FieldAccessMode </type> 92cdf0e10cSrcweir </component-description> 93cdf0e10cSrcweir <project-build-dependency> cppuhelper </project-build-dependency> 94cdf0e10cSrcweir <project-build-dependency> cppu </project-build-dependency> 95cdf0e10cSrcweir <project-build-dependency> sal </project-build-dependency> 96cdf0e10cSrcweir <runtime-module-dependency> cppuhelper3$(COM) </runtime-module-dependency> 97cdf0e10cSrcweir <runtime-module-dependency> cppu3 </runtime-module-dependency> 98cdf0e10cSrcweir <runtime-module-dependency> sal3 </runtime-module-dependency> 99cdf0e10cSrcweir</module-description> 100