@Beta public class BindingDOMOperationProviderServiceAdapter extends Object implements RpcActionProviderService
Modifier and Type | Class and Description |
---|---|
static class |
BindingDOMOperationProviderServiceAdapter.AbstractImplAdapter<D> |
Constructor and Description |
---|
BindingDOMOperationProviderServiceAdapter(DOMRpcProviderService domRpcRegistry,
DOMActionProviderService domActionRegistry,
BindingToNormalizedNodeCodec codec) |
Modifier and Type | Method and Description |
---|---|
<S extends Action<? extends TreeNode,?,?,?>,T extends S,P extends TreeNode> |
registerActionImplementation(Class<S> type,
T implementation,
LogicalDatastoreType datastore,
Set<DataTreeIdentifier<P>> validNodes)
Returns class representing registration of Action/ListAction.
|
<S extends Rpc<?,?>,T extends S> |
registerRpcImplementation(Class<S> type,
T implementation)
Returns class representing registration of global RPC.
|
<S extends Rpc<?,?>,T extends S> |
registerRpcImplementation(Class<S> type,
T implementation,
Set<InstanceIdentifier<?>> paths)
Returns class representing registration of global RPC for supported paths.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
registerActionImplementation, registerActionImplementation
public BindingDOMOperationProviderServiceAdapter(DOMRpcProviderService domRpcRegistry, DOMActionProviderService domActionRegistry, BindingToNormalizedNodeCodec codec)
public <S extends Rpc<?,?>,T extends S> org.opendaylight.yangtools.concepts.ObjectRegistration<T> registerRpcImplementation(Class<S> type, T implementation)
RpcActionProviderService
registerRpcImplementation
in interface RpcActionProviderService
S
- service class typeT
- service implementation typetype
- RPC binding generated interfaceimplementation
- RPC binding implementationpublic <S extends Rpc<?,?>,T extends S> org.opendaylight.yangtools.concepts.ObjectRegistration<T> registerRpcImplementation(Class<S> type, T implementation, Set<InstanceIdentifier<?>> paths)
RpcActionProviderService
registerRpcImplementation
in interface RpcActionProviderService
S
- service class typeT
- service implementation typetype
- RPC binding generated interfaceimplementation
- RPC binding implementationpaths
- set of supported pathspublic <S extends Action<? extends TreeNode,?,?,?>,T extends S,P extends TreeNode> org.opendaylight.yangtools.concepts.ObjectRegistration<T> registerActionImplementation(Class<S> type, T implementation, LogicalDatastoreType datastore, Set<DataTreeIdentifier<P>> validNodes)
RpcActionProviderService
registerActionImplementation
in interface RpcActionProviderService
S
- service class typeT
- service implementation typeP
- parent typetype
- Action/ListAction binding generated interfaceimplementation
- Action/ListAction binding implementationdatastore
- LogicalDatastoreType
on which the implementation operatesvalidNodes
- Set of nodes this implementation is constrained to, empty if this implementation can handle
any target node.Copyright © 2019 OpenDaylight. All rights reserved.