Top   Module   Use   Manual   Index 
 EXPORTING SERVICES | METHODS' SUMMARY | METHODS' DETAILS 

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

interface XSingleComponentFactory

Base Interface
com::sun::star::uno::XInterface

Description
A factory supports this interface if the component which is created by this factory implements the service specification defined by the factory.
See also
XInitialization
See also
XMultiServiceFactory


Methods' Summary

createInstanceWithContext Creates an instance of a component.
createInstanceWithArgumentsAndContext Creates an instance of a component and initializes the new object 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 component.
Parameter Context
context the component instance gets its deployment values from
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 object with the given arguments and context.
See also
XInitialization::init
Parameter Arguments
arguments
Parameter Context
context the component instance gets its deployment values from
Returns
component instance

Top of Page