}
if ((wireMap != null) && wireMap.containsKey(revision))
{
List<ResolverWire> dynamicWires = wireMap.remove(revision);
ResolverWire dynamicWire = dynamicWires.get(0);
// Mark all revisions as resolved.
markResolvedRevisions(wireMap);
// Dynamically add new wire to importing revision.
if (dynamicWire != null)
{
BundleWire bw = new BundleWireImpl(
dynamicWire.getRequirer(),
dynamicWire.getRequirement(),
dynamicWire.getProvider(),
dynamicWire.getCapability());
m_felix.getDependencies().addDependent(bw);
((BundleWiringImpl) revision.getWiring()).addDynamicWire(bw);