import org.opendaylight.controller.md.sal.binding.api.NotificationService;
import org.opendaylight.controller.sal.binding.api.BindingAwareBroker;
import org.opendaylight.controller.sal.binding.api.RpcProviderRegistry;
-import org.opendaylight.yang.gen.v1.http.org.opendaylight.transportpce.stubrenderer.rev170426.StubrendererListener;
-import org.opendaylight.yang.gen.v1.http.org.opendaylight.transportpce.stubrenderer.rev170426.StubrendererService;
+import org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.servicepath.rev170426.TransportpceServicepathListener;
+import org.opendaylight.yang.gen.v1.http.org.transportpce.b.c._interface.servicepath.rev170426.TransportpceServicepathService;
import org.opendaylight.yangtools.concepts.ListenerRegistration;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
* Class to register Stubrenderer Service and Notification.
- * @author Martial Coulibaly ( martial.coulibaly@gfi.com ) on behalf of Orange
+ * @author <a href="mailto:martial.coulibaly@gfi.com">Martial Coulibaly</a> on behalf of Orange
*
*/
public class StubrendererProvider {
private final NotificationPublishService notificationPublishService;
- private BindingAwareBroker.RpcRegistration<StubrendererService> rpcRegistration;
- private ListenerRegistration<StubrendererListener> stubRendererlistenerRegistration;
+ private BindingAwareBroker.RpcRegistration<TransportpceServicepathService> rpcRegistration;
+ private ListenerRegistration<TransportpceServicepathListener> stubRendererlistenerRegistration;
public StubrendererProvider(RpcProviderRegistry rpcProviderRegistry,
- NotificationService notificationService,
- NotificationPublishService notificationPublishService) {
+ NotificationService notificationService,
+ NotificationPublishService notificationPublishService) {
this.rpcRegistry = rpcProviderRegistry;
this.notificationPublishService = notificationPublishService;
}
public void init() {
LOG.info("StubrendererProvider Session Initiated");
final StubrendererImpl consumer = new StubrendererImpl(notificationPublishService);
- rpcRegistration = rpcRegistry.addRpcImplementation(StubrendererService.class, consumer);
+ rpcRegistration = rpcRegistry.addRpcImplementation(TransportpceServicepathService.class, consumer);
}
/**