/* * Copyright (c) 2016 Cisco Systems, Inc. and others. All rights reserved. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 which accompanies this distribution, * and is available at http://www.eclipse.org/legal/epl-v10.html */ package org.opendaylight.restconf.rest.impl.services; import javax.ws.rs.core.UriInfo; import org.opendaylight.netconf.sal.restconf.impl.NormalizedNodeContext; import org.opendaylight.netconf.sal.restconf.impl.RestconfDocumentedException; import org.opendaylight.restconf.rest.api.schema.context.SchemaContextHandler; import org.opendaylight.restconf.rest.api.services.RestconfOperationsService; import org.opendaylight.yangtools.yang.model.api.SchemaContext; /** * Implementation of {@link RestconfOperationsService} * */ public class RestconfOperationsServiceImpl implements RestconfOperationsService { private final SchemaContextHandler schemaContextHandler; /** * Set {@link SchemaContextHandler} for getting actual {@link SchemaContext} * * @param schemaContextHandler * - handling schema context */ public RestconfOperationsServiceImpl(final SchemaContextHandler schemaContextHandler) { this.schemaContextHandler = schemaContextHandler; } @Override public NormalizedNodeContext getOperations(final UriInfo uriInfo) { throw new RestconfDocumentedException("Not yet implemented.", new UnsupportedOperationException()); } @Override public NormalizedNodeContext getOperations(final String identifier, final UriInfo uriInfo) { throw new RestconfDocumentedException("Not yet implemented.", new UnsupportedOperationException()); } }