public class ServiceComponentRuntimeImpl extends Object implements org.osgi.service.component.runtime.ServiceComponentRuntime, org.osgi.framework.ServiceListener, org.osgi.framework.BundleListener
Constructor and Description |
---|
ServiceComponentRuntimeImpl(org.osgi.framework.BundleContext context,
org.apache.felix.scr.impl.ComponentRegistry componentRegistry) |
Modifier and Type | Method and Description |
---|---|
void |
bundleChanged(org.osgi.framework.BundleEvent event) |
org.osgi.util.promise.Promise<Void> |
disableComponent(org.osgi.service.component.runtime.dto.ComponentDescriptionDTO description) |
org.osgi.util.promise.Promise<Void> |
enableComponent(org.osgi.service.component.runtime.dto.ComponentDescriptionDTO description) |
Collection<org.osgi.service.component.runtime.dto.ComponentConfigurationDTO> |
getComponentConfigurationDTOs(org.osgi.service.component.runtime.dto.ComponentDescriptionDTO description) |
org.osgi.service.component.runtime.dto.ComponentDescriptionDTO |
getComponentDescriptionDTO(org.osgi.framework.Bundle bundle,
String name) |
Collection<org.osgi.service.component.runtime.dto.ComponentDescriptionDTO> |
getComponentDescriptionDTOs(org.osgi.framework.Bundle... bundles) |
boolean |
isComponentEnabled(org.osgi.service.component.runtime.dto.ComponentDescriptionDTO description) |
void |
serviceChanged(org.osgi.framework.ServiceEvent event) |
public ServiceComponentRuntimeImpl(org.osgi.framework.BundleContext context, org.apache.felix.scr.impl.ComponentRegistry componentRegistry)
public Collection<org.osgi.service.component.runtime.dto.ComponentDescriptionDTO> getComponentDescriptionDTOs(org.osgi.framework.Bundle... bundles)
getComponentDescriptionDTOs
in interface org.osgi.service.component.runtime.ServiceComponentRuntime
ServiceComponentRuntime.getComponentDescriptionDTOs(org.osgi.framework.Bundle[])
public org.osgi.service.component.runtime.dto.ComponentDescriptionDTO getComponentDescriptionDTO(org.osgi.framework.Bundle bundle, String name)
getComponentDescriptionDTO
in interface org.osgi.service.component.runtime.ServiceComponentRuntime
ServiceComponentRuntime.getComponentDescriptionDTO(org.osgi.framework.Bundle, java.lang.String)
public Collection<org.osgi.service.component.runtime.dto.ComponentConfigurationDTO> getComponentConfigurationDTOs(org.osgi.service.component.runtime.dto.ComponentDescriptionDTO description)
getComponentConfigurationDTOs
in interface org.osgi.service.component.runtime.ServiceComponentRuntime
ServiceComponentRuntime.getComponentConfigurationDTOs(org.osgi.service.component.runtime.dto.ComponentDescriptionDTO)
public boolean isComponentEnabled(org.osgi.service.component.runtime.dto.ComponentDescriptionDTO description)
isComponentEnabled
in interface org.osgi.service.component.runtime.ServiceComponentRuntime
ServiceComponentRuntime.isComponentEnabled(org.osgi.service.component.runtime.dto.ComponentDescriptionDTO)
public org.osgi.util.promise.Promise<Void> enableComponent(org.osgi.service.component.runtime.dto.ComponentDescriptionDTO description)
enableComponent
in interface org.osgi.service.component.runtime.ServiceComponentRuntime
ServiceComponentRuntime.enableComponent(org.osgi.service.component.runtime.dto.ComponentDescriptionDTO)
public org.osgi.util.promise.Promise<Void> disableComponent(org.osgi.service.component.runtime.dto.ComponentDescriptionDTO description)
disableComponent
in interface org.osgi.service.component.runtime.ServiceComponentRuntime
ServiceComponentRuntime.disableComponent(org.osgi.service.component.runtime.dto.ComponentDescriptionDTO)
public void bundleChanged(org.osgi.framework.BundleEvent event)
bundleChanged
in interface org.osgi.framework.BundleListener
public void serviceChanged(org.osgi.framework.ServiceEvent event)
serviceChanged
in interface org.osgi.framework.ServiceListener
Copyright © 2006–2020 The Apache Software Foundation. All rights reserved.