:: com :: sun :: star :: uno ::

interface XComponentContext
Description
Component context to be passed to a component via ::com::sun::star::lang::XSingleComponentFactory. Arbitrary values (e.g. deployment values) can be retrieved from the context.
Developers Guide
ProUNO - Service Manager and Component Context
FirstSteps - First Contact - Getting Started
ProUNO - Java - Getting a Service Manager
ProUNO - C++ - Establishing Interprocess Connections
ProUNO - UNO Interprocess Connections
ProUNO - C++ - Transparent Use of Office UNO Components
ProUNO - Java - Transparent Use of Office UNO Components

Methods' Summary
getValueByName Gets a value from the context.  
getServiceManager Gets the service manager instance to be used from key /singletons/com.sun.star.lang.theServiceManager (maybe null ref). This method has been added for convenience, because the service manager is used very often.  
Methods' Details
getValueByName
any
getValueByName( [in] string  Name );

Description
Gets a value from the context.
Parameter Name
name of value
Returns
value
getServiceManager
::com::sun::star::lang::XMultiComponentFactory
getServiceManager();

Description
Gets the service manager instance to be used from key /singletons/com.sun.star.lang.theServiceManager (maybe null ref). This method has been added for convenience, because the service manager is used very often.
Returns
service manager, if any
Top of Page