A bunch of miscellaneous services to get Distributed Data Store ready for deployment
[controller.git] / opendaylight / md-sal / sal-distributed-datastore / src / main / java / org / opendaylight / controller / config / yang / config / distributed_datastore_provider / DistributedOperationalDataStoreProviderModule.java
1 package org.opendaylight.controller.config.yang.config.distributed_datastore_provider;
2
3 import org.opendaylight.controller.cluster.datastore.DistributedDataStoreFactory;
4
5 public class DistributedOperationalDataStoreProviderModule extends
6     org.opendaylight.controller.config.yang.config.distributed_datastore_provider.AbstractDistributedOperationalDataStoreProviderModule {
7     public DistributedOperationalDataStoreProviderModule(
8         org.opendaylight.controller.config.api.ModuleIdentifier identifier,
9         org.opendaylight.controller.config.api.DependencyResolver dependencyResolver) {
10         super(identifier, dependencyResolver);
11     }
12
13     public DistributedOperationalDataStoreProviderModule(
14         org.opendaylight.controller.config.api.ModuleIdentifier identifier,
15         org.opendaylight.controller.config.api.DependencyResolver dependencyResolver,
16         org.opendaylight.controller.config.yang.config.distributed_datastore_provider.DistributedOperationalDataStoreProviderModule oldModule,
17         java.lang.AutoCloseable oldInstance) {
18         super(identifier, dependencyResolver, oldModule, oldInstance);
19     }
20
21     @Override
22     public void customValidation() {
23         // add custom validation form module attributes here.
24     }
25
26     @Override
27     public java.lang.AutoCloseable createInstance() {
28         return DistributedDataStoreFactory
29             .createInstance("operational", getSchemaServiceDependency());
30     }
31
32 }

©2013 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a registered trademark of The OpenDaylight Project, Inc.
Linux Foundation and OpenDaylight are registered trademarks of the Linux Foundation.
Linux is a registered trademark of Linus Torvalds.