(incubating) | The Free and Open Productivity Suite

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous

Content for OpenOffice.org version 3.3.

:: 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 OpenOffice is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.

Copyright & License
Apache and the Apache feather logos 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.