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