1 #set( $symbol_pound = '#' )
2 #set( $symbol_dollar = '$' )
3 #set( $symbol_escape = '\' )
5 * ${copyright} and others. All rights reserved.
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
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;
18 public class ${classPrefix}Provider implements BindingAwareProvider, AutoCloseable {
20 private static final Logger LOG = LoggerFactory.getLogger(${classPrefix}Provider.class);
23 public void onSessionInitiated(ProviderContext session) {
24 LOG.info("${classPrefix}Provider Session Initiated");
28 public void close() throws Exception {
29 LOG.info("${classPrefix}Provider Closed");