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.services.impl;
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.handlers.DOMMountPointServiceHandler;
14 import org.opendaylight.restconf.handlers.SchemaContextHandler;
15 import org.opendaylight.restconf.rest.services.api.RestconfOperationsService;
16 import org.opendaylight.yangtools.yang.model.api.SchemaContext;
19 * Implementation of {@link RestconfOperationsService}
22 public class RestconfOperationsServiceImpl implements RestconfOperationsService {
24 private final SchemaContextHandler schemaContextHandler;
25 private final DOMMountPointServiceHandler domMountPointServiceHandler;
28 * Set {@link SchemaContextHandler} for getting actual {@link SchemaContext}
30 * @param schemaContextHandler
31 * - handling schema context
32 * @param domMountPointServiceHandler
33 * - handling dom mount point service
35 public RestconfOperationsServiceImpl(final SchemaContextHandler schemaContextHandler,
36 final DOMMountPointServiceHandler domMountPointServiceHandler) {
37 this.schemaContextHandler = schemaContextHandler;
38 this.domMountPointServiceHandler = domMountPointServiceHandler;
42 public NormalizedNodeContext getOperations(final UriInfo uriInfo) {
43 throw new RestconfDocumentedException("Not yet implemented.", new UnsupportedOperationException());
48 public NormalizedNodeContext getOperations(final String identifier, final UriInfo uriInfo) {
49 throw new RestconfDocumentedException("Not yet implemented.", new UnsupportedOperationException());