@Beta @NonNullByDefault public interface ActionProviderService extends BindingService
action implementations. Each action is defined in a YANG model,
and implementations can be invoked dynamically at runtime, via ActionService. Implementations registered
with this interface may throw IllegalArgumentExceptions when they encounter inconsistent input data and
IllegalStateException in they are unable to service the request.| Modifier and Type | Method and Description |
|---|---|
default <O extends DataObject,P extends InstanceIdentifier<O>,T extends Action<P,?,?>,S extends T> |
registerImplementation(Class<T> actionInterface,
S implementation) |
default <O extends DataObject,P extends InstanceIdentifier<O>,T extends Action<P,?,?>,S extends T> |
registerImplementation(Class<T> actionInterface,
S implementation,
LogicalDatastoreType datastore) |
<O extends DataObject,P extends InstanceIdentifier<O>,T extends Action<P,?,?>,S extends T> |
registerImplementation(Class<T> actionInterface,
S implementation,
LogicalDatastoreType datastore,
Set<DataTreeIdentifier<O>> validNodes)
Register an implementation of an action, potentially constrained to a set of nodes.
|
<O extends DataObject,P extends InstanceIdentifier<O>,T extends Action<P,?,?>,S extends T> org.opendaylight.yangtools.concepts.ObjectRegistration<S> registerImplementation(Class<T> actionInterface, S implementation, LogicalDatastoreType datastore, Set<DataTreeIdentifier<O>> validNodes)
actionInterface - Generated Action interfaceimplementation - Implementation of actionInterfacedatastore - LogicalDatastoreType on which the implementation operatesvalidNodes - Set of nodes this implementation is constrained to, empty if this implementation can handle
any target node.ObjectRegistrationNullPointerException - if any of the arguments is nullIllegalArgumentException - if any of the validNodes does not match datastoreUnsupportedOperationException - if this service cannot handle requested datastoredefault <O extends DataObject,P extends InstanceIdentifier<O>,T extends Action<P,?,?>,S extends T> org.opendaylight.yangtools.concepts.ObjectRegistration<S> registerImplementation(Class<T> actionInterface, S implementation, LogicalDatastoreType datastore)
default <O extends DataObject,P extends InstanceIdentifier<O>,T extends Action<P,?,?>,S extends T> org.opendaylight.yangtools.concepts.ObjectRegistration<S> registerImplementation(Class<T> actionInterface, S implementation)
Copyright © 2019 OpenDaylight. All rights reserved.