The Free and Open Productivity Suite
QA Volunteers Needed -- Help us test OpenOffice

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous

Content for Apache OpenOffice version 3.4.

:: com :: sun :: star :: lang ::

interface XSingleComponentFactory
Description
Factory interface to create instances of an implementation of a service specification.
See also
XInitialization

Methods' Summary
createInstanceWithContext Creates an instance of a service implementation.  
createInstanceWithArgumentsAndContext Creates an instance of a component and initializes the new instance with the given arguments and context.  
Methods' Details
createInstanceWithContext
::com::sun::star::uno::XInterface
createInstanceWithContext( [in] ::com::sun::star::uno::XComponentContext  Context )
raises( ::com::sun::star::uno::Exception );

Description
Creates an instance of a service implementation.
Parameter Context
the instance gets its deployment values from this
Returns
component instance
createInstanceWithArgumentsAndContext
::com::sun::star::uno::XInterface
createInstanceWithArgumentsAndContext( [in] sequence< any >  Arguments,
[in] ::com::sun::star::uno::XComponentContext  Context )
raises( ::com::sun::star::uno::Exception );

Description
Creates an instance of a component and initializes the new instance with the given arguments and context.
Parameter Arguments
arguments passed to implementation
Parameter Context
the instance gets its deployment values from this
Returns
component instance
Top of Page

Apache Feather

Copyright & License | Privacy | Contact Us | Donate

Apache, the Apache feather logo, and OpenOffice are trademarks of The Apache Software Foundation. OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.