Class BindingDOMDataBrokerAdapter
- java.lang.Object
-
- org.opendaylight.controller.md.sal.binding.impl.AbstractForwardedDataBroker
-
- org.opendaylight.controller.md.sal.binding.impl.BindingDOMDataBrokerAdapter
-
- All Implemented Interfaces:
AutoCloseable,org.opendaylight.controller.md.sal.binding.api.BindingService,org.opendaylight.controller.md.sal.binding.api.DataBroker,org.opendaylight.controller.md.sal.binding.api.DataTreeChangeService,org.opendaylight.controller.md.sal.binding.api.TransactionFactory,org.opendaylight.controller.md.sal.common.api.data.AsyncDataBroker<org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?>,org.opendaylight.yangtools.yang.binding.DataObject>,org.opendaylight.controller.md.sal.common.api.data.AsyncDataTransactionFactory<org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?>,org.opendaylight.yangtools.yang.binding.DataObject>,org.opendaylight.controller.md.sal.common.api.data.TransactionChainFactory<org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?>,org.opendaylight.yangtools.yang.binding.DataObject>,org.opendaylight.controller.sal.binding.api.BindingAwareService,org.opendaylight.yangtools.concepts.Delegator<org.opendaylight.controller.md.sal.dom.api.DOMDataBroker>
@Deprecated(forRemoval=true) public class BindingDOMDataBrokerAdapter extends AbstractForwardedDataBroker implements org.opendaylight.controller.md.sal.binding.api.DataBroker, org.opendaylight.controller.md.sal.binding.api.DataTreeChangeService
Deprecated, for removal: This API element is subject to removal in a future version.The DataBrokerImpl simply defers to the DOMDataBroker for all its operations. All transactions and listener registrations are wrapped by the DataBrokerImpl to allow binding aware components to use the DataBroker transparently.Besides this the DataBrokerImpl and it's collaborators also cache data that is already transformed from the binding independent to binding aware format
-
-
Constructor Summary
Constructors Constructor Description BindingDOMDataBrokerAdapter(org.opendaylight.controller.md.sal.dom.api.DOMDataBroker domDataBroker, BindingToNormalizedNodeCodec codec)Deprecated, for removal: This API element is subject to removal in a future version.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description org.opendaylight.controller.md.sal.binding.api.BindingTransactionChaincreateTransactionChain(org.opendaylight.controller.md.sal.common.api.data.TransactionChainListener listener)Deprecated, for removal: This API element is subject to removal in a future version.org.opendaylight.controller.md.sal.binding.api.ReadOnlyTransactionnewReadOnlyTransaction()Deprecated, for removal: This API element is subject to removal in a future version.org.opendaylight.controller.md.sal.binding.api.ReadWriteTransactionnewReadWriteTransaction()Deprecated, for removal: This API element is subject to removal in a future version.org.opendaylight.controller.md.sal.binding.api.WriteTransactionnewWriteOnlyTransaction()Deprecated, for removal: This API element is subject to removal in a future version.<T extends org.opendaylight.yangtools.yang.binding.DataObject,L extends org.opendaylight.controller.md.sal.binding.api.DataTreeChangeListener<T>>
org.opendaylight.yangtools.concepts.ListenerRegistration<L>registerDataTreeChangeListener(org.opendaylight.controller.md.sal.binding.api.DataTreeIdentifier<T> treeId, L listener)Deprecated, for removal: This API element is subject to removal in a future version.StringtoString()Deprecated, for removal: This API element is subject to removal in a future version.-
Methods inherited from class org.opendaylight.controller.md.sal.binding.impl.AbstractForwardedDataBroker
close, getCodec, getDelegate, toBinding, toBinding, toBindingData
-
-
-
-
Constructor Detail
-
BindingDOMDataBrokerAdapter
public BindingDOMDataBrokerAdapter(org.opendaylight.controller.md.sal.dom.api.DOMDataBroker domDataBroker, BindingToNormalizedNodeCodec codec)Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Detail
-
newReadOnlyTransaction
public org.opendaylight.controller.md.sal.binding.api.ReadOnlyTransaction newReadOnlyTransaction()
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
newReadOnlyTransactionin interfaceorg.opendaylight.controller.md.sal.common.api.data.AsyncDataBroker<org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?>,org.opendaylight.yangtools.yang.binding.DataObject>- Specified by:
newReadOnlyTransactionin interfaceorg.opendaylight.controller.md.sal.common.api.data.AsyncDataTransactionFactory<org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?>,org.opendaylight.yangtools.yang.binding.DataObject>- Specified by:
newReadOnlyTransactionin interfaceorg.opendaylight.controller.md.sal.binding.api.DataBroker- Specified by:
newReadOnlyTransactionin interfaceorg.opendaylight.controller.md.sal.binding.api.TransactionFactory
-
newReadWriteTransaction
public org.opendaylight.controller.md.sal.binding.api.ReadWriteTransaction newReadWriteTransaction()
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
newReadWriteTransactionin interfaceorg.opendaylight.controller.md.sal.common.api.data.AsyncDataBroker<org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?>,org.opendaylight.yangtools.yang.binding.DataObject>- Specified by:
newReadWriteTransactionin interfaceorg.opendaylight.controller.md.sal.common.api.data.AsyncDataTransactionFactory<org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?>,org.opendaylight.yangtools.yang.binding.DataObject>- Specified by:
newReadWriteTransactionin interfaceorg.opendaylight.controller.md.sal.binding.api.DataBroker- Specified by:
newReadWriteTransactionin interfaceorg.opendaylight.controller.md.sal.binding.api.TransactionFactory
-
newWriteOnlyTransaction
public org.opendaylight.controller.md.sal.binding.api.WriteTransaction newWriteOnlyTransaction()
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
newWriteOnlyTransactionin interfaceorg.opendaylight.controller.md.sal.common.api.data.AsyncDataBroker<org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?>,org.opendaylight.yangtools.yang.binding.DataObject>- Specified by:
newWriteOnlyTransactionin interfaceorg.opendaylight.controller.md.sal.common.api.data.AsyncDataTransactionFactory<org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?>,org.opendaylight.yangtools.yang.binding.DataObject>- Specified by:
newWriteOnlyTransactionin interfaceorg.opendaylight.controller.md.sal.binding.api.DataBroker- Specified by:
newWriteOnlyTransactionin interfaceorg.opendaylight.controller.md.sal.binding.api.TransactionFactory
-
createTransactionChain
public org.opendaylight.controller.md.sal.binding.api.BindingTransactionChain createTransactionChain(org.opendaylight.controller.md.sal.common.api.data.TransactionChainListener listener)
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
createTransactionChainin interfaceorg.opendaylight.controller.md.sal.binding.api.DataBroker- Specified by:
createTransactionChainin interfaceorg.opendaylight.controller.md.sal.common.api.data.TransactionChainFactory<org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?>,org.opendaylight.yangtools.yang.binding.DataObject>
-
toString
public String toString()
Deprecated, for removal: This API element is subject to removal in a future version.
-
registerDataTreeChangeListener
public <T extends org.opendaylight.yangtools.yang.binding.DataObject,L extends org.opendaylight.controller.md.sal.binding.api.DataTreeChangeListener<T>> org.opendaylight.yangtools.concepts.ListenerRegistration<L> registerDataTreeChangeListener(org.opendaylight.controller.md.sal.binding.api.DataTreeIdentifier<T> treeId, L listener)Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
registerDataTreeChangeListenerin interfaceorg.opendaylight.controller.md.sal.binding.api.DataTreeChangeService
-
-