public class DefaultComponentRegistrar extends Object implements ComponentRegistrar
HOST_COMPONENT_FLAG| Constructor and Description |
|---|
DefaultComponentRegistrar() |
| Modifier and Type | Method and Description |
|---|---|
List<HostComponentRegistration> |
getRegistry() |
InstanceBuilder |
register(Class<?>... mainInterfaces)
Starts the single host component registration by declaring it as implementing one or more interfaces
|
List<org.osgi.framework.ServiceRegistration> |
writeRegistry(org.osgi.framework.BundleContext ctx) |
public InstanceBuilder register(Class<?>... mainInterfaces)
ComponentRegistrarregister in interface ComponentRegistrarmainInterfaces - The list of interfaces this host component implementspublic List<org.osgi.framework.ServiceRegistration> writeRegistry(org.osgi.framework.BundleContext ctx)
public List<HostComponentRegistration> getRegistry()
Copyright © 2019 Atlassian. All rights reserved.