protected class SpecHelper.DynamicBuilder extends Object
Modifier | Constructor and Description |
---|---|
protected |
DynamicBuilder() |
Modifier and Type | Method and Description |
---|---|
SpecHelper.DynamicBuilder |
bind(Class interfaceClass) |
com.google.inject.Injector |
create() |
SpecHelper.DynamicBuilder |
to(Class implementationClass)
This method is optional.
|
public SpecHelper.DynamicBuilder bind(Class interfaceClass)
interfaceClass
- class of an interface for Guice injectorpublic SpecHelper.DynamicBuilder to(Class implementationClass)
bind(Class)
method will be used as implementation as well.implementationClass
- implementation of an interface for Guice injectorpublic com.google.inject.Injector create()
Copyright © 2020 JavaLite. All rights reserved.