Uses of Interface
org.apache.felix.scr.impl.manager.ComponentHolder
-
Packages that use ComponentHolder Package Description org.apache.felix.scr.impl org.apache.felix.scr.impl.manager org.apache.felix.scr.impl.runtime -
-
Uses of ComponentHolder in org.apache.felix.scr.impl
Classes in org.apache.felix.scr.impl that implement ComponentHolder Modifier and Type Class Description (package private) static classComponentRegistry.DefaultConfigurableComponentHolder<S>Fields in org.apache.felix.scr.impl with type parameters of type ComponentHolder Modifier and Type Field Description private java.util.Map<ComponentRegistryKey,ComponentHolder<?>>ComponentRegistry. m_componentHoldersByNameThe map of known components indexed by component name.private java.util.Map<java.lang.String,java.util.Set<ComponentHolder<?>>>ComponentRegistry. m_componentHoldersByPidThe map of known components indexed by component configuration pid.private java.util.List<ComponentHolder<?>>BundleComponentActivator. m_holdersMethods in org.apache.felix.scr.impl that return ComponentHolder Modifier and Type Method Description <S> ComponentHolder<S>ComponentRegistry. createComponentHolder(ComponentActivator activator, ComponentMetadata metadata, ComponentLogger logger)Factory method to issueComponentHolderinstances to manage components described by the given componentmetadata.ComponentHolder<?>ComponentRegistry. getComponentHolder(org.osgi.framework.Bundle bundle, java.lang.String name)Returns the component registered under the given name ornullif no component is registered yet.Methods in org.apache.felix.scr.impl that return types with arguments of type ComponentHolder Modifier and Type Method Description java.util.List<ComponentHolder<?>>ComponentRegistry. getComponentHolders()Returns an array of all values currently stored in the component holders map.java.util.List<ComponentHolder<?>>ComponentRegistry. getComponentHolders(org.osgi.framework.Bundle... bundles)java.util.Collection<ComponentHolder<?>>ComponentRegistry. getComponentHoldersByPid(TargetedPID targetedPid)Returns the set of ComponentHolder instances whose configuration pids are matching the given pid.private java.util.List<ComponentHolder<?>>BundleComponentActivator. getSelectedComponents(java.lang.String name)Returns an array ofComponentHolderinstances which match thename.Methods in org.apache.felix.scr.impl with parameters of type ComponentHolder Modifier and Type Method Description (package private) voidComponentRegistry. registerComponentHolder(ComponentRegistryKey key, ComponentHolder<?> componentHolder)Registers the given component under the given name. -
Uses of ComponentHolder in org.apache.felix.scr.impl.manager
Classes in org.apache.felix.scr.impl.manager that implement ComponentHolder Modifier and Type Class Description classConfigurableComponentHolder<S>TheConfigurableComponentHolderclass is aComponentHolderfor automatically configured components instances that may or may not be configured through Config Admin.Methods in org.apache.felix.scr.impl.manager that return types with arguments of type ComponentHolder Modifier and Type Method Description protected abstract java.util.Collection<ComponentHolder<?>>RegionConfigurationSupport. getComponentHolders(TargetedPID pid)Methods in org.apache.felix.scr.impl.manager with parameters of type ComponentHolder Modifier and Type Method Description booleanRegionConfigurationSupport. configureComponentHolder(ComponentHolder<?> holder)The return value is only relevant for the call fromRegionConfigurationSupport.configurationEvent(ConfigurationEvent)in the case of a deleted configuration which is not a factory configuration!private RegionConfigurationSupport.ConfigurationInfoRegionConfigurationSupport. getConfigurationInfo(TargetedPID pid, TargetedPID targetedPid, ComponentHolder<?> componentHolder, org.osgi.framework.BundleContext bundleContext)This gets config admin, gets the requested configuration, extracts the info we need from it, and ungets config admin. -
Uses of ComponentHolder in org.apache.felix.scr.impl.runtime
Methods in org.apache.felix.scr.impl.runtime that return ComponentHolder Modifier and Type Method Description private ComponentHolder<?>ServiceComponentRuntimeImpl. getHolderFromDescription(org.osgi.service.component.runtime.dto.ComponentDescriptionDTO description)Return the component holderMethods in org.apache.felix.scr.impl.runtime with parameters of type ComponentHolder Modifier and Type Method Description private org.osgi.service.component.runtime.dto.ComponentDescriptionDTOServiceComponentRuntimeImpl. holderToDescription(ComponentHolder<?> holder)
-