blob: 45c84af3726089bc6c0c0cee7b9b57266faae693 [file] [log] [blame]
Jordan Halterman980a8c12017-09-22 18:01:19 -07001/*
2 * Copyright 2017-present Open Networking Foundation
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16package org.onosproject.store.cluster.messaging.impl;
17
18import org.apache.felix.scr.annotations.Component;
19import org.apache.felix.scr.annotations.Service;
20import org.onosproject.store.cluster.messaging.UnifiedClusterCommunicationService;
21import org.onosproject.store.cluster.messaging.MessageSubject;
22
23@Component(immediate = true)
24@Service
25public class UnifiedClusterCommunicationManager
26 extends AbstractClusterCommunicationManager
27 implements UnifiedClusterCommunicationService {
28 @Override
29 protected String getType(MessageSubject subject) {
30 return subject.value();
31 }
32}