|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Binder | |
|---|---|
| com.google.inject | Google Guice (pronounced "juice") is an ultra-lightweight dependency injection framework. |
| 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-3.0.jar. |
| com.google.inject.name | Support for binding to string-based names. |
| com.google.inject.spi | Guice service provider interface |
| com.google.inject.spring | Spring integration; this extension requires guice-spring-3.0.jar. |
| com.google.inject.throwingproviders | Extension for injecting objects that may throw at provision time; this extension requires guice-throwingproviders-3.0.jar. |
| Uses of Binder in com.google.inject |
|---|
| Subinterfaces of Binder in com.google.inject | |
|---|---|
interface |
PrivateBinder
Returns a binder whose configuration information is hidden from its environment by default. |
| Methods in com.google.inject that return Binder | |
|---|---|
protected Binder |
AbstractModule.binder()
Gets direct access to the underlying Binder. |
Binder |
Binder.skipSources(java.lang.Class... classesToSkip)
Returns a binder that skips classesToSkip when identify the
calling code. |
Binder |
Binder.withSource(java.lang.Object source)
Returns a binder that uses source as the reference location for
configuration errors. |
| Methods in com.google.inject with parameters of type Binder | |
|---|---|
void |
Module.configure(Binder binder)
Contributes bindings and other configurations for this module to binder. |
void |
PrivateModule.configure(Binder binder)
|
void |
AbstractModule.configure(Binder builder)
|
| Uses of Binder in com.google.inject.internal |
|---|
| Fields in com.google.inject.internal declared as Binder | |
|---|---|
protected Binder |
AbstractBindingBuilder.binder
|
| Methods in com.google.inject.internal with parameters of type Binder | |
|---|---|
void |
PrivateElementsImpl.applyTo(Binder binder)
|
void |
LinkedBindingImpl.applyTo(Binder binder)
|
void |
ExposedBindingImpl.applyTo(Binder binder)
|
void |
ProviderMethod.configure(Binder binder)
|
void |
ProviderMethodsModule.configure(Binder binder)
|
java.util.List<ProviderMethod<?>> |
ProviderMethodsModule.getProviderMethods(Binder binder)
|
| Constructors in com.google.inject.internal with parameters of type Binder | |
|---|---|
AbstractBindingBuilder(Binder binder,
java.util.List<Element> elements,
java.lang.Object source,
Key<T> key)
|
|
BindingBuilder(Binder binder,
java.util.List<Element> elements,
java.lang.Object source,
Key<T> key)
|
|
ConstantBindingBuilderImpl(Binder binder,
java.util.List<Element> elements,
java.lang.Object source)
|
|
ExposureBuilder(Binder binder,
java.lang.Object source,
Key<T> key)
|
|
| Uses of Binder in com.google.inject.multibindings |
|---|
| Methods in com.google.inject.multibindings with parameters of type Binder | ||
|---|---|---|
static
|
MapBinder.newMapBinder(Binder binder,
java.lang.Class<K> keyType,
java.lang.Class<V> valueType)
Returns a new mapbinder that collects entries of keyType/valueType in a
Map that is itself bound with no binding annotation. |
|
static
|
MapBinder.newMapBinder(Binder binder,
java.lang.Class<K> keyType,
java.lang.Class<V> valueType,
java.lang.annotation.Annotation annotation)
Returns a new mapbinder that collects entries of keyType/valueType in a
Map that is itself bound with annotation. |
|
static
|
MapBinder.newMapBinder(Binder binder,
java.lang.Class<K> keyType,
java.lang.Class<V> valueType,
java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
Returns a new mapbinder that collects entries of keyType/valueType in a
Map that is itself bound with annotationType. |
|
static
|
MapBinder.newMapBinder(Binder binder,
TypeLiteral<K> keyType,
TypeLiteral<V> valueType)
Returns a new mapbinder that collects entries of keyType/valueType in a
Map that is itself bound with no binding annotation. |
|
static
|
MapBinder.newMapBinder(Binder binder,
TypeLiteral<K> keyType,
TypeLiteral<V> valueType,
java.lang.annotation.Annotation annotation)
Returns a new mapbinder that collects entries of keyType/valueType in a
Map that is itself bound with annotation. |
|
static
|
MapBinder.newMapBinder(Binder binder,
TypeLiteral<K> keyType,
TypeLiteral<V> valueType,
java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
Returns a new mapbinder that collects entries of keyType/valueType in a
Map that is itself bound with annotationType. |
|
static
|
Multibinder.newSetBinder(Binder binder,
java.lang.Class<T> type)
Returns a new multibinder that collects instances of type in a Set that is
itself bound with no binding annotation. |
|
static
|
Multibinder.newSetBinder(Binder binder,
java.lang.Class<T> type,
java.lang.annotation.Annotation annotation)
Returns a new multibinder that collects instances of type in a Set that is
itself bound with annotation. |
|
static
|
Multibinder.newSetBinder(Binder binder,
java.lang.Class<T> type,
java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
Returns a new multibinder that collects instances of type in a Set that is
itself bound with annotationType. |
|
static
|
Multibinder.newSetBinder(Binder binder,
TypeLiteral<T> type)
Returns a new multibinder that collects instances of type in a Set that is
itself bound with no binding annotation. |
|
static
|
Multibinder.newSetBinder(Binder binder,
TypeLiteral<T> type,
java.lang.annotation.Annotation annotation)
Returns a new multibinder that collects instances of type in a Set that is
itself bound with annotation. |
|
static
|
Multibinder.newSetBinder(Binder binder,
TypeLiteral<T> type,
java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
Returns a new multibinder that collects instances of type in a Set that is
itself bound with annotationType. |
|
| Uses of Binder in com.google.inject.name |
|---|
| Methods in com.google.inject.name with parameters of type Binder | |
|---|---|
static void |
Names.bindProperties(Binder binder,
java.util.Map<java.lang.String,java.lang.String> properties)
Creates a constant binding to @Named(key) for each entry in
properties. |
static void |
Names.bindProperties(Binder binder,
java.util.Properties properties)
Creates a constant binding to @Named(key) for each property. |
| Uses of Binder in com.google.inject.spi |
|---|
| Methods in com.google.inject.spi with parameters of type Binder | |
|---|---|
void |
Message.applyTo(Binder binder)
|
void |
Element.applyTo(Binder binder)
Writes this module element to the given binder (optional operation). |
void |
TypeConverterBinding.applyTo(Binder binder)
|
void |
TypeListenerBinding.applyTo(Binder binder)
|
void |
InterceptorBinding.applyTo(Binder binder)
|
void |
ScopeBinding.applyTo(Binder binder)
|
void |
InjectionRequest.applyTo(Binder binder)
|
void |
StaticInjectionRequest.applyTo(Binder binder)
|
void |
ProviderLookup.applyTo(Binder binder)
|
void |
MembersInjectorLookup.applyTo(Binder binder)
|
void |
RequireExplicitBindingsOption.applyTo(Binder binder)
|
void |
DisableCircularProxiesOption.applyTo(Binder binder)
|
void |
ExposedBinding.applyTo(Binder binder)
Unsupported. |
| Uses of Binder in com.google.inject.spring |
|---|
| Methods in com.google.inject.spring with parameters of type Binder | |
|---|---|
static void |
SpringIntegration.bindAll(Binder binder,
org.springframework.beans.factory.ListableBeanFactory beanFactory)
Binds all Spring beans from the given factory by name. |
| Uses of Binder in com.google.inject.throwingproviders |
|---|
| Methods in com.google.inject.throwingproviders with parameters of type Binder | |
|---|---|
static ThrowingProviderBinder |
ThrowingProviderBinder.create(Binder binder)
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||