Overview | Module | Use | Devguide | Index

Methods' Summary | Methods' Details | Attributes' Summary | Attributes' Details

:: com :: sun :: star :: registry ::
interface XImplementationRegistration
  Base Hierarchy
      ::com::sun::star::uno::XInterface
       |
       +-XImplementationRegistration
Description offers a registry for implementation objects and provides information about the registered implementations.

Methods' Summary
registerImplementation | registers a component which provides one or more implementations.
revokeImplementation | revokes a component and all their provided implementations from the registry.
getImplementations |
checkInstantiation |

Methods' Details
registerImplementation
void registerImplementation( | [in] string [in] string [in] XSimpleRegistry raises( | aImplementationLoader, aLocation, xReg ) CannotRegisterImplementationException );
Description registers a component which provides one or more implementations. Parameter aLocation specifies the location of the component with the URL. Parameter xReg specifies the registry where the component should be installed. If it is a NULL interface, then the component will be installed in the system registry (if this feature is supported).
revokeImplementation
boolean revokeImplementation( | [in] string [in] XSimpleRegistry | aLocation, xReg );
Description revokes a component and all their provided implementations from the registry. Parameter aLocation specifies the location of the component with the URL. Parameter xReg specifies the registry where the component should be installed. If it is a NULL interface, then the component will be revoked from the system registry (if this feature is supported).
getImplementations
sequence< string > getImplementations( | [in] string [in] string | aImplementationLoader, aLocation );
Returns the names of the implementations registered by the url location. Parameter aImplementationLoader specifies the name of the needed loader for this type of implementation. For example, the loader "com.sun.star.loader.SharedLibrary" for implementations that are realized as an SharedLibrary. Parameter aLocation specifies the location of the component with the URL.
checkInstantiation
sequence< string > checkInstantiation( | [in] string | implementationName );
Returns a sequence with names of the missing services to create an instance of this implementation. Parameter implementationName specifies the name of the checked implementation.

Top of Page

Copyright © 2003 Sun Microsystems, Inc.