Bug 5527 - Re-implement ControllerContext.toInstanceIdentifier() method
[netconf.git] / restconf / sal-rest-connector / src / main / java / org / opendaylight / restconf / rest / RestconfApplicationService.java
index 8c15bec7f8fb7826a383b9fbd33ecaf9f7a8e818..497f6a55b117e927c266068b0ef9ab16596c0ba7 100644 (file)
@@ -7,7 +7,9 @@
  */
 package org.opendaylight.restconf.rest;
 
+import org.opendaylight.controller.md.sal.dom.api.DOMMountPointService;
 import org.opendaylight.restconf.rest.api.schema.context.SchemaContextHandler;
+import org.opendaylight.restconf.rest.handlers.api.DOMMountPointServiceHandler;
 import org.opendaylight.yangtools.yang.model.api.SchemaContextListener;
 import org.osgi.framework.BundleContext;
 
@@ -25,4 +27,12 @@ public interface RestconfApplicationService {
      * @return {@link SchemaContextHandler}
      */
     SchemaContextHandler getSchemaContextHandler();
+
+    /**
+     * Get {@link DOMMountPointServiceHandler} via service. Actually use by
+     * {@link RestConnectorProvider} to set {@link DOMMountPointService}.
+     *
+     * @return {@link DOMMountPointServiceHandler}
+     */
+    DOMMountPointServiceHandler getDOMMountPointServiceHandler();
 }