<html> <head> <title>Interface XComponentContext</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <link rel="stylesheet" type="text/css" href="../../../../idl.css"> </head> <body> <div id="adc-idlref"> <a name="_top_"> </a><table class="navimain" border="0" cellpadding="3"> <tr> <td class="navimain"><a href="../module-ix.html" class="navimain">Overview</a></td> <td class="navimain"><a href="module-ix.html" class="navimain">Module</a></td> <td class="navimain"><a href="XComponentContext-xref.html" class="navimain">Use</a></td> <td class="navimain"><a href="#devmanual" class="navimain">Devguide</a></td> <td class="navimain"><a href="../../../../index-files/index-1.html" class="navimain">Index</a></td> </tr> </table> <table class="navisub" border="0" cellpadding="0"> <tr> <td class="navisub"><a href="#MethodsSummary" class="navisub">Methods' Summary</a></td> <td class="navisub">Attributes' Summary</td> <td class="navisub"><a href="#MethodsDetails" class="navisub">Methods' Details</a></td> <td class="navisub">Attributes' Details</td> </tr> </table> <hr> <table border="0" width="100%" cellpadding="5" cellspacing="3" class="title-table" style="margin-bottom:6pt;"> <tr> <td><p class="namechain"><a href="../../../../module-ix.html" class="namechain">::</a> <a href="../../../module-ix.html" class="namechain">com</a> :: <a href="../../module-ix.html" class="namechain">sun</a> :: <a href="../module-ix.html" class="namechain">star</a> :: <a href="module-ix.html" class="namechain">uno</a> :: </p> </td> </tr> <tr> <td class="title">interface XComponentContext</td> </tr> <tr> <td/></tr> <tr> <td><dl> <dt><b>Description</b></dt> <dd>Component context to be passed to a component via ::com::sun::star::<a href="../lang/module-ix.html">lang</a>::<a href="../lang/XSingleComponentFactory.html">XSingleComponentFactory</a>. Arbitrary values (e.g. deployment values) can be retrieved from the context. </dd> </dl> <a name="devmanual"> </a><dl> <dt><b>Developers Guide</b></dt> <dd><a href="http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/ProUNO/Service_Manager_and_Component_Context">ProUNO - Service Manager and Component Context</a></dd> <dd><a href="http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/FirstSteps/First_Contact#Getting_Started">FirstSteps - First Contact - Getting Started</a></dd> <dd><a href="http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/ProUNO/Java/Getting_a_Service_Manager">ProUNO - Java - Getting a Service Manager</a></dd> <dd><a href="http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/ProUNO/C++/Establishing_Interprocess_Connections">ProUNO - C++ - Establishing Interprocess Connections</a></dd> <dd><a href="http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/ProUNO/UNO_Interprocess_Connections">ProUNO - UNO Interprocess Connections</a></dd> <dd><a href="http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/ProUNO/C++/Transparent_Use_of_Office_UNO_Components">ProUNO - C++ - Transparent Use of Office UNO Components</a></dd> <dd><a href="http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/ProUNO/Java/Transparent_Use_of_Office_UNO_Components">ProUNO - Java - Transparent Use of Office UNO Components</a></dd> </dl> </td> </tr> </table> <hr> <a name="MethodsSummary"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle"> <tr> <td class="subtitle" colspan="2">Methods' Summary</td> </tr> <tr> <td class="imsum_left"><a href="#getValueByName">getValueByName</a></td> <td class="imsum_right">Gets a value from the context. </td> </tr> <tr> <td class="imsum_left"><a href="#getServiceManager">getServiceManager</a></td> <td class="imsum_right">Gets the service manager instance to be used from key <code>/singletons/com.sun.star.lang.theServiceManager</code> (maybe null ref). This method has been added for convenience, because the service manager is used very often. </td> </tr> </table> <a name="MethodsDetails"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle"> <tr> <td class="subtitle">Methods' Details</td> </tr> <tr> <td class="imdetail"><a name="getValueByName" class="membertitle">getValueByName</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-method" bgcolor="#ffffff" align="center"> <tr> <td><table class="table-in-method" border="0"> <tr> <td valign="top" colspan="3">any</td> </tr> <tr> <td valign="top"><b>getValueByName</b>(</td> <td valign="top">[in] string</td> <td valign="bottom"> Name );</td> </tr> </table> <hr> <dl> <dt><b>Description</b></dt> <dd>Gets a value from the context. </dd> <dt><b>Parameter Name</b></dt> <dd>name of value </dd> <dt><b>Returns</b></dt> <dd>value </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="getServiceManager" class="membertitle">getServiceManager</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-method" bgcolor="#ffffff" align="center"> <tr> <td><table class="table-in-method" border="0"> <tr> <td valign="top" colspan="3">::com::sun::star::<a href="../lang/module-ix.html">lang</a>::<a href="../lang/XMultiComponentFactory.html">XMultiComponentFactory</a></td> </tr> <tr> <td valign="top"><b>getServiceManager</b>();</td> </tr> </table> <hr> <dl> <dt><b>Description</b></dt> <dd>Gets the service manager instance to be used from key <code>/singletons/com.sun.star.lang.theServiceManager</code> (maybe null ref). This method has been added for convenience, because the service manager is used very often. </dd> <dt><b>Returns</b></dt> <dd>service manager, if any </dd> </dl> </td> </tr> </table> </td> </tr> </table> <a href="#_top_">Top of Page</a><hr size="3"><p class="copyright" align="center">Copyright © 2011, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.</p> </div> <!-- id="adc-idlref" --> </body> </html>