Package | Description |
---|---|
org.apache.felix.scr.impl | |
org.apache.felix.scr.impl.manager | |
org.apache.felix.scr.impl.metadata |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<ComponentHolder<?>> |
ComponentRegistry.getComponentHoldersByPid(TargetedPID targetedPid)
Returns the set of ComponentHolder instances whose configuration pids are matching
the given pid.
|
Modifier and Type | Field and Description |
---|---|
protected TargetedPID |
ComponentFactoryImpl.m_targetedPID |
private TargetedPID[] |
ConfigurableComponentHolder.m_targetedPids
the targeted pids corresponding to the pids specified in the config metadata, except possibly for the single
factory pid
|
Modifier and Type | Field and Description |
---|---|
private java.util.Map<java.lang.String,TargetedPID> |
ConfigurableComponentHolder.m_factoryTargetedPids
Each factory config may be from a different TargetedPID (sharing the same base service pid, but with different level of detail)
|
Modifier and Type | Method and Description |
---|---|
TargetedPID |
ComponentFactoryImpl.getConfigurationTargetedPID(TargetedPID pid,
TargetedPID factoryPid) |
TargetedPID |
ComponentHolder.getConfigurationTargetedPID(TargetedPID pid,
TargetedPID factoryPid)
Returns the targeted PID used to configure this component
|
TargetedPID |
ConfigurableComponentHolder.getConfigurationTargetedPID(TargetedPID pid,
TargetedPID factoryPid) |
Modifier and Type | Method and Description |
---|---|
private void |
ConfigurableComponentHolder.checkFactoryPidIndex(TargetedPID factoryPid) |
void |
ComponentHolder.configurationDeleted(TargetedPID pid,
TargetedPID factoryPid)
The configuration with the given PID has been deleted from the
Configuration Admin service.
|
void |
ConfigurableComponentHolder.configurationDeleted(TargetedPID pid,
TargetedPID factoryPid)
The configuration with the given
pid
(service.pid of the configuration object) is deleted. |
boolean |
ComponentHolder.configurationUpdated(TargetedPID targetedPid,
TargetedPID factoryTargetedPid,
java.util.Dictionary<java.lang.String,java.lang.Object> props,
long changeCount)
Configure a component with configuration from the given PID.
|
boolean |
ConfigurableComponentHolder.configurationUpdated(TargetedPID pid,
TargetedPID factoryPid,
java.util.Dictionary<java.lang.String,java.lang.Object> props,
long changeCount)
Configures a component with the given configuration.
|
protected abstract java.util.Collection<ComponentHolder<?>> |
RegionConfigurationSupport.getComponentHolders(TargetedPID pid) |
private RegionConfigurationSupport.ConfigurationInfo |
RegionConfigurationSupport.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.
|
TargetedPID |
ComponentFactoryImpl.getConfigurationTargetedPID(TargetedPID pid,
TargetedPID factoryPid) |
TargetedPID |
ComponentHolder.getConfigurationTargetedPID(TargetedPID pid,
TargetedPID factoryPid)
Returns the targeted PID used to configure this component
|
TargetedPID |
ConfigurableComponentHolder.getConfigurationTargetedPID(TargetedPID pid,
TargetedPID factoryPid) |
private int |
ConfigurableComponentHolder.getSingletonPidIndex(TargetedPID pid) |
void |
ComponentFactoryImpl.reconfigure(java.util.Map<java.lang.String,java.lang.Object> configuration,
boolean configurationDeleted,
TargetedPID factoryPid) |
void |
SingleComponentManager.reconfigure(java.util.Map<java.lang.String,java.lang.Object> configuration,
boolean configurationDeleted,
TargetedPID factoryPid)
Called by the Configuration Admin Service to update the component with
Configuration properties.
|
abstract void |
AbstractComponentManager.reconfigure(java.util.Map<java.lang.String,java.lang.Object> configuration,
boolean configurationDeleted,
TargetedPID factoryPid) |
Modifier and Type | Method and Description |
---|---|
boolean |
TargetedPID.bindsStronger(TargetedPID other)
|
int |
ComponentMetadata.getPidIndex(TargetedPID pid) |