2 * Copyright (c) 2016 Cisco Systems, Inc. and others. All rights reserved.
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
8 package org.opendaylight.restconf.rest;
10 import org.opendaylight.controller.md.sal.dom.api.DOMMountPointService;
11 import org.opendaylight.restconf.rest.api.schema.context.SchemaContextHandler;
12 import org.opendaylight.restconf.rest.handlers.api.DOMMountPointServiceHandler;
13 import org.opendaylight.yangtools.yang.model.api.SchemaContextListener;
14 import org.osgi.framework.BundleContext;
17 * Interface for register RestconfApplication service via {@link BundleContext}.
20 public interface RestconfApplicationService {
23 * Get {@link SchemaContextHandler} via service. Actually use by
24 * {@link RestConnectorProvider} to register {@link SchemaContextListener}
25 * of {@link SchemaContextHandler}.
27 * @return {@link SchemaContextHandler}
29 SchemaContextHandler getSchemaContextHandler();
32 * Get {@link DOMMountPointServiceHandler} via service. Actually use by
33 * {@link RestConnectorProvider} to set {@link DOMMountPointService}.
35 * @return {@link DOMMountPointServiceHandler}
37 DOMMountPointServiceHandler getDOMMountPointServiceHandler();