dana-i2cat/mqnaas — pull request #20 by isartcanyameres (2014-05-29 14:40:22+00:00)
Title: Feature/binding management with resource tree

Refactor BindingManagement to:
* Use a tree of ResourceNode(s) and CapabilityNode(s) to hold bountTo and providedBy relationships between IResource(s) and CapabilityInstance(s)
* Move OSGi related functionality out of BindingManagement. OSGi related stuff is now in Activator.

Implement removal flow: resourceRemoved, removeResource, unbind and unresolve methods. Only creational flow was implemented after this patch.

Use non ambiguous IServiceProvider.getService interface, now using method signature, see 9661970 and 3375d18
Fix classloader issue in CapabilityInstance, see 6466f02

Adds testing.