Changed Methods |
void bindInterceptor(Matcher<Class<?>>, Matcher<Method>, MethodInterceptor[])
|
Documentation changed from old to new. |
Binds method interceptor[s] to methods matched by class and method matchers. |
void convertToTypes(Matcher<TypeLiteral<?>>, TypeConverter)
|
Documentation changed from old to new. |
Binds a type converter. |
void disableCircularProxies()
|
Documentation changed from old to new. |
Prevents Guice from injecting dependencies that form a cycle, unless broken by a Provider. |
PrivateBinder newPrivateBinder()
|
Documentation changed from old to new. |
Creates a new private child environment for bindings and other configuration. |
void requestStaticInjection(Class[] )
|
Documentation changed from old to new. |
Upon successful creation, the Injector will inject static fields and methods in the
given classes. |
void requireAtInjectOnConstructors()
|
Documentation changed from old to new. |
Requires that a {@literal @}Inject annotation exists on a constructor in order for
Guice to consider it an eligible injectable class. |
void requireExactBindingAnnotations()
|
Documentation changed from old to new. |
Requires that Guice finds an exactly matching binding annotation. |
void requireExplicitBindings()
|
Documentation changed from old to new. |
Instructs the Injector that bindings must be listed in a Module in order to be injected. |
Binder skipSources(Class[] )
|
Documentation changed from old to new. |
Returns a binder that skips {@code classesToSkip} when identify the calling code. |
Binder withSource(Object )
|
Documentation changed from old to new. |
Returns a binder that uses {@code source} as the reference location for configuration errors. |
void addError(String, Object[])
|
Documentation changed from old to new. |
Records an error message which will be presented to the user at a later time. |
void addError(Throwable )
|
Documentation changed from old to new. |
Records an exception, the full details of which will be logged, and the message of which will
be presented to the user at a later time. |
void bindListener(Matcher<Binding<?>>, ProvisionListener[])
|
Documentation changed from old to new. |
Registers listeners for provisioned objects. |
Provider<T> getProvider(Key<T> )
|
Documentation changed from old to new. |
Returns the provider used to obtain instances for the given injection key. |
Provider<T> getProvider(Dependency<T> )
|
Documentation changed from old to new. |
Returns the provider used to obtain instances for the given injection key. |
Provider<T> getProvider(Class<T> )
|
Documentation changed from old to new. |
Returns the provider used to obtain instances for the given injection type. |
void requestInjection(TypeLiteral<T>, T)
|
Documentation changed from old to new. |
Upon successful creation, the Injector will inject instance fields and methods of the
given object. |
void requestInjection(Object )
|
Documentation changed from old to new. |
Upon successful creation, the Injector will inject instance fields and methods of the
given object. |