com.atlassian.plugin.osgi.hostcomponents
Interface ComponentRegistrar

All Known Implementing Classes:
DefaultComponentRegistrar

public interface ComponentRegistrar

A registrar for capturing host components and their configuration


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

Field Detail

HOST_COMPONENT_FLAG

static final String HOST_COMPONENT_FLAG
The flag to mark host components from other OSGi services

See Also:
Constant Field Values
Method Detail

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


Copyright © 2012 Atlassian. All Rights Reserved.