public class GuiceClassPathBinder extends Object
Constructor and Description |
---|
GuiceClassPathBinder(String prefix) |
Modifier and Type | Method and Description |
---|---|
void |
bindAllSingletons(String prefix,
com.google.inject.Binder binder)
Binds all
Singleton annotated classes discovered by scanning the class path to all their interfaces. |
public GuiceClassPathBinder(String prefix)
public void bindAllSingletons(String prefix, com.google.inject.Binder binder)
Singleton
annotated classes discovered by scanning the class path to all their interfaces.prefix
- the package prefix of Singleton implementations to considerbinder
- The binder to set up.Copyright © 2019 OpenDaylight. All rights reserved.