2 * Copyright (c) 2015 Ericsson India Global Services Pvt Ltd. and others. All rights reserved.
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
8 package org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.alivenessmonitor.impl.rev150706;
10 import org.opendaylight.vpnservice.alivenessmonitor.internal.AlivenessMonitorProvider;
12 public class AlivenessMonitorModule extends org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.alivenessmonitor.impl.rev150706.AbstractAlivenessMonitorModule {
13 public AlivenessMonitorModule(org.opendaylight.controller.config.api.ModuleIdentifier identifier, org.opendaylight.controller.config.api.DependencyResolver dependencyResolver) {
14 super(identifier, dependencyResolver);
17 public AlivenessMonitorModule(org.opendaylight.controller.config.api.ModuleIdentifier identifier, org.opendaylight.controller.config.api.DependencyResolver dependencyResolver, org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.alivenessmonitor.impl.rev150706.AlivenessMonitorModule oldModule, java.lang.AutoCloseable oldInstance) {
18 super(identifier, dependencyResolver, oldModule, oldInstance);
22 public void customValidation() {
23 // add custom validation form module attributes here.
27 public java.lang.AutoCloseable createInstance() {
28 AlivenessMonitorProvider provider = new AlivenessMonitorProvider(getRpcRegistryDependency());
29 provider.setNotificationPublishService(getNotificationPublishServiceDependency());
30 provider.setNotificationService(getNotificationServiceDependency());
31 getBrokerDependency().registerProvider(provider);