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.impl.services;
10 import javax.ws.rs.core.UriInfo;
11 import org.opendaylight.netconf.sal.restconf.impl.NormalizedNodeContext;
12 import org.opendaylight.netconf.sal.restconf.impl.RestconfDocumentedException;
13 import org.opendaylight.restconf.rest.api.schema.context.SchemaContextHandler;
14 import org.opendaylight.restconf.rest.api.services.RestconfOperationsService;
15 import org.opendaylight.yangtools.yang.model.api.SchemaContext;
18 * Implementation of {@link RestconfOperationsService}
21 public class RestconfOperationsServiceImpl implements RestconfOperationsService {
23 private final SchemaContextHandler schemaContextHandler;
26 * Set {@link SchemaContextHandler} for getting actual {@link SchemaContext}
28 * @param schemaContextHandler
29 * - handling schema context
31 public RestconfOperationsServiceImpl(final SchemaContextHandler schemaContextHandler) {
32 this.schemaContextHandler = schemaContextHandler;
36 public NormalizedNodeContext getOperations(final UriInfo uriInfo) {
37 throw new RestconfDocumentedException("Not yet implemented.", new UnsupportedOperationException());
42 public NormalizedNodeContext getOperations(final String identifier, final UriInfo uriInfo) {
43 throw new RestconfDocumentedException("Not yet implemented.", new UnsupportedOperationException());