public interface

ComponentRegistrar

com.atlassian.plugin.osgi.hostcomponents.ComponentRegistrar
Known Indirect Subclasses

Class Overview

A registrar for capturing host components and their configuration

Summary

Constants
String HOST_COMPONENT_FLAG The flag to mark host components from other OSGi services
Public Methods
abstract InstanceBuilder register(Class...<?> mainInterfaces)
Starts the single host component registration by declaring it as implementing one or more interfaces

Constants

public static final String HOST_COMPONENT_FLAG

The flag to mark host components from other OSGi services

Constant Value: "plugins-host"

Public Methods

public abstract 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