changes to IdManagerImplModule
[vpnservice.git] / idmanager / idmanager-impl / src / main / java / org / opendaylight / yang / gen / v1 / urn / opendaylight / params / xml / ns / yang / idmanager / impl / rev150325 / IdmanagerImplModule.java
index 3b4cf9f8c9284516c82d6387b929b865c8e95c9c..ba9314d15bebe7c7976099006babe3caaf668890 100644 (file)
@@ -1,4 +1,15 @@
+/*
+ * Copyright (c) 2015 Ericsson India Global Services Pvt Ltd. and others.  All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ */
+
 package org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.idmanager.impl.rev150325;
+
+import org.opendaylight.idmanager.IdManagerServiceProvider;
+
 public class IdmanagerImplModule extends org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.idmanager.impl.rev150325.AbstractIdmanagerImplModule {
     public IdmanagerImplModule(org.opendaylight.controller.config.api.ModuleIdentifier identifier, org.opendaylight.controller.config.api.DependencyResolver dependencyResolver) {
         super(identifier, dependencyResolver);
@@ -15,8 +26,9 @@ public class IdmanagerImplModule extends org.opendaylight.yang.gen.v1.urn.openda
 
     @Override
     public java.lang.AutoCloseable createInstance() {
-        // TODO:implement
-        throw new java.lang.UnsupportedOperationException();
+          IdManagerServiceProvider provider = new IdManagerServiceProvider();
+          getBrokerDependency().registerProvider(provider);
+          return provider;
     }
 
 }