interface XNamingService in module com::sun::star::uno::

(Global Index)

Syntax

interface XNamingService : com::sun::star::uno::XInterface ;

Description

This is the interface which should be provided by a naming service.

Method Summary

getRegisteredObject provides a previous registered object.

registerObject registers one object under the specified name.

revokeObject revokes the registration of an object. If the object wasn't previous registered, then this call does nothing.

Method Details



getRegisteredObject

Syntax

com::sun::star::uno::XInterface getRegisteredObject (
string Name )
raises ( com::sun::star::uno::Exception );

Description

provides a previous registered object.


registerObject

Syntax

void registerObject (
string Name,
com::sun::star::uno::XInterface Object )
raises ( com::sun::star::uno::Exception );

Description

registers one object under the specified name.

If any object is registered before, then this object is revoked automatically.


revokeObject

Syntax

void revokeObject (
string Name )
raises ( com::sun::star::uno::Exception );

Description

revokes the registration of an object. If the object wasn't previous registered, then this call does nothing.

Top of Page