diff options
author | 2016-03-04 12:32:10 +0100 | |
---|---|---|
committer | 2016-03-21 17:39:17 +0100 | |
commit | a010c5c22bdde839c6f30d141b63abf532122603 (patch) | |
tree | ed26e1ad73917ccfd842d5d28a8d929fef4c38ef /v3po/impl/src/main/java/org/opendaylight/yang | |
parent | af2b9832ea22ea7a5e45dc3dd4424c816505ce1e (diff) |
MountPoint for data-tree based DataBroker.
Change-Id: I6a15e79747484790607d82d4024971763b4bae54
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
Diffstat (limited to 'v3po/impl/src/main/java/org/opendaylight/yang')
-rw-r--r-- | v3po/impl/src/main/java/org/opendaylight/yang/gen/v1/urn/opendaylight/params/xml/ns/yang/v3po/impl/rev141210/V3poModule.java | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/v3po/impl/src/main/java/org/opendaylight/yang/gen/v1/urn/opendaylight/params/xml/ns/yang/v3po/impl/rev141210/V3poModule.java b/v3po/impl/src/main/java/org/opendaylight/yang/gen/v1/urn/opendaylight/params/xml/ns/yang/v3po/impl/rev141210/V3poModule.java index f51eb0575..390545563 100644 --- a/v3po/impl/src/main/java/org/opendaylight/yang/gen/v1/urn/opendaylight/params/xml/ns/yang/v3po/impl/rev141210/V3poModule.java +++ b/v3po/impl/src/main/java/org/opendaylight/yang/gen/v1/urn/opendaylight/params/xml/ns/yang/v3po/impl/rev141210/V3poModule.java @@ -31,14 +31,10 @@ import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.v3po.rev import org.opendaylight.yangtools.yang.common.QName; import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier; import org.opendaylight.yangtools.yang.data.impl.schema.Builders; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; public class V3poModule extends org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.v3po.impl.rev141210.AbstractV3poModule { - private static final Logger LOG = LoggerFactory.getLogger(V3poModule.class); - public V3poModule(org.opendaylight.controller.config.api.ModuleIdentifier identifier, org.opendaylight.controller.config.api.DependencyResolver dependencyResolver) { super(identifier, dependencyResolver); @@ -53,14 +49,14 @@ public class V3poModule extends @Override public void customValidation() { - // add custom validation form module attributes here.AbstractModule + // add custom validation form module attributes here } @Override public java.lang.AutoCloseable createInstance() { - getDomBrokerDependency().registerProvider(new InitializationProvider()); - - V3poProvider provider = new V3poProvider(); + final Broker domBroker = getDomBrokerDependency(); + domBroker.registerProvider(new InitializationProvider()); + final V3poProvider provider = new V3poProvider(domBroker); getBrokerDependency().registerProvider(provider); return provider; } @@ -109,4 +105,5 @@ public class V3poModule extends } } + } |