restructure and base modules for different features
[vpnservice.git] / nexthopmgr / nexthopmgr-impl / src / main / java / org / opendaylight / vpnservice / nexthopmgr / NexthopmgrProvider.java
1 /*
2  * Copyright (c) 2015 Ericsson India Global Services Pvt Ltd. and others.  All rights reserved.
3  *
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
7  */
8 package org.opendaylight.vpnservice.nexthopmgr;
9
10 import org.opendaylight.controller.md.sal.binding.api.DataBroker;
11 import org.opendaylight.controller.sal.binding.api.BindingAwareBroker.ProviderContext;
12 import org.opendaylight.controller.sal.binding.api.BindingAwareProvider;
13
14 import org.slf4j.Logger;
15 import org.slf4j.LoggerFactory;
16
17 public class NexthopmgrProvider implements BindingAwareProvider, 
18                                                                                                                 AutoCloseable {
19
20     private static final Logger LOG = LoggerFactory.getLogger(NexthopmgrProvider.class);
21   //  private nexthopmgr nhManager;
22
23     @Override
24     public void onSessionInitiated(ProviderContext session) {
25         final  DataBroker dataBroker = session.getSALService(DataBroker.class);
26    //     nhManager = new nexthopManager(dataBroker);
27                 LOG.info("NexthopmgrProvider Session Initiated");
28     }
29
30     @Override
31     public void close() throws Exception {
32                 //nhManager.close();
33                 LOG.info("NexthopmgrProvider Closed");
34     }
35
36 }