dana-i2cat/opennaas — pull request #145 by isartcanyameres (2012-05-08 18:16:40+00:00)
Title: Feature/queue capability refactor

Refactor of QueueManager to export correct interface.

QueueManager bundle has not yet been moved to core, and action names for queue are still in core.resources.queue.QueueConstants. I don't want to move actions from core to current bundle, if we plan (in middle-term) to move the queue itself to core.

This patch allows capabilities willing to use the queue to retrieve queue capability from the resource (e.g: using resource.getCapabilityByInterface()), instead of retrieving it as an OSGi service. However, this patch does not change the way capabilities retrieve the queue, and maintains publishing it as a service.