Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: 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 Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

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