Export the ResourceQueryService, needed by the linkprops app
Change-Id: Ie9c85398c344b00397d5c357441d730264db27bb
diff --git a/core/net/src/main/java/org/onosproject/net/resource/impl/ResourceManager.java b/core/net/src/main/java/org/onosproject/net/resource/impl/ResourceManager.java
index 81af96d..1cdab85 100644
--- a/core/net/src/main/java/org/onosproject/net/resource/impl/ResourceManager.java
+++ b/core/net/src/main/java/org/onosproject/net/resource/impl/ResourceManager.java
@@ -27,6 +27,7 @@
import org.onosproject.net.resource.ResourceEvent;
import org.onosproject.net.resource.ResourceId;
import org.onosproject.net.resource.ResourceListener;
+import org.onosproject.net.resource.ResourceQueryService;
import org.onosproject.net.resource.ResourceService;
import org.onosproject.net.resource.ResourceStore;
import org.onosproject.net.resource.ResourceStoreDelegate;
@@ -51,7 +52,13 @@
/**
* An implementation of ResourceService.
*/
-@Component(immediate = true, service = {ResourceService.class, ResourceAdminService.class})
+@Component(immediate = true,
+ service = {
+ ResourceService.class,
+ ResourceAdminService.class,
+ ResourceQueryService.class
+ }
+)
@Beta
public final class ResourceManager extends AbstractListenerManager<ResourceEvent, ResourceListener>
implements ResourceService, ResourceAdminService {