2 * Copyright (c) 2016 Cisco Systems, Inc. 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
9 package org.opendaylight.controller.config.yang.config.neutron_mapper.impl;
11 import org.opendaylight.controller.md.sal.binding.api.DataBroker;
12 import org.opendaylight.groupbasedpolicy.neutron.mapper.NeutronMapper;
13 import org.opendaylight.yang.gen.v1.urn.opendaylight.groupbasedpolicy.base_endpoint.rev160427.BaseEndpointService;
14 import org.opendaylight.yang.gen.v1.urn.opendaylight.groupbasedpolicy.endpoint.rev140421.EndpointService;
16 public class NeutronMapperInstance implements AutoCloseable{
18 private NeutronMapper mapper;
20 public NeutronMapperInstance (DataBroker dataBroker, EndpointService epService,
21 BaseEndpointService baseEndpointService) {
22 mapper = new NeutronMapper(dataBroker, epService, baseEndpointService);
25 public void close() throws Exception {