4 * Generated from: yang module name: opendaylight-sal-dom-broker-impl yang module local name: schema-service-singleton
5 * Generated by: org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator
6 * Generated at: Wed Nov 20 17:01:31 CET 2013
8 * Do not modify this file unless it is present under src/main directory
10 package org.opendaylight.controller.config.yang.md.sal.dom.impl;
12 import org.opendaylight.controller.sal.dom.broker.SchemaServiceImpl;
13 import org.opendaylight.yangtools.yang.parser.impl.YangParserImpl;
14 import org.osgi.framework.BundleContext;
19 public final class SchemaServiceImplSingletonModule extends org.opendaylight.controller.config.yang.md.sal.dom.impl.AbstractSchemaServiceImplSingletonModule
22 BundleContext bundleContext;
24 public SchemaServiceImplSingletonModule(org.opendaylight.controller.config.api.ModuleIdentifier identifier, org.opendaylight.controller.config.api.DependencyResolver dependencyResolver) {
25 super(identifier, dependencyResolver);
28 public SchemaServiceImplSingletonModule(org.opendaylight.controller.config.api.ModuleIdentifier identifier, org.opendaylight.controller.config.api.DependencyResolver dependencyResolver, SchemaServiceImplSingletonModule oldModule, java.lang.AutoCloseable oldInstance) {
29 super(identifier, dependencyResolver, oldModule, oldInstance);
33 public boolean canReuseInstance(AbstractSchemaServiceImplSingletonModule oldModule) {
37 public BundleContext getBundleContext() {
41 public void setBundleContext(BundleContext bundleContext) {
42 this.bundleContext = bundleContext;
46 public void validate(){
51 public java.lang.AutoCloseable createInstance() {
52 SchemaServiceImpl newInstance = new SchemaServiceImpl();
53 newInstance.setContext(getBundleContext());
54 newInstance.setParser(new YangParserImpl());