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.restconf.rest.api.schema.context.SchemaContextHandler;
11 import org.opendaylight.yangtools.yang.model.api.SchemaContextListener;
12 import org.osgi.framework.BundleContext;
15 * Interface for register RestconfApplication service via {@link BundleContext}.
18 public interface RestconfApplicationService {
21 * Get {@link SchemaContextHandler} via service. Actually use by
22 * {@link RestConnectorProvider} to register {@link SchemaContextListener}
23 * of {@link SchemaContextHandler}.
25 * @return {@link SchemaContextHandler}
27 SchemaContextHandler getSchemaContextHandler();