# Class Registration

Object
Registration

public final class Registration extends Object
The registration of all formulas provided in this package.

Since:
  0.8

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static XSingleComponentFactory`
  `__getComponentFactory(String implementation)`
  Returns a factory for creating the service.
  `static boolean`
  `__writeRegistryServiceInfo(XRegistryKey registry)`
  Writes the service information into the given registry key.

  ### Methods inherited from class Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Method Details

  - ### __getComponentFactory

    public static XSingleComponentFactory __getComponentFactory(String implementation)
    Returns a factory for creating the service. This method is called by the `com​.sun​.star​.comp​.loader​.JavaLoader`; do not rename!
    Parameters:
      `implementation` - the name of the implementation for which a service is desired.
    Returns:
      a factory for creating the component.

  - ### __writeRegistryServiceInfo

    public static boolean __writeRegistryServiceInfo(XRegistryKey registry)
    Writes the service information into the given registry key. This method is called by the `com​.sun​.star​.comp​.loader​.JavaLoader`; do not rename!
    Parameters:
      `registry` - the registry key.
    Returns:
      `true` if the operation succeeded.