1. Added 'renderer' folder to the project
[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 import org.slf4j.Logger;
14 import org.slf4j.LoggerFactory;
15
16 public class RendererProvider {
17
18     private static final Logger LOG = LoggerFactory.getLogger(RendererProvider.class);
19
20     private final DataBroker dataBroker;
21
22     private final MountPointService mountPointService;
23
24     public RendererProvider(final DataBroker dataBroker, final MountPointService mountPointService) {
25         this.dataBroker = dataBroker;
26         this.mountPointService = mountPointService;
27     }
28
29     /**
30      * Method called when the blueprint container is created.
31      */
32     public void init() {
33         LOG.info("RendererProvider Session Initiated");
34     }
35
36     /**
37      * Method called when the blueprint container is destroyed.
38      */
39     public void close() {
40         LOG.info("RendererProvider Closed");
41     }
42 }