1*cdf0e10cSrcweir<?xml version="1.0" encoding="UTF-8"?> 2*cdf0e10cSrcweir<!DOCTYPE module-description PUBLIC "-//StarOffice//DTD ComponentDescription 1.0//EN" "module-description.dtd"> 3*cdf0e10cSrcweir<module-description xmlns:xlink="http://www.w3.org/1999/xlink"> 4*cdf0e10cSrcweir <module-name> invocation.uno </module-name> 5*cdf0e10cSrcweir <component-description> 6*cdf0e10cSrcweir <author> Daniel Boelzle </author> 7*cdf0e10cSrcweir <name> com.sun.star.comp.stoc.Invocation </name> 8*cdf0e10cSrcweir <description> 9*cdf0e10cSrcweirYou can construct Invocation objects through this factory service. 10*cdf0e10cSrcweirInvoke createInstanceWithArguments() of XSingleServiceFactory 11*cdf0e10cSrcweirto create an Invocation adapter for your object; 12*cdf0e10cSrcweirinvoking createInstance() will fail. 13*cdf0e10cSrcweirInstances implement XInvocation to invoke methods and set/get properties at an object 14*cdf0e10cSrcweirwhich corresponds with the object which implements this interface. 15*cdf0e10cSrcweir 16*cdf0e10cSrcweirThere are two ways to get information about this object. First you 17*cdf0e10cSrcweircan get the implemented method with XInvocation::getMethodNames() 18*cdf0e10cSrcweirand the properties with XInvocation::getPropertyNames(). 19*cdf0e10cSrcweirSecond you can get, if provided, all information about the methods and the 20*cdf0e10cSrcweirproperties with XInvocation::getIntrospection(). 21*cdf0e10cSrcweirContainer access is available through the XIndexContainer, 22*cdf0e10cSrcweirXNameContainer and XEnumerationContainer 23*cdf0e10cSrcweir(use XInterface::queryInterface). 24*cdf0e10cSrcweir</description> 25*cdf0e10cSrcweir <loader-name> com.sun.star.loader.SharedLibrary </loader-name> 26*cdf0e10cSrcweir <language> C++ </language> 27*cdf0e10cSrcweir <status value="final"/> 28*cdf0e10cSrcweir <supported-service> com.sun.star.script.Invocation </supported-service> 29*cdf0e10cSrcweir <service-dependency>com.sun.star.script.Converter</service-dependency> 30*cdf0e10cSrcweir <service-dependency>com.sun.star.beans.Introspection</service-dependency> 31*cdf0e10cSrcweir <service-dependency>com.sun.star.reflection.CoreReflection</service-dependency> 32*cdf0e10cSrcweir <type> com.sun.star.script.XInvocation </type> 33*cdf0e10cSrcweir <type> com.sun.star.script.XInvocation2 </type> 34*cdf0e10cSrcweir <type> com.sun.star.script.InvocationInfo </type> 35*cdf0e10cSrcweir <type> com.sun.star.script.MemberType </type> 36*cdf0e10cSrcweir <type> com.sun.star.script.XTypeConverter </type> 37*cdf0e10cSrcweir <type> com.sun.star.script.FailReason </type> 38*cdf0e10cSrcweir <type> com.sun.star.beans.XIntrospection </type> 39*cdf0e10cSrcweir <type> com.sun.star.beans.XIntrospectionAccess </type> 40*cdf0e10cSrcweir <type> com.sun.star.beans.XPropertySet </type> 41*cdf0e10cSrcweir <type> com.sun.star.beans.XFastPropertySet </type> 42*cdf0e10cSrcweir <type> com.sun.star.beans.XMaterialHolder </type> 43*cdf0e10cSrcweir <type> com.sun.star.beans.XExactName </type> 44*cdf0e10cSrcweir <type> com.sun.star.beans.PropertyAttribute </type> 45*cdf0e10cSrcweir <type> com.sun.star.beans.PropertyConcept </type> 46*cdf0e10cSrcweir <type> com.sun.star.beans.MethodConcept </type> 47*cdf0e10cSrcweir <type> com.sun.star.lang.XEventListener </type> 48*cdf0e10cSrcweir <type> com.sun.star.lang.XInitialization </type> 49*cdf0e10cSrcweir <type> com.sun.star.lang.XTypeProvider </type> 50*cdf0e10cSrcweir <type> com.sun.star.lang.XServiceInfo </type> 51*cdf0e10cSrcweir <type> com.sun.star.lang.XSingleServiceFactory </type> 52*cdf0e10cSrcweir <type> com.sun.star.lang.XMultiServiceFactory </type> 53*cdf0e10cSrcweir <type> com.sun.star.lang.XMultiComponentFactory </type> 54*cdf0e10cSrcweir <type> com.sun.star.lang.XSingleComponentFactory </type> 55*cdf0e10cSrcweir <type> com.sun.star.registry.XRegistryKey </type> 56*cdf0e10cSrcweir <type> com.sun.star.uno.DeploymentException </type> 57*cdf0e10cSrcweir <type> com.sun.star.uno.XAggregation </type> 58*cdf0e10cSrcweir <type> com.sun.star.uno.XWeak </type> 59*cdf0e10cSrcweir <type> com.sun.star.uno.XComponentContext </type> 60*cdf0e10cSrcweir <type> com.sun.star.uno.XWeak </type> 61*cdf0e10cSrcweir <type> com.sun.star.uno.TypeClass </type> 62*cdf0e10cSrcweir <type> com.sun.star.container.XEnumerationAccess </type> 63*cdf0e10cSrcweir <type> com.sun.star.container.XNameContainer </type> 64*cdf0e10cSrcweir <type> com.sun.star.container.XIndexContainer </type> 65*cdf0e10cSrcweir <type> com.sun.star.reflection.XIdlReflection </type> 66*cdf0e10cSrcweir <type> com.sun.star.reflection.XIdlClassProvider </type> 67*cdf0e10cSrcweir <type> com.sun.star.reflection.XIdlClass </type> 68*cdf0e10cSrcweir <type> com.sun.star.reflection.XIdlArray </type> 69*cdf0e10cSrcweir <type> com.sun.star.reflection.FieldAccessMode </type> 70*cdf0e10cSrcweir </component-description> 71*cdf0e10cSrcweir <project-build-dependency> cppuhelper </project-build-dependency> 72*cdf0e10cSrcweir <project-build-dependency> cppu </project-build-dependency> 73*cdf0e10cSrcweir <project-build-dependency> sal </project-build-dependency> 74*cdf0e10cSrcweir <runtime-module-dependency> cppuhelper3$(COM) </runtime-module-dependency> 75*cdf0e10cSrcweir <runtime-module-dependency> cppu3 </runtime-module-dependency> 76*cdf0e10cSrcweir <runtime-module-dependency> sal3 </runtime-module-dependency> 77*cdf0e10cSrcweir</module-description> 78