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 java.lang.String |
HOST_COMPONENT_FLAG
The flag to mark host components from other OSGi services |
Method Summary |
InstanceBuilder |
register(java.lang.Class<?>... mainInterfaces)
Starts the single host component registration by declaring it as implementing one or more interfaces |
HOST_COMPONENT_FLAG
static final java.lang.String HOST_COMPONENT_FLAG
- The flag to mark host components from other OSGi services
- See Also:
- Constant Field Values
register
InstanceBuilder register(java.lang.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 © 2008 Atlassian Pty Ltd. All Rights Reserved.