2 * Copyright (c) 2014 Cisco Systems, Inc. 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
12 * Generated from: yang module name: toaster-provider-impl yang module local name: toaster-provider-impl
13 * Generated by: org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator
14 * Generated at: Wed Feb 05 11:05:32 CET 2014
16 * Do not modify this file unless it is present under src/main directory
18 package org.opendaylight.controller.config.yang.config.toaster_provider.impl;
20 import org.opendaylight.controller.sal.common.util.NoopAutoCloseable;
21 import org.slf4j.Logger;
22 import org.slf4j.LoggerFactory;
27 public final class ToasterProviderModule extends
28 org.opendaylight.controller.config.yang.config.toaster_provider.impl.AbstractToasterProviderModule {
29 private static final Logger log = LoggerFactory.getLogger(ToasterProviderModule.class);
31 public ToasterProviderModule(final org.opendaylight.controller.config.api.ModuleIdentifier identifier,
32 final org.opendaylight.controller.config.api.DependencyResolver dependencyResolver) {
33 super(identifier, dependencyResolver);
36 public ToasterProviderModule(final org.opendaylight.controller.config.api.ModuleIdentifier identifier,
37 final org.opendaylight.controller.config.api.DependencyResolver dependencyResolver,
38 final ToasterProviderModule oldModule, final java.lang.AutoCloseable oldInstance) {
40 super(identifier, dependencyResolver, oldModule, oldInstance);
44 protected void customValidation() {
45 // No need to validate dependencies, since all dependencies have
46 // mandatory true flag in yang
47 // config-subsystem will perform the validation for dependencies
51 public java.lang.AutoCloseable createInstance() {
52 // The components are created and wired via blueprint and, since this module doesn't advertise any
53 // services, return an empty AutoCloseable. The config module is kept for backwards compatibility.
54 return NoopAutoCloseable.INSTANCE;