Package | Description |
---|---|
com.google.gwt.inject.rebind.binding | |
com.google.gwt.inject.rebind.util |
Modifier and Type | Method and Description |
---|---|
static Context |
Context.forElement(Element element)
Create a
Context storing the context of the given Guice
Element . |
static Context |
Context.format(String contextFmt,
Object... args)
Create a
Context from formatted text. |
static Context |
Context.forText(String text)
Create a
Context from a text string. |
Context |
Binding.getContext()
Returns the context in which this binding was created.
|
Context |
Dependency.getContext() |
Modifier and Type | Method and Description |
---|---|
BindClassBinding |
BindingFactory.getBindClassBinding(Key<?> boundClassKey,
Key<?> sourceClassKey,
Context context) |
BindClassBinding |
BindingFactoryImpl.getBindClassBinding(Key<?> boundClassKey,
Key<?> sourceClassKey,
Context context) |
<T> BindConstantBinding |
BindingFactory.getBindConstantBinding(Key<T> key,
T instance,
Context context) |
<T> BindConstantBinding |
BindingFactoryImpl.getBindConstantBinding(Key<T> key,
T instance,
Context context) |
BindProviderBinding |
BindingFactory.getBindProviderBinding(Key<? extends javax.inject.Provider<?>> providerKey,
Key<?> sourceKey,
Context context) |
BindProviderBinding |
BindingFactoryImpl.getBindProviderBinding(Key<? extends javax.inject.Provider<?>> providerKey,
Key<?> sourceKey,
Context context) |
ExposedChildBinding |
BindingFactory.getExposedChildBinding(Key<?> key,
GinjectorBindings childBindings,
Context context) |
ExposedChildBinding |
BindingFactoryImpl.getExposedChildBinding(Key<?> key,
GinjectorBindings childBindings,
Context context) |
FactoryBinding |
BindingFactory.getFactoryBinding(Map<Key<?>,TypeLiteral<?>> collector,
Key<?> factoryKey,
Context context) |
FactoryBinding |
BindingFactoryImpl.getFactoryBinding(Map<Key<?>,TypeLiteral<?>> collector,
Key<?> factoryKey,
Context context) |
ParentBinding |
BindingFactory.getParentBinding(Key<?> key,
GinjectorBindings parentBindings,
Context context) |
ParentBinding |
BindingFactoryImpl.getParentBinding(Key<?> key,
GinjectorBindings parentBindings,
Context context) |
ProviderMethodBinding |
BindingFactory.getProviderMethodBinding(com.google.inject.internal.ProviderMethod<?> providerMethod,
Context context) |
ProviderMethodBinding |
BindingFactoryImpl.getProviderMethodBinding(com.google.inject.internal.ProviderMethod<?> providerMethod,
Context context) |
Constructor and Description |
---|
Dependency(Key<?> source,
Key<?> target,
boolean optional,
boolean lazy,
Context context)
Construct a dependency edge from the given source to target keys.
|
Dependency(Key<?> source,
Key<?> target,
Context context)
Construct a dependency edge from the given source to target keys.
|
ExposedChildBinding(ErrorManager errorManager,
Key<?> key,
GinjectorBindings childBindings,
Context context) |
Modifier and Type | Method and Description |
---|---|
void |
SourceWriteUtil.writeBindingContext(com.google.gwt.user.rebind.SourceWriter writer,
Context context)
Writes out a binding context, followed by a newline.
|
void |
SourceWriteUtil.writeBindingContextJavadoc(com.google.gwt.user.rebind.SourceWriter writer,
Context bindingContext,
Key<?> key)
Write the Javadoc for the binding of a particular key, showing the context
of the binding.
|
void |
SourceWriteUtil.writeBindingContextJavadoc(com.google.gwt.user.rebind.SourceWriter writer,
Context bindingContext,
String description)
Write a Javadoc comment for a binding, including its context.
|
Copyright © 2008–2018. All rights reserved.