Package | Description |
---|---|
com.google.inject |
Google Guice (pronounced "juice") is an ultra-lightweight dependency
injection framework.
|
com.google.inject.assistedinject |
Extension for combining factory interfaces with injection; this extension requires
guice-assistedinject.jar . |
com.google.inject.internal |
Guice (sounds like like "juice")
|
com.google.inject.multibindings |
Extension for binding multiple instances in a collection; this extension requires
guice-multibindings.jar . |
com.google.inject.spi |
Guice service provider interface
|
Modifier and Type | Method and Description |
---|---|
ConfigurationException |
ConfigurationException.withPartialValue(java.lang.Object partialValue)
Returns a copy of this configuration exception with the specified partial value.
|
Modifier and Type | Method and Description |
---|---|
private static ConfigurationException |
FactoryProvider.newConfigurationException(java.lang.String format,
java.lang.Object... args)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
private boolean |
FactoryProvider2.isTypeNotSpecified(TypeLiteral<?> typeLiteral,
ConfigurationException ce)
Returns true if the ConfigurationException is due to an error of TypeLiteral not being fully
specified.
|
Modifier and Type | Method and Description |
---|---|
private void |
BindingBuilder.copyErrorsToBinder(ConfigurationException e) |
Modifier and Type | Method and Description |
---|---|
private static <T> ConfigurationException |
Multibinder.newDuplicateValuesException(java.util.Map<T,Binding<T>> existingBindings,
Binding<T> binding,
T newValue,
Binding<T> duplicateBinding) |
Modifier and Type | Method and Description |
---|---|
java.util.Set<InjectionPoint> |
InjectionRequest.getInjectionPoints()
Returns the instance methods and fields of
instance that will be injected to fulfill
this request. |
java.util.Set<InjectionPoint> |
StaticInjectionRequest.getInjectionPoints()
Returns the static methods and fields of
type that will be injected to fulfill this
request. |