Merge "Fix typo in match types yang model"
[controller.git] / opendaylight / md-sal / sal-binding-it / src / test / java / org / opendaylight / controller / test / sal / binding / it / AbstractTestProvider.java
1 /*
2  * Copyright (c) 2014 Cisco Systems, Inc. and others.  All rights reserved.
3  *
4  * This program and the accompanying materials are made available under the
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6  * and is available at http://www.eclipse.org/legal/epl-v10.html
7  */
8 package org.opendaylight.controller.test.sal.binding.it;
9
10 import java.util.Collection;
11 import java.util.Collections;
12
13 import org.opendaylight.controller.sal.binding.api.BindingAwareBroker.ConsumerContext;
14 import org.opendaylight.controller.sal.binding.api.BindingAwareProvider;
15 import org.opendaylight.yangtools.yang.binding.RpcService;
16
17 public abstract class AbstractTestProvider implements BindingAwareProvider {
18
19     @Override
20     public Collection<? extends RpcService> getImplementations() {
21         return Collections.emptySet();
22     }
23
24     @Override
25     public Collection<? extends ProviderFunctionality> getFunctionality() {
26         return Collections.emptySet();
27     }
28
29     @Override
30     public void onSessionInitialized(ConsumerContext session) {
31         // Noop
32
33     }
34
35 }