1. Updated pom.xml for renderer and impl to replace mockito-all with mockito-core
[transportpce.git] / renderer / src / main / java / org / opendaylight / transportpce / renderer / RendererProvider.java
1 /*
2  * Copyright © 2016 Orange 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.transportpce.renderer;
9
10 import org.opendaylight.controller.md.sal.binding.api.DataBroker;
11 import org.opendaylight.controller.md.sal.binding.api.MountPointService;
12
13
14 import org.slf4j.Logger;
15 import org.slf4j.LoggerFactory;
16
17 public class RendererProvider {
18
19     private static final Logger LOG = LoggerFactory.getLogger(RendererProvider.class);
20
21     private final DataBroker dataBroker;
22
23     private final MountPointService mountPointService;
24
25     public RendererProvider(final DataBroker dataBroker, final MountPointService mountPointService) {
26         this.dataBroker = dataBroker;
27         this.mountPointService = mountPointService;
28     }
29
30     /**
31      * Method called when the blueprint container is created.
32      */
33     public void init() {
34         LOG.info("RendererProvider Session Initiated");
35     }
36
37     /**
38      * Method called when the blueprint container is destroyed.
39      */
40     public void close() {
41         LOG.info("RendererProvider Closed");
42     }
43 }