diff options
author | 2016-04-10 23:45:43 +0200 | |
---|---|---|
committer | 2016-04-12 11:00:37 +0200 | |
commit | ac1fa871f050c36b798047fe7e93718d4681996a (patch) | |
tree | 85a4af6a8303582a4f0cf82ec4f69b38c04d4844 /v3po/impl/src/main/java/org/opendaylight/yang | |
parent | 6dcea1de979536dbe0478e31f17191bcfae92f3c (diff) |
HONEYCOMB-34: Configurable ConfigDataTree dependency
Change-Id: I17a93835541e66835398391e2a127b25767b774a
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 | 14 |
1 files changed, 3 insertions, 11 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 406525c19..0078f16fc 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 @@ -17,8 +17,6 @@ package org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.v3po.impl.rev141210; import io.fd.honeycomb.v3po.impl.V3poProvider; -import io.fd.honeycomb.v3po.translate.read.ReaderRegistry; -import io.fd.honeycomb.v3po.translate.write.WriterRegistry; import java.util.Collection; import org.opendaylight.controller.md.sal.common.api.data.LogicalDatastoreType; import org.opendaylight.controller.md.sal.common.api.data.TransactionCommitFailedException; @@ -30,7 +28,6 @@ import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces. import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.Interface; import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.v3po.rev150105.vpp.BridgeDomains; import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.v3po.rev150105.vpp.bridge.domains.BridgeDomain; -import org.opendaylight.yangtools.binding.data.codec.api.BindingNormalizedNodeSerializer; import org.opendaylight.yangtools.yang.common.QName; import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier; import org.opendaylight.yangtools.yang.data.impl.schema.Builders; @@ -57,17 +54,12 @@ public class V3poModule extends @Override public java.lang.AutoCloseable createInstance() { - final ReaderRegistry readerRegistry = getReaderRegistryDependency(); - final WriterRegistry writerRegistry = getWriterRegistryDependency(); - final Broker domBroker = getDomBrokerDependency(); domBroker.registerProvider(new InitializationProvider()); - final BindingNormalizedNodeSerializer serializer = - getBindingNormalizedNodeSerializerDependency(); - - final V3poProvider provider = - new V3poProvider(domBroker, getVppJapiDependency(), readerRegistry, writerRegistry, serializer); + final V3poProvider provider = new V3poProvider(domBroker, getVppJapiDependency(), getReaderRegistryDependency(), + getWriterRegistryDependency(), getBindingNormalizedNodeSerializerDependency(), + getConfigDataTreeDependency()); getBrokerDependency().registerProvider(provider); return provider; } |