HomeSort by relevance Sort by last modified time
    Searched refs:Binding (Results 1 - 25 of 272) sorted by null

1 2 3 4 5 6 7 8 91011

  /external/guice/core/src/com/google/inject/spi/
UntargettedBinding.java 19 import com.google.inject.Binding;
22 * An untargetted binding. This binding indicates that the injector should use its implicit binding
28 public interface UntargettedBinding<T> extends Binding<T> {}
LinkedKeyBinding.java 19 import com.google.inject.Binding;
23 * A binding to a linked key. The other key's binding is used to resolve injections.
28 public interface LinkedKeyBinding<T> extends Binding<T> {
31 * Returns the linked key used to resolve injections. That binding can be retrieved from an
ConvertedConstantBinding.java 19 import com.google.inject.Binding;
25 * A binding created from converting a bound instance to a new type. The source binding has the same
26 * binding annotation but a different type.
31 public interface ConvertedConstantBinding<T> extends Binding<T>, HasDependencies {
39 * Returns the type converter binding used to convert the constant.
46 * Returns the key for the source binding. That binding can be retrieved from an injector using
ExposedBinding.java 20 import com.google.inject.Binding;
23 * A binding to a key exposed from an enclosed private environment.
28 public interface ExposedBinding<T> extends Binding<T>, HasDependencies {
31 * Returns the enclosed environment that holds the original binding.
InstanceBinding.java 19 import com.google.inject.Binding;
24 * A binding to a single instance. The same instance is returned for every injection.
29 public interface InstanceBinding<T> extends Binding<T>, HasDependencies {
ProviderBinding.java 19 import com.google.inject.Binding;
24 * A binding to a {@link Provider} that delegates to the binding for the provided type. This binding
30 public interface ProviderBinding<T extends Provider<?>> extends Binding<T> {
33 * Returns the key whose binding is used to {@link Provider#get provide instances}. That binding
ProviderInstanceBinding.java 19 import com.google.inject.Binding;
25 * A binding to a provider instance. The provider's {@code get} method is invoked to resolve
31 public interface ProviderInstanceBinding<T> extends Binding<T>, HasDependencies {
34 * If the user supplied a JSR330 binding, then this will wrap that one. To always return the
ProviderKeyBinding.java 19 import com.google.inject.Binding;
23 * A binding to a provider key. To resolve injections, the provider key is first resolved, then that
29 public interface ProviderKeyBinding<T> extends Binding<T> {
32 * Returns the key used to resolve the provider's binding. That binding can be retrieved from an
ConstructorBinding.java 19 import com.google.inject.Binding;
27 * A binding to the constructor of a concrete clss. To resolve injections, an instance is
33 public interface ConstructorBinding<T> extends Binding<T>, HasDependencies {
36 * Gets the constructor this binding injects.
ProvisionListener.java 19 import com.google.inject.Binding;
36 * when Guice locates and injects the dependencies for a binding. For types
60 * Returns the Binding this is provisioning.
63 * {@link Binding#getProvider}, otherwise you will get confusing error messages.
65 public abstract Binding<T> getBinding();
DefaultBindingTargetVisitor.java 19 import com.google.inject.Binding;
23 * #visitOther(Binding)}, returning its result.
36 protected V visitOther(Binding<? extends T> binding) {
74 // TODO(cushon): remove raw (Binding) cast when we don't care about javac 6 anymore
75 return visitOther((Binding<? extends T>) (Binding) providerBinding);
ProviderWithExtensionVisitor.java 19 import com.google.inject.Binding;
28 * {@link Binding#acceptTargetVisitor(BindingTargetVisitor)} method to visit a
32 * &lt;V, B> V acceptExtensionVisitor(BindingTargetVisitor&lt;B, V> visitor, ProviderInstanceBinding&lt;? extends B> binding) {
34 * return ((MyCustomExtensionVisitor&lt;B, V>)visitor).visitCustomExtension(customProperties, binding);
36 * return visitor.visit(binding);
53 * call visitor.visit(binding).
60 ProviderInstanceBinding<? extends B> binding);
  /external/guice/extensions/grapher/src/com/google/inject/grapher/
AliasCreator.java 19 import com.google.inject.Binding;
37 Iterable<Alias> createAliases(Iterable<Binding<?>> bindings);
EdgeCreator.java 19 import com.google.inject.Binding;
31 Iterable<Edge> getEdges(Iterable<Binding<?>> bindings);
NodeCreator.java 19 import com.google.inject.Binding;
30 Iterable<Node> getNodes(Iterable<Binding<?>> bindings);
ProviderAliasCreator.java 20 import com.google.inject.Binding;
25 * Alias creator that creates an alias for each {@link ProviderBinding}. These {@link Binding}s
27 * very interesting information, we don't render this binding on the graph, and just alias the two
33 @Override public Iterable<Alias> createAliases(Iterable<Binding<?>> bindings) {
35 for (Binding<?> binding : bindings) {
36 if (binding instanceof ProviderBinding) {
37 aliases.add(new Alias(NodeId.newTypeId(binding.getKey()),
38 NodeId.newTypeId(((ProviderBinding<?>) binding).getProvidedKey())));
  /external/guice/extensions/jmx/src/com/google/inject/tools/jmx/
ManagedBinding.java 19 import com.google.inject.Binding;
23 final Binding binding; field in class:ManagedBinding
25 ManagedBinding(Binding binding) {
26 this.binding = binding;
30 return binding.getSource().toString();
34 return binding.getKey().toString();
38 return binding.getProvider().toString()
    [all...]
  /external/guice/extensions/multibindings/src/com/google/inject/multibindings/
OptionalBinderBinding.java 19 import com.google.inject.Binding;
25 * A binding for a OptionalBinder.
29 * OptionalBinderBinding exists only on the Binding associated with the
33 * @param <T> The fully qualified type of the optional binding, including Optional.
41 /** Returns the {@link Key} for this binding. */
45 * Returns the default binding (set by {@link OptionalBinder#setDefault}) if one exists or null
46 * if no default binding is set. This will throw {@link UnsupportedOperationException} if it is
49 * The Binding's type will always match the type Optional's generic type. For example, if getKey
51 * <code>Binding&lt;String></code>.
53 Binding<?> getDefaultBinding()
    [all...]
MapBinderBinding.java 19 import com.google.inject.Binding;
29 * A binding for a MapBinder.
34 * MapBinderBinding exists only on the Binding associated with the Map&lt;K, V> key. Other
68 * Returns all entries in the Map. The returned list of Map.Entries contains the key and a binding
76 * <code>List&lt;Map.Entry&lt;String, Binding&lt;Snack>>></code>.
78 List<Map.Entry<?, Binding<?>>> getEntries();
MultibinderBinding.java 19 import com.google.inject.Binding;
28 * A binding for a Multibinder.
57 * <code>List&lt;Binding&lt;String>></code>.
59 List<Binding<?>> getElements();
  /external/guice/core/test/com/google/inject/spi/
FailingTargetVisitor.java 19 import com.google.inject.Binding;
24 @Override protected Void visitOther(Binding<? extends T> binding) {
BindingTargetVisitorTest.java 18 import com.google.inject.Binding;
33 for (Binding<?> binding : injector.getBindings().values()) {
34 binding.acceptTargetVisitor(new DefaultBindingTargetVisitor<Object, Object>() {});
  /external/guice/core/src/com/google/inject/
Injector.java 36 * <li>A {@code Provider<T>} for each binding of type {@code T}
106 Map<Key<?>, Binding<?>> getBindings();
121 Map<Key<?>, Binding<?>> getAllBindings();
124 * Returns the binding for the given injection key. This will be an explicit bindings if the key
125 * was bound explicitly by a module, or an implicit binding otherwise. The implicit binding will
130 * @throws ConfigurationException if this injector cannot find or create the binding.
132 <T> Binding<T> getBinding(Key<T> key);
135 * Returns the binding for the given type. This will be an explicit bindings if the injection key
136 * was bound explicitly by a module, or an implicit binding otherwise. The implicit binding wil
    [all...]
  /external/llvm/test/MC/Mips/
micromips-label-test.s 20 # CHECK: Binding: Local
27 # CHECK: Binding: Local
34 # CHECK: Binding: Local
41 # CHECK: Binding: Local
48 # CHECK: Binding: Local
  /packages/apps/Messaging/src/com/android/messaging/datamodel/binding/
BindingBase.java 16 package com.android.messaging.datamodel.binding;
19 * The binding class keeps track of a binding between a ui component and an item of BindableData
22 * NOTE: Ensure that the UI component uses the same binding instance for it's whole lifetime
23 * (DO NOT CREATE A NEW BINDING EACH TIME A NEW PIECE OF DATA IS BOUND)...
25 * The ui component owns the binding instance.
26 * It can use it [isBound(data)] to see if the binding still binds to the right piece of data
28 * Upon binding the data is informed of a unique binding key generated in this class and can use
33 * Creates a new exclusively owned binding for the owner object
    [all...]

Completed in 276 milliseconds

1 2 3 4 5 6 7 8 91011