Package org.apache.felix.cm.impl.helper
Class ConfigurationMap<T>
java.lang.Object
org.apache.felix.cm.impl.helper.ConfigurationMap<T>
- Direct Known Subclasses:
ManagedServiceFactoryConfigurationMap
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturnstrueif this map is foreseen to take a configuration with the given service PID.createMap(int size) protected Tget(TargetedPID key) protected StringgetKeyPid(TargetedPID targetedPid) protected voidput(TargetedPID key, T value) protected abstract voidrecord(TargetedPID configPid, TargetedPID factoryPid, long revision) protected abstract booleanremoveConfiguration(TargetedPID configPid, TargetedPID factoryPid) voidsetConfiguredPids(String[] configuredPids) protected abstract booleanshallTake(TargetedPID configPid, TargetedPID factoryPid, long revision)
-
Constructor Details
-
ConfigurationMap
-
-
Method Details
-
createMap
-
shallTake
-
record
-
removeConfiguration
-
get
-
put
-
getKeyPid
-
accepts
Returnstrueif this map is foreseen to take a configuration with the given service PID.- Parameters:
servicePid- The service PID of the configuration which is the part of the targeted PID without the bundle's symbolic name, version, and location; i.e.TargetedPID.getServicePid()- Returns:
trueif this map is configured to take configurations for the service PID.
-
setConfiguredPids
-