interface XSingleServiceFactory in module com::sun::star::lang::

(Global Index)

Syntax

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

Method Summary

createInstance creates an instance of a component.

createInstanceWithArguments creates an instance of a component and initializes the component with some arguments.

Method Details



createInstance

Syntax

com::sun::star::uno::XInterface createInstance ();
raises ( com::sun::star::uno::Exception );

Description

creates an instance of a component.

This component must support the services specified by the factory.


createInstanceWithArguments

Syntax

com::sun::star::uno::XInterface createInstanceWithArguments (
sequence< any > aArguments )
raises ( com::sun::star::uno::Exception );

Description

creates an instance of a component and initializes the component with some arguments.

This component must support the services specified by the factory.

See also

XInitialization::init
Top of Page