Interface ComponentRegistrar

All Known Implementing Classes:
DefaultComponentRegistrar

public interface ComponentRegistrar
A registrar for capturing host components and their configuration
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    The flag to mark host components from other OSGi services
  • Method Summary

    Modifier and Type
    Method
    Description
    register(Class<?>... mainInterfaces)
    Starts the single host component registration by declaring it as implementing one or more interfaces
  • Field Details

    • HOST_COMPONENT_FLAG

      static final String HOST_COMPONENT_FLAG
      The flag to mark host components from other OSGi services
      See Also:
  • Method Details

    • register

      InstanceBuilder register(Class<?>... mainInterfaces)
      Starts the single host component registration by declaring it as implementing one or more interfaces
      Parameters:
      mainInterfaces - The list of interfaces this host component implements
      Returns:
      The instance builder that will tie these interfaces with a host component instance