| java.lang.Object com.google.inject.BinderImpl
BinderImpl | class BinderImpl implements Binder(Code) | | Builds a dependency injection
Injector . Binds
Key s to
implementations.
author: crazybob@google.com (Bob Lee) |
Inner Class :interface CreationListener | |
Inner Class :class StaticInjection | |
Constructor Summary | |
public | BinderImpl(Stage stage) Constructs a new builder.
Parameters: stage - we're running in. | public | BinderImpl() Constructs a new builder for a development environment (see
Stage.DEVELOPMENT ). |
creationListeners | final List<CreationListener> creationListeners(Code) | | |
instanceInjectors | final List<CreationListener> instanceInjectors(Code) | | |
staticInjections | final List<StaticInjection> staticInjections(Code) | | |
BinderImpl | public BinderImpl(Stage stage)(Code) | | Constructs a new builder.
Parameters: stage - we're running in. If the stage is Stage.PRODUCTION,we will eagerly load singletons. |
BinderImpl | public BinderImpl()(Code) | | Constructs a new builder for a development environment (see
Stage.DEVELOPMENT ).
|
add | void add(Message errorMessage)(Code) | | Adds an error message to be reported at creation time.
|
bindInterceptor | public void bindInterceptor(Matcher<? super Class<?>> classMatcher, Matcher<? super Method> methodMatcher, MethodInterceptor... interceptors)(Code) | | |
requestStaticInjection | public void requestStaticInjection(Class>... types)(Code) | | |
|
|