Merge "BUG 2676 : Use notification-dispatcher for DataChangeListener actors"
[controller.git] / opendaylight / archetypes / opendaylight-startup / src / main / resources / archetype-resources / impl / src / main / java / __packageInPathFormat__ / __classPrefix__Provider.java
1 #set( $symbol_pound = '#' )
2 #set( $symbol_dollar = '$' )
3 #set( $symbol_escape = '\' )
4 /*
5  * ${copyright} and others.  All rights reserved.
6  *
7  * This program and the accompanying materials are made available under the
8  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
9  * and is available at http://www.eclipse.org/legal/epl-v10.html
10  */
11 package ${package};
12
13 import org.opendaylight.controller.sal.binding.api.BindingAwareBroker.ProviderContext;
14 import org.opendaylight.controller.sal.binding.api.BindingAwareProvider;
15 import org.slf4j.Logger;
16 import org.slf4j.LoggerFactory;
17
18 public class ${classPrefix}Provider implements BindingAwareProvider, AutoCloseable {
19
20     private static final Logger LOG = LoggerFactory.getLogger(${classPrefix}Provider.class);
21
22     @Override
23     public void onSessionInitiated(ProviderContext session) {
24         LOG.info("${classPrefix}Provider Session Initiated");
25     }
26
27     @Override
28     public void close() throws Exception {
29         LOG.info("${classPrefix}Provider Closed");
30     }
31
32 }