blob: 21e99d379c973626dce7c6375065218cbc8e64b1 [file] [log] [blame]
Thomas Vachuskae7ea6882016-07-22 10:22:46 -07001/*
Brian O'Connora09fe5b2017-08-03 21:12:30 -07002 * Copyright 2016-present Open Networking Foundation
Thomas Vachuskae7ea6882016-07-22 10:22:46 -07003 *
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 */
16
17package org.onosproject.net.driver;
18
19/**
20 * Entity capable of resolving a class using its name.
21 */
22public interface BehaviourClassResolver {
23
24 /**
25 * Returns the class corresponding to the specified class name.
26 * @param className class className
Ray Milkeybb23e0b2016-08-02 17:00:21 -070027 * @return class for the resolver
Thomas Vachuskae7ea6882016-07-22 10:22:46 -070028 */
29 Class<? extends Behaviour> getBehaviourClass(String className);
30
31}