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

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

interface XInitialization

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

Description
initializes an object directly after its creation.

This interface works together with factories. If you want to initialize the object after creation, you should support this interface and you may support other interfaces which offer type-safe initialization methods.

Instead of calling XSingleComponentFactory::createInstanceWithContext and later initialize(), you should call XSingleComponentFactory::createInstanceWithArgumentsAndContext to pass the arguments to the instance. The reason is, that a component may want return the same instance for the same set of parameters, and it can do so by implementing the factory itself.



Known Services which Export this Interface

com::sun::star::registry::NestedRegistry supports a shared view on two different registries. The registry files will be opened in two different modes, registry1 will be opened with read/write rights and registry2 will be opened read-only. In the context of this service, the functions open , close , and destroy from XSimpleRegistry are not supported and throw an exception if they are used.
com::sun::star::lang::RegistryServiceManager provides a collection of and a registry for implementations for services.
com::sun::star::bridge::IiopBridge Concrete service of the meta service Bridge for iiop.
com::sun::star::bridge::Bridge This meta service allows the bridgefactory service to instantiate an interprocess bridge using a certain transfer protocol.
com::sun::star::bridge::UrpBridge Concrete service of the meta service Bridge for the urp protocol.
com::sun::star::registry::NestedRegistry supports a shared view on two different registries. The registry files will be opened in two different modes, registry1 will be opened with read/write rights and registry2 will be opened read-only. In the context of this service, the functions open , close , and destroy from XSimpleRegistry are not supported and throw an exception if they are used.
com::sun::star::lang::RegistryServiceManager provides a collection of and a registry for implementations for services.
com::sun::star::bridge::IiopBridge Concrete service of the meta service Bridge for iiop.
com::sun::star::bridge::Bridge This meta service allows the bridgefactory service to instantiate an interprocess bridge using a certain transfer protocol.
com::sun::star::bridge::UrpBridge Concrete service of the meta service Bridge for the urp protocol.
com::sun::star::datatransfer::dnd::OleDragSource This service connects the Java-like UNO drag and drop protocol to the protocol used on window platforms. It realized the drag source.
com::sun::star::datatransfer::dnd::OleDropTarget This service connects the Java-like UNO Drag & Drop protocol to the protocol used on window platforms. It realizes the drop target.
com::sun::star::datatransfer::dnd::X11DragSource This service connects the Java-like UNO Drag and Drop protocol to the X Drag and Drop protocol used on X-Servers to transfer data between applications via Drag and Drop operations.
com::sun::star::datatransfer::dnd::X11DropTarget This service connects the Java-like UNO Drag and Drop protocol to the X Drag and Drop protocol used on X-Servers to transfer data between application via Drag and Drop operations.
com::sun::star::datatransfer::clipboard::GenericClipboard A generic clipboard service is a simple container for transferable objects.
com::sun::star::datatransfer::clipboard::SystemClipboard The system clipboard service builds a bridge to the OS specific clipboard interfaces.

com::sun::star::document::ExportFilter filter for exports.
com::sun::star::document::ImportFilter filter for imports.
com::sun::star::ucb::UniversalContentBroker is a one-instance service that provides access to a set of Content s via ContentProvider s.
com::sun::star::ui::dialogs::FilePicker
com::sun::star::linguistic2::SpellChecker offers spellchecking functionality.
com::sun::star::linguistic2::Hyphenator offers hyphenation functionality.
com::sun::star::linguistic2::Thesaurus offers thesaurus functionality.
com::sun::star::packages::Package The Package is a service that provides access to a set of files and folders contained within a Package. One instance of the Package service exists for each Package file to be manipulated. Each instance is created with an argument which specifies the URL of the Package file to which the user requires access. If the instance is created without arguments, it must be initialised with the XInitialization service methods before it is a valid instance of the service.
com::sun::star::sdb::DataSourceBrowser implements a component which allows browsing the data sources registered on the system.
com::sun::star::sdb::DatasourceAdministrationDialog provides a user interface for administrating the system wide registered data sources.
com::sun::star::sdb::ErrorMessageDialog provides a dialog for displaying database related exceptions.
com::sun::star::task::InteractionHandler An interaction request handler that lets the user handle a number of well known requests via GUI dialogs (and the PasswordContainer service).
com::sun::star::frame::SynchronousFrameLoader Derivations of this abstract service are used to load components into Frame s of the environment.

Methods' Summary

initialize initializes the object.

Methods' Details

initialize
 
void
initialize(
[ in ] sequence< any > aArguments )
raises ( com::sun::star::uno::Exception );

Description
initializes the object.

It should be called directly after the object is created.


Top of Page