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.ServiceComponentRuntimeServiceComponentRuntime.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.ServiceComponentRuntimeServiceComponentRuntime.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.ServiceComponentRuntimeServiceComponentRuntime.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.ServiceComponentRuntimeServiceComponentRuntime.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.ServiceComponentRuntimeServiceComponentRuntime.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.ServiceComponentRuntimeServiceComponentRuntime.disableComponent(org.osgi.service.component.runtime.dto.ComponentDescriptionDTO)public void bundleChanged(org.osgi.framework.BundleEvent event)
bundleChanged in interface org.osgi.framework.BundleListenerpublic void serviceChanged(org.osgi.framework.ServiceEvent event)
serviceChanged in interface org.osgi.framework.ServiceListenerCopyright © 2006–2020 The Apache Software Foundation. All rights reserved.