org.geotools.openoffice
Class Registration

java.lang.Object
  extended byorg.geotools.openoffice.Registration

public final class Registration
extends java.lang.Object

The registration of all formulas provided in this package.

Since:
2.2
Version:
$Id: Registration.java 17661 2006-01-18 07:55:11Z desruisseaux $
Author:
Martin Desruisseaux

Method Summary
static com.sun.star.lang.XSingleServiceFactory __getServiceFactory(java.lang.String implementation, com.sun.star.lang.XMultiServiceFactory factories, com.sun.star.registry.XRegistryKey registry)
          Returns a factory for creating the service.
static boolean __writeRegistryServiceInfo(com.sun.star.registry.XRegistryKey registry)
          Writes the service information into the given registry key.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

__getServiceFactory

public static com.sun.star.lang.XSingleServiceFactory __getServiceFactory(java.lang.String implementation,
                                                                          com.sun.star.lang.XMultiServiceFactory factories,
                                                                          com.sun.star.registry.XRegistryKey registry)
Returns a factory for creating the service. This method is called by the ; do not rename!

Parameters:
implementation - The name of the implementation for which a service is desired.
factories - The service manager to be used if needed.
registry - The registry key
Returns:
A factory for creating the component.

__writeRegistryServiceInfo

public static boolean __writeRegistryServiceInfo(com.sun.star.registry.XRegistryKey registry)
Writes the service information into the given registry key. This method is called by the ; do not rename!

Parameters:
registry - The registry key.
Returns:
if the operation succeeded.


Copyright © GeoTools. All Rights Reserved.