public class ClassPathScanner extends Object
| Constructor and Description | 
|---|
| ClassPathScanner(String prefix)Create a class path scanner, scanning packages with the given prefix for @Singleton annotated classes. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | bindAllSingletons(String prefix,
                 BiConsumer<Class,Class> binder,
                 Consumer<Class> singletonConsumer)Binds all  Singletonannotated classes discovered by scanning the class path to all their interfaces. | 
public ClassPathScanner(String prefix)
prefix - The package prefix.public void bindAllSingletons(String prefix, BiConsumer<Class,Class> binder, Consumer<Class> singletonConsumer)
Singleton annotated classes discovered by scanning the class path to all their interfaces.prefix - the package prefix of Singleton implementations to considerbinder - The binder (modeled as a generic consumer)Copyright © 2019 OpenDaylight. All rights reserved.