• Home
  • Raw
  • Download

Lines Matching +full:plugin +full:- +full:syntax +full:- +full:optional +full:- +full:catch +full:- +full:binding

1 <?xml version="1.0" encoding="iso-8859-1" standalone="no"?>
2 <!-- Generated by the JDiff Javadoc doclet -->
3 <!-- (http://www.jdiff.org) -->
4 <!-- on Fri Jun 17 16:00:51 EDT 2016 -->
7 xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
12-- Command line arguments = -doclet jdiff.JDiff -docletpath /tmp/moe_git_clone_googlecode_676391…
14 <!-- start class com.google.inject.AbstractModule -->
169 Note that this requirement may be satisfied by implicit binding, such as
170 a public no-arguments constructor.
183 Note that this requirement may be satisfied by implicit binding, such as
184 a public no-arguments constructor.
265 …tcher" type="com.google.inject.matcher.Matcher&lt;? super com.google.inject.Binding&lt;?&gt;&gt;"/>
292 <!-- end class com.google.inject.AbstractModule -->
293 <!-- start interface com.google.inject.Binder -->
311 <li>And the method is package-private, protected, or public</li>
447 catch the exception and pass it into this.]]>
569 …tcher" type="com.google.inject.matcher.Matcher&lt;? super com.google.inject.Binding&lt;?&gt;&gt;"/>
592 for {@code .java} source but it could any binding source, such as the
638 injected. Bindings created through a linked binding
640 implicit binding (<code>FooImpl</code>) cannot be directly injected unless
644 through a linked binding) if explicit bindings are required, however
645 {@link Binding#getProvider} will fail.
656 In the absence of an explicit binding for the target, linked bindings in
657 child injectors create a binding for the target in the parent. Since this
659 are required. To avoid this error, add an explicit binding for the target,
689 have a no-args constructor if no {@literal @}{@link Inject} annotation exists on any
703 <![CDATA[Requires that Guice finds an exactly matching binding annotation. This disables the
704 error-prone feature in Guice where it can substitute a binding for
732 <h3>The Guice Binding EDSL</h3>
734 Guice uses an <i>embedded domain-specific language</i>, or EDSL, to help you
737 learn how to use the Binding EDSL by reading
738 method-level javadocs</b>. Instead, you should consult the series of
750 Guice may be unable to validate a binding at injector creation time unless it
756 Specifies that a request for a {@code Service} instance with no binding
768 {@code Provider<Service>}. This binding specifies that Guice should resolve
778 -- "letting Guice work for you".
784 the binding annotation {@code @Red}. If your module also includes bindings
786 then this binding will serve as a "catch-all" for any values of {@code @Red}
798 binding is qualified by an annotation as in the previous example. Guice is
807 servlet-specific scopes available in
839 Sets up a constant binding. Constant injections must always be annotated.
840 When a constant binding's value is a string, it is eligile for conversion to
852 If your binding annotation has parameters you can apply different bindings to
854 right instance of the annotation is a bit of a pain -- one approach, shown
865 Guice's library support, binding by name is quite easier than in the
866 arbitrary binding annotation case we just saw. However, remember that these
890 {@link #addError} and {@link #currentStage} are not part of the Binding EDSL;
899 <!-- end interface com.google.inject.Binder -->
900 <!-- start interface com.google.inject.Binding -->
901 <interface name="Binding" abstract="true"
910 <![CDATA[Returns the key for this binding.]]>
919 binding.
921 @throws UnsupportedOperationException when invoked on a {@link Binding}
923 method is only supported on {@link Binding}s returned from an injector.]]>
932 … <![CDATA[Accepts a target visitor. Invokes the visitor method specific to this binding's target.
944 … <![CDATA[Accepts a scoping visitor. Invokes the visitor method specific to this binding's scoping.
951 …<![CDATA[A mapping from a key (type and optional annotation) to the strategy for getting instances…
966 <li>For {@link Provider providers}, by delegating to the binding for the provided type.</li>
979 necessary to satisfy a binding.</li>
988 <!-- end interface com.google.inject.Binding -->
989 <!-- start class com.google.inject.BindingAnnotation -->
995 <![CDATA[Annotates annotations which are used for binding. Only one such annotation
1009 <!-- end class com.google.inject.BindingAnnotation -->
1010 <!-- start class com.google.inject.ConfigurationException -->
1057 …<![CDATA[Thrown when a programming error such as a misplaced annotation, illegal binding, or unsup…
1058 scope is found. Clients should catch this exception, log it, and stop execution.
1064 <!-- end class com.google.inject.ConfigurationException -->
1065 <!-- start class com.google.inject.CreationException -->
1092 errors. Clients should catch this exception, log it, and stop execution.
1097 <!-- end class com.google.inject.CreationException -->
1098 <!-- start class com.google.inject.Exposed -->
1105 private module to indicate that the provided binding is exposed.
1111 <!-- end class com.google.inject.Exposed -->
1112 <!-- start class com.google.inject.Guice -->
1199 <!-- end class com.google.inject.Guice -->
1200 <!-- start class com.google.inject.ImplementedBy -->
1211 <!-- end class com.google.inject.ImplementedBy -->
1212 <!-- start class com.google.inject.Inject -->
1228 <li>Pre-constructed instances passed to {@link Injector#injectMembers},
1244 <!-- end class com.google.inject.Inject -->
1245 <!-- start interface com.google.inject.Injector -->
1299 …s" return="java.util.Map&lt;com.google.inject.Key&lt;?&gt;, com.google.inject.Binding&lt;?&gt;&gt;"
1314 …s" return="java.util.Map&lt;com.google.inject.Key&lt;?&gt;, com.google.inject.Binding&lt;?&gt;&gt;"
1320 just-in-time</strong>. The returned map is immutable; it contains only the bindings that were
1322 additional just-in-time bindings.
1332 <method name="getBinding" return="com.google.inject.Binding&lt;T&gt;"
1338 …<![CDATA[Returns the binding for the given injection key. This will be an explicit bindings if the…
1339 was bound explicitly by a module, or an implicit binding otherwise. The implicit binding will
1344 @throws ConfigurationException if this injector cannot find or create the binding.]]>
1347 <method name="getBinding" return="com.google.inject.Binding&lt;T&gt;"
1353 …<![CDATA[Returns the binding for the given type. This will be an explicit bindings if the injectio…
1354 was bound explicitly by a module, or an implicit binding otherwise. The implicit binding will
1359 @throws ConfigurationException if this injector cannot find or create the binding.
1363 <method name="getExistingBinding" return="com.google.inject.Binding&lt;T&gt;"
1369 <![CDATA[Returns the binding if it already exists, or null if does not exist. Unlike
1370 {@link #getBinding(Key)}, this does not attempt to create just-in-time bindings
1378 …<method name="findBindingsByType" return="java.util.List&lt;com.google.inject.Binding&lt;T&gt;&gt;"
1448 <![CDATA[Returns this injector's parent, or {@code null} if this is a top-level injector.
1460 interceptors and type converters are inherited -- they are visible to the child injector.
1463 <p>Just-in-time bindings created for child injectors will be created in an ancestor injector
1465 explicit bindings to prevent bindings from being shared with the parent injector. Optional
1466 injections in just-in-time bindings (created in the parent injector) may be silently
1467 ignored if the optional dependencies are from the child injector.
1469 <p>No key may be bound by both an injector and one of its ancestors. This includes just-in-time
1483 interceptors and type converters are inherited -- they are visible to the child injector.
1486 <p>Just-in-time bindings created for child injectors will be created in an ancestor injector
1490 <p>No key may be bound by both an injector and one of its ancestors. This includes just-in-time
1527 interact with it directly. This "behind-the-scenes" operation is what distinguishes dependency
1534 <li>A {@code Provider<T>} for each binding of type {@code T}
1542 already-constructed instances. This can be used to interoperate with objects created by other
1555 <!-- end interface com.google.inject.Injector -->
1556 <!-- start class com.google.inject.Key -->
1571 <p>Example usage for a binding of type {@code Foo} annotated with
1587 <p>Example usage for a binding of type {@code Foo} annotated with
1603 <p>Example usage for a binding of type {@code Foo}:
1793 <![CDATA[Binding key consisting of an injection type and an optional annotation.
1816 <!-- end class com.google.inject.Key -->
1817 <!-- start interface com.google.inject.MembersInjector -->
1848 <!-- end interface com.google.inject.MembersInjector -->
1849 <!-- start interface com.google.inject.Module -->
1868 bindings, which will be used to create an {@link Injector}. A Guice-based
1872 <p>Your Module classes can use a more streamlined syntax by extending
1877 Use scope and binding annotations on these methods to configure the
1881 <!-- end interface com.google.inject.Module -->
1882 <!-- start class com.google.inject.OutOfScopeException -->
1907 <!-- end class com.google.inject.OutOfScopeException -->
1908 <!-- start interface com.google.inject.PrivateBinder -->
1919 <![CDATA[Makes the binding for {@code key} available to the enclosing environment]]>
1928 <![CDATA[Makes a binding for {@code type} available to the enclosing environment. Use {@link
1930 binding annotation.]]>
1939 <![CDATA[Makes a binding for {@code type} available to the enclosing environment. Use {@link
1941 binding annotation.]]>
1964 <!-- end interface com.google.inject.PrivateBinder -->
1965 <!-- start class com.google.inject.PrivateModule -->
1996 <![CDATA[Makes the binding for {@code key} available to other modules and the injector.]]>
2005 … <![CDATA[Makes a binding for {@code type} available to other modules and the injector. Use {@link
2007 binding annotation.]]>
2016 … <![CDATA[Makes a binding for {@code type} available to other modules and the injector. Use {@link
2018 binding annotation.]]>
2146 <![CDATA[Instructs Guice to require a binding to the given key.]]>
2155 <![CDATA[Instructs Guice to require a binding to the given type.]]>
2226 …tcher" type="com.google.inject.matcher.Matcher&lt;? super com.google.inject.Binding&lt;?&gt;&gt;"/>
2269 injectors}. When it can satisfy their dependencies, just-in-time bindings will be created in the
2272 <p>The scope of a binding is constrained to its environment. A singleton bound in a private
2273 module will be unique to its environment. But a binding for the same type in a different private
2276 <p>A shared binding that injects the {@code Injector} gets the root injector, which only has
2277 access to bindings in the root environment. An explicit binding that injects the {@code Injector}
2280 <p>To promote a just-in-time binding to an explicit binding, bind it:
2289 <!-- end class com.google.inject.PrivateModule -->
2290 <!-- start class com.google.inject.ProvidedBy -->
2301 <!-- end class com.google.inject.ProvidedBy -->
2302 <!-- start interface com.google.inject.Provider -->
2326 is insufficient for a particular binding, the module can specify a custom {@code Provider}
2327 instead, to control exactly how Guice creates or obtains instances for the binding.
2347 <!-- end interface com.google.inject.Provider -->
2348 <!-- start class com.google.inject.Provides -->
2354 …<![CDATA[Annotates methods of a {@link Module} to create a provider method binding. The method's r…
2361 <!-- end class com.google.inject.Provides -->
2362 <!-- start class com.google.inject.ProvisionException -->
2403 <!-- end class com.google.inject.ProvisionException -->
2404 <!-- start interface com.google.inject.Scope -->
2423 @param key binding key
2445 meaning it has no state from the framework's perspective -- the
2448 binding allows the created instance to be "remembered" and possibly used
2456 <!-- end interface com.google.inject.Scope -->
2457 <!-- start class com.google.inject.ScopeAnnotation -->
2477 <!-- end class com.google.inject.ScopeAnnotation -->
2478 <!-- start class com.google.inject.Scopes -->
2487 <param name="binding" type="com.google.inject.Binding&lt;?&gt;"/>
2489 <![CDATA[Returns true if {@code binding} is singleton-scoped. If the binding is a {@link
2490 com.google.inject.spi.LinkedKeyBinding linked key binding} and belongs to an injector (ie. it
2492 also true if the target binding is singleton-scoped.
2501 <param name="binding" type="com.google.inject.Binding&lt;?&gt;"/>
2505 <![CDATA[Returns true if {@code binding} has the given scope. If the binding is a {@link
2506 com.google.inject.spi.LinkedKeyBinding linked key binding} and belongs to an injector (ie. it
2508 also true if the target binding has the given scope.
2510 @param binding binding to check
2548 binding arrives it will need to obtain the instance over again.
2552 this to "no scope" in your binding.
2558 <![CDATA[Built-in scope implementations.
2563 <!-- end class com.google.inject.Scopes -->
2564 <!-- start class com.google.inject.Singleton -->
2571 (per {@link Injector}) to be reused for all injections for that binding.
2576 <!-- end class com.google.inject.Singleton -->
2577 <!-- start class com.google.inject.Stage -->
2599 <!-- end class com.google.inject.Stage -->
2600 <!-- start class com.google.inject.TypeLiteral -->
2622 <![CDATA[Returns the raw (non-generic) type for this type.
2757 <!-- end class com.google.inject.TypeLiteral -->
2760 <!-- start class com.google.inject.assistedinject.Assisted -->
2772 <!-- end class com.google.inject.assistedinject.Assisted -->
2773 <!-- start class com.google.inject.assistedinject.AssistedInject -->
2804 <!-- end class com.google.inject.assistedinject.AssistedInject -->
2805 <!-- start interface com.google.inject.assistedinject.AssistedInjectBinding -->
2814 <![CDATA[Returns the {@link Key} for the factory binding.]]>
2826 <![CDATA[A binding for a factory created by FactoryModuleBuilder.
2834 <!-- end interface com.google.inject.assistedinject.AssistedInjectBinding -->
2835 <!-- start interface com.google.inject.assistedinject.AssistedInjectTargetVisitor -->
2859 <!-- end interface com.google.inject.assistedinject.AssistedInjectTargetVisitor -->
2860 <!-- start interface com.google.inject.assistedinject.AssistedMethod -->
2895 <![CDATA[Returns all non-assisted dependencies required to construct and inject
2906 <!-- end interface com.google.inject.assistedinject.AssistedMethod -->
2907 <!-- start class com.google.inject.assistedinject.FactoryModuleBuilder -->
3089 … <![CDATA[Provides a factory that combines the caller's arguments with injector-supplied values to
3105 Inject}-annotated constructor. In addition to injector-supplied parameters, the constructor
3106 should have parameters that match each of the factory method's parameters. Each factory-supplied
3159 As a side-effect of this binding, Guice will inject the factory to initialize it for use. The
3243 To return two different implementations for the same interface from your factory, use binding
3266 <!-- end class com.google.inject.assistedinject.FactoryModuleBuilder -->
3267 <!-- start class com.google.inject.assistedinject.FactoryProvider -->
3313 <p>Provides a factory that combines the caller's arguments with injector-supplied values to
3326 {@code constructedType} is a concrete class with an {@literal @}{@link Inject}-annotated
3327 constructor. In addition to injector-supplied parameters, the constructor should have
3328 parameters that match each of the factory method's parameters. Each factory-supplied parameter
3348 As a side-effect of this binding, Guice will inject the factory to initialize it for use. The
3394 {@literal @}{@link AssistedInject}. This triggers a limited backwards-compatability mode.
3402 method interception. They do receive post-construction member injection.
3413 <!-- end class com.google.inject.assistedinject.FactoryProvider -->
3416 <!-- start interface com.google.inject.binder.AnnotatedBindingBuilder -->
3445 <!-- end interface com.google.inject.binder.AnnotatedBindingBuilder -->
3446 <!-- start interface com.google.inject.binder.AnnotatedConstantBindingBuilder -->
3474 <!-- end interface com.google.inject.binder.AnnotatedConstantBindingBuilder -->
3475 <!-- start interface com.google.inject.binder.AnnotatedElementBuilder -->
3504 <!-- end interface com.google.inject.binder.AnnotatedElementBuilder -->
3505 <!-- start interface com.google.inject.binder.ConstantBindingBuilder -->
3614 <!-- end interface com.google.inject.binder.ConstantBindingBuilder -->
3615 <!-- start interface com.google.inject.binder.LinkedBindingBuilder -->
3737 <!-- end interface com.google.inject.binder.LinkedBindingBuilder -->
3738 <!-- start interface com.google.inject.binder.ScopedBindingBuilder -->
3766 singleton-scoped binding upon creation. Useful for application
3777 <!-- end interface com.google.inject.binder.ScopedBindingBuilder -->
3780 <!-- start class com.google.inject.daggeradapter.DaggerAdapter -->
3810 expected to be recreated on-demand with new Module instances), Guice typically
3813 <li>Dagger 1.x uses {@link @Singleton} for all scopes, including shorter-lived scopes
3814 like per-request or per-activity. Using modules written with Dagger 1.x usage
3815 in mind may result in mis-scoped objects.
3824 <!-- end class com.google.inject.daggeradapter.DaggerAdapter -->
3827 <!-- start class com.google.inject.grapher.AbstractInjectorGrapher -->
3912 <![CDATA[Adds a new binding edge to the graph.]]>
3931 <!-- end class com.google.inject.grapher.AbstractInjectorGrapher -->
3932 <!-- start class com.google.inject.grapher.AbstractInjectorGrapher.GrapherParameters -->
3990 <!-- end class com.google.inject.grapher.AbstractInjectorGrapher.GrapherParameters -->
3991 <!-- start class com.google.inject.grapher.Alias -->
4018 <!-- end class com.google.inject.grapher.Alias -->
4019 <!-- start interface com.google.inject.grapher.AliasCreator -->
4027 <param name="bindings" type="java.lang.Iterable&lt;com.google.inject.Binding&lt;?&gt;&gt;"/>
4045 <!-- end interface com.google.inject.grapher.AliasCreator -->
4046 <!-- start class com.google.inject.grapher.BindingEdge -->
4090 <!-- end class com.google.inject.grapher.BindingEdge -->
4091 <!-- start class com.google.inject.grapher.BindingEdge.Type -->
4108 <![CDATA[Classification for what kind of binding this edge represents.]]>
4111 <!-- end class com.google.inject.grapher.BindingEdge.Type -->
4112 <!-- start class com.google.inject.grapher.DefaultRootKeySetCreator -->
4136 <!-- end class com.google.inject.grapher.DefaultRootKeySetCreator -->
4137 <!-- start class com.google.inject.grapher.DependencyEdge -->
4182 <!-- end class com.google.inject.grapher.DependencyEdge -->
4183 <!-- start class com.google.inject.grapher.Edge -->
4234 <!-- end class com.google.inject.grapher.Edge -->
4235 <!-- start interface com.google.inject.grapher.EdgeCreator -->
4243 <param name="bindings" type="java.lang.Iterable&lt;com.google.inject.Binding&lt;?&gt;&gt;"/>
4256 <!-- end interface com.google.inject.grapher.EdgeCreator -->
4257 <!-- start class com.google.inject.grapher.ImplementationNode -->
4303 <!-- end class com.google.inject.grapher.ImplementationNode -->
4304 <!-- start interface com.google.inject.grapher.InjectorGrapher -->
4338 <!-- end interface com.google.inject.grapher.InjectorGrapher -->
4339 <!-- start class com.google.inject.grapher.InstanceNode -->
4387 <!-- end class com.google.inject.grapher.InstanceNode -->
4388 <!-- start class com.google.inject.grapher.InterfaceNode -->
4422 <!-- end class com.google.inject.grapher.InterfaceNode -->
4423 <!-- start interface com.google.inject.grapher.NameFactory -->
4460 {@link com.google.inject.Binding}s.
4465 <!-- end interface com.google.inject.grapher.NameFactory -->
4466 <!-- start class com.google.inject.grapher.Node -->
4515 <!-- end class com.google.inject.grapher.Node -->
4516 <!-- start interface com.google.inject.grapher.NodeCreator -->
4524 <param name="bindings" type="java.lang.Iterable&lt;com.google.inject.Binding&lt;?&gt;&gt;"/>
4536 <!-- end interface com.google.inject.grapher.NodeCreator -->
4537 <!-- start class com.google.inject.grapher.NodeId -->
4586 <!-- end class com.google.inject.grapher.NodeId -->
4587 <!-- start class com.google.inject.grapher.NodeId.NodeType -->
4609 <!-- end class com.google.inject.grapher.NodeId.NodeType -->
4610 <!-- start interface com.google.inject.grapher.RootKeySetCreator -->
4631 <!-- end interface com.google.inject.grapher.RootKeySetCreator -->
4632 <!-- start class com.google.inject.grapher.ShortNameFactory -->
4673 a {@link StackTraceElement} for when the binding is made to the instance,
4697 <!-- end class com.google.inject.grapher.ShortNameFactory -->
4698 <!-- start class com.google.inject.grapher.TransitiveDependencyVisitor -->
4711 <param name="binding" type="com.google.inject.spi.ConstructorBinding&lt;?&gt;"/>
4717 <param name="binding" type="com.google.inject.spi.ConvertedConstantBinding&lt;?&gt;"/>
4723 <param name="binding" type="com.google.inject.spi.InstanceBinding&lt;?&gt;"/>
4729 <param name="binding" type="com.google.inject.spi.LinkedKeyBinding&lt;?&gt;"/>
4735 <param name="binding" type="com.google.inject.spi.ProviderBinding&lt;?&gt;"/>
4741 <param name="binding" type="com.google.inject.spi.ProviderInstanceBinding&lt;?&gt;"/>
4747 <param name="binding" type="com.google.inject.spi.ProviderKeyBinding&lt;?&gt;"/>
4753 <param name="binding" type="com.google.inject.Binding&lt;?&gt;"/>
4760 {@link Collection} of the {@link Key}s of each {@link Binding}'s
4762 from a starting set of {@link Binding}s.
4767 <!-- end class com.google.inject.grapher.TransitiveDependencyVisitor -->
4770 <!-- start class com.google.inject.grapher.graphviz.ArrowType -->
4800 <!-- end class com.google.inject.grapher.graphviz.ArrowType -->
4801 <!-- start class com.google.inject.grapher.graphviz.CompassPoint -->
4831 <!-- end class com.google.inject.grapher.graphviz.CompassPoint -->
4832 <!-- start class com.google.inject.grapher.graphviz.EdgeStyle -->
4861 <!-- end class com.google.inject.grapher.graphviz.EdgeStyle -->
4862 <!-- start class com.google.inject.grapher.graphviz.GraphvizEdge -->
4971 <!-- end class com.google.inject.grapher.graphviz.GraphvizEdge -->
4972 <!-- start class com.google.inject.grapher.graphviz.GraphvizGrapher -->
5120 <!-- end class com.google.inject.grapher.graphviz.GraphvizGrapher -->
5121 <!-- start class com.google.inject.grapher.graphviz.GraphvizModule -->
5141 <!-- end class com.google.inject.grapher.graphviz.GraphvizModule -->
5142 <!-- start class com.google.inject.grapher.graphviz.GraphvizNode -->
5265 <!-- end class com.google.inject.grapher.graphviz.GraphvizNode -->
5266 <!-- start class com.google.inject.grapher.graphviz.NodeShape -->
5295 <!-- end class com.google.inject.grapher.graphviz.NodeShape -->
5296 <!-- start class com.google.inject.grapher.graphviz.NodeStyle -->
5325 <!-- end class com.google.inject.grapher.graphviz.NodeStyle -->
5326 <!-- start interface com.google.inject.grapher.graphviz.PortIdFactory -->
5338 rows in {@link com.google.inject.grapher.ImplementationNode}-displaying {@link GraphvizNode}s.
5343 <!-- end interface com.google.inject.grapher.graphviz.PortIdFactory -->
5344 <!-- start class com.google.inject.grapher.graphviz.PortIdFactoryImpl -->
5366 <!-- end class com.google.inject.grapher.graphviz.PortIdFactoryImpl -->
5369 <!-- start class com.google.inject.jndi.JndiIntegration -->
5390 <![CDATA[Integrates Guice with JNDI. Requires a binding to
5396 <!-- end class com.google.inject.jndi.JndiIntegration -->
5399 <!-- start class com.google.inject.matcher.AbstractMatcher -->
5427 <!-- end class com.google.inject.matcher.AbstractMatcher -->
5428 <!-- start interface com.google.inject.matcher.Matcher -->
5467 <!-- end interface com.google.inject.matcher.Matcher -->
5468 <!-- start class com.google.inject.matcher.Matchers -->
5575 <!-- end class com.google.inject.matcher.Matchers -->
5578 <!-- start class com.google.inject.multibindings.ClassMapKey -->
5589 <!-- end class com.google.inject.multibindings.ClassMapKey -->
5590 <!-- start class com.google.inject.multibindings.MapBinder -->
5604 {@link Map} that is itself bound with no binding annotation.]]>
5616 {@link Map} that is itself bound with no binding annotation.]]>
5697 <![CDATA[Returns a binding builder used to add a new entry in the map. Each
5698 key must be distinct (and non-null). Bound providers will be evaluated each
5702 {@code to} methods on the returned binding builder.
5705 to specify a binding scope.]]>
5722 <p>With this binding, a {@link Map}{@code <String, Snack>} can now be
5730 <p>In addition to binding {@code Map<K, V>}, a mapbinder will also bind
5744 <p>The map's iteration order is consistent with the binding order. This is
5755 injected (unless the binding is also scoped, or a map of providers is injected).
5765 <p><strong>Keys must be non-null.</strong> {@code addBinding(null)} will
5768 <p><strong>Values must be non-null to use map injection.</strong> If any
5775 <!-- end class com.google.inject.multibindings.MapBinder -->
5776 <!-- start interface com.google.inject.multibindings.MapBinderBinding -->
5812 …es" return="java.util.List&lt;java.util.Map.Entry&lt;?, com.google.inject.Binding&lt;?&gt;&gt;&gt;"
5817 …ATA[Returns all entries in the Map. The returned list of Map.Entries contains the key and a binding
5825 <code>List&lt;Map.Entry&lt;String, Binding&lt;Snack>>></code>.]]>
5856 <![CDATA[A binding for a MapBinder.
5861 MapBinderBinding exists only on the Binding associated with the Map&lt;K, V> key. Other
5872 <!-- end interface com.google.inject.multibindings.MapBinderBinding -->
5873 <!-- start class com.google.inject.multibindings.MapKey -->
5903 <!-- end class com.google.inject.multibindings.MapKey -->
5904 <!-- start class com.google.inject.multibindings.Multibinder -->
5917 itself bound with no binding annotation.]]>
5928 itself bound with no binding annotation.]]>
6010 <![CDATA[Returns a binding builder used to add a new element in the set. Each
6015 {@code to} methods on the returned binding builder.
6018 to specify a binding scope.]]>
6036 <p>With this binding, a {@link Set}{@code <Snack>} can now be injected:
6051 <p>The set's iteration order is consistent with the binding order. This is
6062 injected (unless the binding is also scoped).
6071 <p><strong>Elements must be non-null.</strong> If any set element is null,
6077 <!-- end class com.google.inject.multibindings.Multibinder -->
6078 <!-- start interface com.google.inject.multibindings.MultibinderBinding -->
6102 <method name="getElements" return="java.util.List&lt;com.google.inject.Binding&lt;?&gt;&gt;"
6113 <code>List&lt;Binding&lt;String>></code>.]]>
6144 <![CDATA[A binding for a Multibinder.
6153 <!-- end interface com.google.inject.multibindings.MultibinderBinding -->
6154 <!-- start class com.google.inject.multibindings.MultibindingsScanner -->
6183 …<![CDATA[Scans a module for annotations that signal multibindings, mapbindings, and optional bindi…
6188 <!-- end class com.google.inject.multibindings.MultibindingsScanner -->
6189 <!-- start interface com.google.inject.multibindings.MultibindingsTargetVisitor -->
6200 <![CDATA[Visits a binding created through {@link Multibinder}.]]>
6209 <![CDATA[Visits a binding created through {@link MapBinder}.]]>
6218 <![CDATA[Visits a binding created through {@link OptionalBinder}.
6234 <!-- end interface com.google.inject.multibindings.MultibindingsTargetVisitor -->
6235 <!-- start class com.google.inject.multibindings.OptionalBinder -->
6266 <![CDATA[Returns a binding builder used to set the default value that will be injected.
6267 The binding set by this method will be ignored if {@link #setBinding} is called.
6270 methods on the returned binding builder.]]>
6278 <![CDATA[Returns a binding builder used to set the actual value that will be injected.
6279 This overrides any binding set by {@link #setDefault}.
6282 methods on the returned binding builder.]]>
6286 <![CDATA[An API to bind optional values, optionally with a default value.
6295 {@code Optional<T>} and {@code Optional<Provider<T>>}. If
6301 <b>Warning: Even if setBinding is called, the default binding
6306 {@code null}. If it does, the Optional bindings will be absent. Binding
6308 to fall back to the setDefault binding.
6311 user-supplied binding of the same type. If no binding exists, the optionals
6312 will be absent. Otherwise, if a user-supplied binding of that type exists,
6314 if they are bound to a non-null value.
6317 provider, that provider's get method will be called each time the optional
6318 is injected (unless the binding is also scoped, or an optional of provider is
6322 type. Each distinct annotation gets its own independent binding.
6331 <p>With this module, an {@link Optional}{@code <Renamer>} can now be
6332 injected. With no other bindings, the optional will be absent.
6351 With both options, the {@code Optional<Renamer>} will be present and supply the
6363 will supply the DEFAULT_LOOKUP_URL. A user can change this value by binding
6374 It is an error for a user to specify the binding without using OptionalBinder if
6395 <!-- end class com.google.inject.multibindings.OptionalBinder -->
6396 <!-- start interface com.google.inject.multibindings.OptionalBinderBinding -->
6405 <![CDATA[Returns the {@link Key} for this binding.]]>
6408 <method name="getDefaultBinding" return="com.google.inject.Binding&lt;?&gt;"
6413 …<![CDATA[Returns the default binding (set by {@link OptionalBinder#setDefault}) if one exists or n…
6414 if no default binding is set. This will throw {@link UnsupportedOperationException} if it is
6417 The Binding's type will always match the type Optional's generic type. For example, if getKey
6418 returns a key of <code>Optional&lt;String></code>, then this will always return a
6419 <code>Binding&lt;String></code>.]]>
6422 <method name="getActualBinding" return="com.google.inject.Binding&lt;?&gt;"
6427 … <![CDATA[Returns the actual binding (set by {@link OptionalBinder#setBinding}) or null if not set.
6431 The Binding's type will always match the type Optional's generic type. For example, if getKey
6432 returns a key of <code>Optional&lt;String></code>, then this will always return a
6433 <code>Binding&lt;String></code>.]]>
6442 …CDATA[Returns true if this OptionalBinder contains the given Element in order to build the optional
6443 binding or uses the given Element in order to support building and injecting its data. This
6451 <![CDATA[A binding for a OptionalBinder.
6454 {@code T}, {@code Optional<T>}, {@code Optional<Provider<T>>}, etc..), an
6455 OptionalBinderBinding exists only on the Binding associated with the
6456 {@code Optional<T>} key. Other bindings can be validated to be derived from this
6459 @param <T> The fully qualified type of the optional binding, including Optional.
6460 For example: {@code Optional<String>}.
6466 <!-- end interface com.google.inject.multibindings.OptionalBinderBinding -->
6467 <!-- start class com.google.inject.multibindings.ProvidesIntoMap -->
6474 The method's return type, binding annotation and additional key annotation determines
6481 Plugin provideFooUrl(FooManager fm) { return fm.getPlugin(); }
6486 Plugin provideBarUrl(BarManager bm) { return bm.getPlugin(); }
6489 will add two items to the {@code @Named("urls") Map<String, Plugin>} map. The key 'Foo'
6500 <!-- end class com.google.inject.multibindings.ProvidesIntoMap -->
6501 <!-- start class com.google.inject.multibindings.ProvidesIntoOptional -->
6508 The method's return type and binding annotation determines what Optional this will
6521 will set the default value of {@code @Named("url") Optional<String>} to foo's URL,
6528 <!-- end class com.google.inject.multibindings.ProvidesIntoOptional -->
6529 <!-- start class com.google.inject.multibindings.ProvidesIntoOptional.Type -->
6549 <!-- end class com.google.inject.multibindings.ProvidesIntoOptional.Type -->
6550 <!-- start class com.google.inject.multibindings.ProvidesIntoSet -->
6557 The method's return type and binding annotation determines what Set this will
6577 <!-- end class com.google.inject.multibindings.ProvidesIntoSet -->
6578 <!-- start class com.google.inject.multibindings.StringMapKey -->
6589 <!-- end class com.google.inject.multibindings.StringMapKey -->
6592 <!-- start class com.google.inject.name.Named -->
6603 <!-- end class com.google.inject.name.Named -->
6604 <!-- start class com.google.inject.name.Names -->
6625 <![CDATA[Creates a constant binding to {@code @Named(key)} for each entry in
6636 <![CDATA[Creates a constant binding to {@code @Named(key)} for each property. This
6647 <!-- end class com.google.inject.name.Names -->
6650 <!-- start class com.google.inject.persist.PersistFilter -->
6684 guice-persist manage the lifecycle of active units of work.
6689 <p> To be able to use the open session-in-view pattern (i.e. work per request),
6711 and deploy multiple guice-persist modules within the same injector, or even
6719 <!-- end class com.google.inject.persist.PersistFilter -->
6720 <!-- start class com.google.inject.persist.PersistModule -->
6745 <![CDATA[Install this module to add guice-persist library support for JPA persistence
6751 <!-- end class com.google.inject.persist.PersistModule -->
6752 <!-- start interface com.google.inject.persist.PersistService -->
6761 <![CDATA[Starts the underlying persistence engine and makes guice-persist ready for
6764 using any guice-persist or JPA artifacts. If already started,
6788 <!-- end interface com.google.inject.persist.PersistService -->
6789 <!-- start class com.google.inject.persist.Transactional -->
6811 <!-- end class com.google.inject.persist.Transactional -->
6812 <!-- start interface com.google.inject.persist.UnitOfWork -->
6823 units-of-work that nest within one another safely.
6842 work in non-request, non-transactional threads. Or where more fine-grained control over the unit
6848 behind thread-locality of Unit of Work semantics).
6852 <li>Using UnitOfWork with session-per-txn strategy is not terribly clever either.</li>
6853 <li>Using UnitOfWork with session-per-request strategy but *outside* a request (i.e. in a
6860 <!-- end interface com.google.inject.persist.UnitOfWork -->
6863 <!-- start class com.google.inject.persist.finder.DynamicFinder -->
6894 <!-- end class com.google.inject.persist.finder.DynamicFinder -->
6895 <!-- start class com.google.inject.persist.finder.Finder -->
6902 specified JPAQL query. Provides result auto-boxing and automatic parameter binding.
6907 <!-- end class com.google.inject.persist.finder.Finder -->
6908 <!-- start class com.google.inject.persist.finder.FirstResult -->
6921 <!-- end class com.google.inject.persist.finder.FirstResult -->
6922 <!-- start class com.google.inject.persist.finder.MaxResults -->
6935 <!-- end class com.google.inject.persist.finder.MaxResults -->
6938 <!-- start class com.google.inject.persist.jpa.JpaPersistModule -->
6987 <!-- end class com.google.inject.persist.jpa.JpaPersistModule -->
6990 <!-- start class com.google.inject.servlet.GuiceFilter -->
7029 &lt;filter-name&gt;guiceFilter&lt;/filter-name&gt;
7030 &lt;filter-class&gt;<b>com.google.inject.servlet.GuiceFilter</b>&lt;/filter-class&gt;
7033 &lt;filter-mapping&gt;
7034 &lt;filter-name&gt;guiceFilter&lt;/filter-name&gt;
7035 &lt;url-pattern&gt;/*&lt;/url-pattern&gt;
7036 &lt;/filter-mapping&gt;
7047 <!-- end class com.google.inject.servlet.GuiceFilter -->
7048 <!-- start class com.google.inject.servlet.GuiceServletContextListener -->
7088 <!-- end class com.google.inject.servlet.GuiceServletContextListener -->
7089 <!-- start interface com.google.inject.servlet.InstanceFilterBinding -->
7103 <![CDATA[A binding to a single instance of a filter.
7109 <!-- end interface com.google.inject.servlet.InstanceFilterBinding -->
7110 <!-- start interface com.google.inject.servlet.InstanceServletBinding -->
7124 <![CDATA[A binding to a single instance of a servlet.
7130 <!-- end interface com.google.inject.servlet.InstanceServletBinding -->
7131 <!-- start interface com.google.inject.servlet.LinkedFilterBinding -->
7145 <![CDATA[A linked binding to a filter.
7151 <!-- end interface com.google.inject.servlet.LinkedFilterBinding -->
7152 <!-- start interface com.google.inject.servlet.LinkedServletBinding -->
7166 <![CDATA[A linked binding to a servlet.
7172 <!-- end interface com.google.inject.servlet.LinkedServletBinding -->
7173 <!-- start class com.google.inject.servlet.RequestParameters -->
7185 <!-- end class com.google.inject.servlet.RequestParameters -->
7186 <!-- start class com.google.inject.servlet.RequestScoped -->
7197 <!-- end class com.google.inject.servlet.RequestScoped -->
7198 <!-- start interface com.google.inject.servlet.RequestScoper -->
7218 <!-- end interface com.google.inject.servlet.RequestScoper -->
7219 <!-- start interface com.google.inject.servlet.RequestScoper.CloseableScope -->
7233 <!-- end interface com.google.inject.servlet.RequestScoper.CloseableScope -->
7234 <!-- start class com.google.inject.servlet.ScopingException -->
7250 <!-- end class com.google.inject.servlet.ScopingException -->
7251 <!-- start class com.google.inject.servlet.ScopingOnly -->
7264 <!-- end class com.google.inject.servlet.ScopingOnly -->
7265 <!-- start class com.google.inject.servlet.ServletModule -->
7287 and filters with guice-servlet. Think of this as an in-code replacement for web.xml.
7302 any web pages ending in {@code .html}. You can also use a path-style syntax to register
7350 two mapping rules can also be written in more compact form using varargs syntax:
7356 This way you can map several URI patterns to the same servlet. A similar syntax is
7377 using the {@code <init-param>} tag in web.xml. You can similarly pass in parameters to
7378 Servlets and filters registered in Guice-servlet using a {@link java.util.Map} of parameter
7392 <h3>Binding Keys</h3>
7395 implementations with package-local visbility and expose them using
7404 custom binding annotation. Elsewhere (in one of your own modules) you can bind this
7411 See {@link com.google.inject.Binder} for more information on binding syntax.
7417 modules. This is essential if you want to package and offer drop-in Guice plugins that
7458 <![CDATA[@param urlPattern Any Servlet-style pattern. examples: /*, /html/*, *.html, etc.
7468 <![CDATA[@param urlPatterns Any Servlet-style patterns. examples: /*, /html/*, *.html, etc.
7479 <![CDATA[@param regex Any Java-style regular expression.
7489 <![CDATA[@param regexes Any Java-style regular expressions.
7500 <![CDATA[@param urlPattern Any Servlet-style pattern. examples: /*, /html/*, *.html, etc.
7510 <![CDATA[@param urlPatterns Any Servlet-style patterns. examples: /*, /html/*, *.html, etc.
7521 <![CDATA[@param regex Any Java-style regular expression.
7531 <![CDATA[@param regexes Any Java-style regular expressions.
7558 <!-- end class com.google.inject.servlet.ServletModule -->
7559 <!-- start interface com.google.inject.servlet.ServletModule.FilterKeyBindingBuilder -->
7614 <!-- end interface com.google.inject.servlet.ServletModule.FilterKeyBindingBuilder -->
7615 <!-- start interface com.google.inject.servlet.ServletModule.ServletKeyBindingBuilder -->
7670 <!-- end interface com.google.inject.servlet.ServletModule.ServletKeyBindingBuilder -->
7671 <!-- start interface com.google.inject.servlet.ServletModuleBinding -->
7680 <![CDATA[Returns the pattern type that this binding was created with.]]>
7688 <![CDATA[Returns the pattern used to match against the binding.]]>
7696 <![CDATA[Returns any context params supplied when creating the binding.]]>
7705 <![CDATA[Returns true if the given URI will match this binding.]]>
7709 <![CDATA[A binding created by {@link ServletModule}.
7715 <!-- end interface com.google.inject.servlet.ServletModuleBinding -->
7716 <!-- start interface com.google.inject.servlet.ServletModuleTargetVisitor -->
7725 <param name="binding" type="com.google.inject.servlet.LinkedFilterBinding"/>
7727 <![CDATA[Visits a filter binding created by {@link ServletModule#filter}, where
7737 <param name="binding" type="com.google.inject.servlet.InstanceFilterBinding"/>
7739 <![CDATA[Visits a filter binding created by {@link ServletModule#filter} where
7749 <param name="binding" type="com.google.inject.servlet.LinkedServletBinding"/>
7751 <![CDATA[Visits a servlet binding created by {@link ServletModule#serve} where
7761 <param name="binding" type="com.google.inject.servlet.InstanceServletBinding"/>
7763 <![CDATA[Visits a servlet binding created by {@link ServletModule#serve} where
7779 <!-- end interface com.google.inject.servlet.ServletModuleTargetVisitor -->
7780 <!-- start class com.google.inject.servlet.ServletScopes -->
7818 @throws OutOfScopeException if this method is called from a non-request
7840 <p>Because request-scoped objects are not typically thread-safe, the
7849 @throws OutOfScopeException if this method is called from a non-request
7870 <p>Because request-scoped objects are not typically thread-safe, it is
7876 @throws OutOfScopeException if this method is called from a non-request
7885 <param name="binding" type="com.google.inject.Binding&lt;?&gt;"/>
7887 <![CDATA[Returns true if {@code binding} is request-scoped. If the binding is a
7888 {@link com.google.inject.spi.LinkedKeyBinding linked key binding} and
7891 also return true if the target binding is request-scoped.
7906 in non-HTTP requests (for example: RPC requests) as well as in HTTP
7931 exist in non-HTTP requests (for example: RPC requests) as well as in HTTP
7966 <!-- end class com.google.inject.servlet.ServletScopes -->
7967 <!-- start class com.google.inject.servlet.SessionScoped -->
7979 <!-- end class com.google.inject.servlet.SessionScoped -->
7980 <!-- start class com.google.inject.servlet.UriPatternType -->
7997 <![CDATA[An enumeration of the available URI-pattern matching styles
8002 <!-- end class com.google.inject.servlet.UriPatternType -->
8005 <!-- start interface com.google.inject.spi.BindingScopingVisitor -->
8045 no scope is applied to the binding. An unscoped binding will behave like a scoped one when it
8046 is linked to a scoped binding.]]>
8057 <!-- end interface com.google.inject.spi.BindingScopingVisitor -->
8058 <!-- start interface com.google.inject.spi.BindingTargetVisitor -->
8066 <param name="binding" type="com.google.inject.spi.InstanceBinding&lt;? extends T&gt;"/>
8068 …<![CDATA[Visit a instance binding. The same instance is returned for every injection. This target …
8076 … <param name="binding" type="com.google.inject.spi.ProviderInstanceBinding&lt;? extends T&gt;"/>
8078 …<![CDATA[Visit a provider instance binding. The provider's {@code get} method is invoked to resolve
8086 <param name="binding" type="com.google.inject.spi.ProviderKeyBinding&lt;? extends T&gt;"/>
8088 …<![CDATA[Visit a provider key binding. To resolve injections, the provider key is first resolved, …
8097 <param name="binding" type="com.google.inject.spi.LinkedKeyBinding&lt;? extends T&gt;"/>
8099 … <![CDATA[Visit a linked key binding. The other key's binding is used to resolve injections. This
8107 <param name="binding" type="com.google.inject.spi.ExposedBinding&lt;? extends T&gt;"/>
8109 …<![CDATA[Visit a binding to a key exposed from an enclosed private environment. This target is only
8117 <param name="binding" type="com.google.inject.spi.UntargettedBinding&lt;? extends T&gt;"/>
8119 … <![CDATA[Visit an untargetted binding. This target is found only on module bindings. It indicates
8120 that the injector should use its implicit binding strategies to resolve injections.]]>
8127 <param name="binding" type="com.google.inject.spi.ConstructorBinding&lt;? extends T&gt;"/>
8129 …<![CDATA[Visit a constructor binding. To resolve injections, an instance is instantiated by invoki…
8137 … <param name="binding" type="com.google.inject.spi.ConvertedConstantBinding&lt;? extends T&gt;"/>
8139 …<![CDATA[Visit a binding created from converting a bound instance to a new type. The source binding
8140 has the same binding annotation but a different type. This target is found only on injector
8148 <param name="binding" type="com.google.inject.spi.ProviderBinding&lt;? extends T&gt;"/>
8150 …<![CDATA[Visit a binding to a {@link com.google.inject.Provider} that delegates to the binding for…
8162 <!-- end interface com.google.inject.spi.BindingTargetVisitor -->
8163 <!-- start interface com.google.inject.spi.ConstructorBinding -->
8167 <implements name="com.google.inject.Binding&lt;T&gt;"/>
8174 <![CDATA[Gets the constructor this binding injects.]]>
8200 <![CDATA[A binding to the constructor of a concrete clss. To resolve injections, an instance is
8207 <!-- end interface com.google.inject.spi.ConstructorBinding -->
8208 <!-- start interface com.google.inject.spi.ConvertedConstantBinding -->
8212 <implements name="com.google.inject.Binding&lt;T&gt;"/>
8227 <![CDATA[Returns the type converter binding used to convert the constant.
8237 …<![CDATA[Returns the key for the source binding. That binding can be retrieved from an injector us…
8250 …<![CDATA[A binding created from converting a bound instance to a new type. The source binding has …
8251 binding annotation but a different type.
8257 <!-- end interface com.google.inject.spi.ConvertedConstantBinding -->
8258 <!-- start class com.google.inject.spi.DefaultBindingScopingVisitor -->
8299 <![CDATA[No-op visitor for subclassing. All interface methods simply delegate to
8309 <!-- end class com.google.inject.spi.DefaultBindingScopingVisitor -->
8310 <!-- start class com.google.inject.spi.DefaultBindingTargetVisitor -->
8324 <param name="binding" type="com.google.inject.Binding&lt;? extends T&gt;"/>
8384 <![CDATA[No-op visitor for subclassing. All interface methods simply delegate to {@link
8385 #visitOther(Binding)}, returning its result.
8394 <!-- end class com.google.inject.spi.DefaultBindingTargetVisitor -->
8395 <!-- start class com.google.inject.spi.DefaultElementVisitor -->
8424 <param name="binding" type="com.google.inject.Binding&lt;T&gt;"/>
8478 <param name="binding" type="com.google.inject.spi.TypeListenerBinding"/>
8484 <param name="binding" type="com.google.inject.spi.ProvisionListenerBinding"/>
8514 <param name="binding" type="com.google.inject.spi.ModuleAnnotatedMethodScannerBinding"/>
8517 <![CDATA[No-op visitor for subclassing. All interface methods simply delegate to
8527 <!-- end class com.google.inject.spi.DefaultElementVisitor -->
8528 <!-- start class com.google.inject.spi.Dependency -->
8557 <![CDATA[Returns the key to the binding that satisfies this dependency.]]>
8582 …DATA[Returns the index of this dependency in the injection point's parameter list, or {@code -1} if
8614 <!-- end class com.google.inject.spi.Dependency -->
8615 <!-- start class com.google.inject.spi.DependencyAndSource -->
8642 <![CDATA[Returns a string describing where this dependency was bound. If the binding
8643 was just-in-time, there is no valid binding source, so this describes the
8653 <![CDATA[A combination of a {@link Dependency} and the {@link Binding#getSource()
8660 <!-- end class com.google.inject.spi.DependencyAndSource -->
8661 <!-- start class com.google.inject.spi.DisableCircularProxiesOption -->
8691 <!-- end class com.google.inject.spi.DisableCircularProxiesOption -->
8692 <!-- start interface com.google.inject.spi.Element -->
8726 <![CDATA[Writes this module element to the given binder (optional operation).
8749 <!-- end interface com.google.inject.spi.Element -->
8750 <!-- start class com.google.inject.spi.Elements -->
8814 <!-- end class com.google.inject.spi.Elements -->
8815 <!-- start class com.google.inject.spi.ElementSource -->
8861 0 - Binder.bind(),
8862 1 - ModuleTwo.configure(),
8863 2 - Binder.install(),
8864 3 - ModuleOne.configure(),
8865 4 - theRest().
8871 it returns -1 for all module positions.]]>
8913 collecting stack traces for every binding can cause a performance hit when
8930 <!-- end class com.google.inject.spi.ElementSource -->
8931 <!-- start interface com.google.inject.spi.ElementVisitor -->
8939 <param name="binding" type="com.google.inject.Binding&lt;T&gt;"/>
8941 <![CDATA[Visit a mapping from a key (type and optional annotation) to the strategy for getting
8949 <param name="binding" type="com.google.inject.spi.InterceptorBinding"/>
8958 <param name="binding" type="com.google.inject.spi.ScopeBinding"/>
8967 <param name="binding" type="com.google.inject.spi.TypeConverterBinding"/>
9031 <param name="binding" type="com.google.inject.spi.TypeListenerBinding"/>
9033 <![CDATA[Visit an injectable type listener binding.]]>
9040 <param name="binding" type="com.google.inject.spi.ProvisionListenerBinding"/>
9042 <![CDATA[Visit a provision listener binding.
9086 <![CDATA[Visit a require exact binding annotations command.
9095 <param name="binding" type="com.google.inject.spi.ModuleAnnotatedMethodScannerBinding"/>
9111 <!-- end interface com.google.inject.spi.ElementVisitor -->
9112 <!-- start interface com.google.inject.spi.ExposedBinding -->
9116 <implements name="com.google.inject.Binding&lt;T&gt;"/>
9123 <![CDATA[Returns the enclosed environment that holds the original binding.]]>
9136 <![CDATA[A binding to a key exposed from an enclosed private environment.
9142 <!-- end interface com.google.inject.spi.ExposedBinding -->
9143 <!-- start interface com.google.inject.spi.HasDependencies -->
9160 …<![CDATA[Implemented by {@link com.google.inject.Binding bindings}, {@link com.google.inject.Provi…
9167 <!-- end interface com.google.inject.spi.HasDependencies -->
9168 <!-- start interface com.google.inject.spi.InjectionListener -->
9185 injections, post-injection initialization, and more.
9192 <!-- end interface com.google.inject.spi.InjectionListener -->
9193 <!-- start class com.google.inject.spi.InjectionPoint -->
9215 @return a possibly-empty list]]>
9226 constructors etc.) may be used to satisfy optional injection points.]]>
9306 or a no-arguments constructor that is not private.
9309 parameter with multiple binding annotations.]]>
9321 or a no-arguments constructor that is not private.
9324 parameter with multiple binding annotations.]]>
9356 a field with multiple binding annotations. The exception's {@link
9373 a field with multiple binding annotations. The exception's {@link
9390 a field with multiple binding annotations. The exception's {@link
9407 a field with multiple binding annotations. The exception's {@link
9414 {@literal @}{@link Inject} annotation. For non-private, no argument constructors, the member may
9421 <!-- end class com.google.inject.spi.InjectionPoint -->
9422 <!-- start class com.google.inject.spi.InjectionRequest -->
9460 instance}, such as a field with multiple binding annotations. The exception's {@link
9488 <!-- end class com.google.inject.spi.InjectionRequest -->
9489 <!-- start interface com.google.inject.spi.InstanceBinding -->
9493 <implements name="com.google.inject.Binding&lt;T&gt;"/>
9500 <![CDATA[Returns the user-supplied instance.]]>
9508 …<![CDATA[Returns the field and method injection points of the instance, injected at injector-creat…
9515 <![CDATA[A binding to a single instance. The same instance is returned for every injection.
9521 <!-- end interface com.google.inject.spi.InstanceBinding -->
9522 <!-- start class com.google.inject.spi.InterceptorBinding -->
9576 <!-- end class com.google.inject.spi.InterceptorBinding -->
9577 <!-- start interface com.google.inject.spi.LinkedKeyBinding -->
9581 <implements name="com.google.inject.Binding&lt;T&gt;"/>
9587 … <![CDATA[Returns the linked key used to resolve injections. That binding can be retrieved from an
9592 <![CDATA[A binding to a linked key. The other key's binding is used to resolve injections.
9598 <!-- end interface com.google.inject.spi.LinkedKeyBinding -->
9599 <!-- start class com.google.inject.spi.MembersInjectorLookup -->
9676 <!-- end class com.google.inject.spi.MembersInjectorLookup -->
9677 <!-- start class com.google.inject.spi.Message -->
9779 } catch (IOException e) {
9786 <!-- end class com.google.inject.spi.Message -->
9787 <!-- start class com.google.inject.spi.ModuleAnnotatedMethodScanner -->
9802 annotations will create a Provider binding, with the return value of the binding being what's
9815 …<![CDATA[Prepares a method for binding. This {@code key} parameter is the key discovered from look…
9816 the binding annotation and return value of the method. Implementations can modify the key to
9819 instead of binding {@code String}.
9834 <!-- end class com.google.inject.spi.ModuleAnnotatedMethodScanner -->
9835 <!-- start class com.google.inject.spi.ModuleAnnotatedMethodScannerBinding -->
9879 <!-- end class com.google.inject.spi.ModuleAnnotatedMethodScannerBinding -->
9880 <!-- start interface com.google.inject.spi.PrivateElements -->
9934 <!-- end interface com.google.inject.spi.PrivateElements -->
9935 <!-- start interface com.google.inject.spi.ProviderBinding -->
9939 <implements name="com.google.inject.Binding&lt;T&gt;"/>
9945 …<![CDATA[Returns the key whose binding is used to {@link Provider#get provide instances}. That bin…
9951 …<![CDATA[A binding to a {@link Provider} that delegates to the binding for the provided type. This…
9958 <!-- end interface com.google.inject.spi.ProviderBinding -->
9959 <!-- start interface com.google.inject.spi.ProviderInstanceBinding -->
9963 <implements name="com.google.inject.Binding&lt;T&gt;"/>
9970 … <![CDATA[If the user supplied a JSR330 binding, then this will wrap that one. To always return the
9971 user-supplied provider, use {@link #getUserSuppliedProvider}.
9981 <![CDATA[Returns the user-supplied, unscoped provider.
9990 …<![CDATA[Returns the field and method injection points of the provider, injected at injector-creat…
9997 … <![CDATA[A binding to a provider instance. The provider's {@code get} method is invoked to resolve
10004 <!-- end interface com.google.inject.spi.ProviderInstanceBinding -->
10005 <!-- start interface com.google.inject.spi.ProviderKeyBinding -->
10009 <implements name="com.google.inject.Binding&lt;T&gt;"/>
10015 …<![CDATA[Returns the key used to resolve the provider's binding. That binding can be retrieved fro…
10021 …<![CDATA[A binding to a provider key. To resolve injections, the provider key is first resolved, t…
10028 <!-- end interface com.google.inject.spi.ProviderKeyBinding -->
10029 <!-- start class com.google.inject.spi.ProviderLookup -->
10117 <!-- end class com.google.inject.spi.ProviderLookup -->
10118 <!-- start interface com.google.inject.spi.ProviderWithDependencies -->
10131 <!-- end interface com.google.inject.spi.ProviderWithDependencies -->
10132 <!-- start interface com.google.inject.spi.ProviderWithExtensionVisitor -->
10142 … <param name="binding" type="com.google.inject.spi.ProviderInstanceBinding&lt;? extends B&gt;"/>
10147 call visitor.visit(binding).
10160 {@link Binding#acceptTargetVisitor(BindingTargetVisitor)} method to visit a
10164 …onVisitor(BindingTargetVisitor&lt;B, V> visitor, ProviderInstanceBinding&lt;? extends B> binding) {
10166 …eturn ((MyCustomExtensionVisitor&lt;B, V>)visitor).visitCustomExtension(customProperties, binding);
10168 return visitor.visit(binding);
10180 <!-- end interface com.google.inject.spi.ProviderWithExtensionVisitor -->
10181 <!-- start interface com.google.inject.spi.ProvidesMethodBinding -->
10191 <![CDATA[Returns the method this binding uses.]]>
10207 <![CDATA[Returns the key of the binding.]]>
10215 …<![CDATA[Returns the annotation that caused this binding to be created. For {@code @Provides} meth…
10218 the binding.]]>
10222 <![CDATA[An {@literal @}{@link Provides} binding or binding produced by a
10229 <!-- end interface com.google.inject.spi.ProvidesMethodBinding -->
10230 <!-- start interface com.google.inject.spi.ProvidesMethodTargetVisitor -->
10254 <!-- end interface com.google.inject.spi.ProvidesMethodTargetVisitor -->
10255 <!-- start interface com.google.inject.spi.ProvisionListener -->
10266 when Guice locates and injects the dependencies for a binding. For types
10283 about provisioning, post-provision initialization, and more.
10289 <!-- end interface com.google.inject.spi.ProvisionListener -->
10290 <!-- start class com.google.inject.spi.ProvisionListener.ProvisionInvocation -->
10299 <method name="getBinding" return="com.google.inject.Binding&lt;T&gt;"
10304 <![CDATA[Returns the Binding this is provisioning.
10307 {@link Binding#getProvider}, otherwise you will get confusing error messages.]]>
10332 <!-- end class com.google.inject.spi.ProvisionListener.ProvisionInvocation -->
10333 <!-- start class com.google.inject.spi.ProvisionListenerBinding -->
10347 …tcher" return="com.google.inject.matcher.Matcher&lt;? super com.google.inject.Binding&lt;?&gt;&gt;"
10352 …<![CDATA[Returns the binding matcher which chooses which bindings the listener should be notified …
10380 <!-- end class com.google.inject.spi.ProvisionListenerBinding -->
10381 <!-- start class com.google.inject.spi.RequireAtInjectOnConstructorsOption -->
10411 <!-- end class com.google.inject.spi.RequireAtInjectOnConstructorsOption -->
10412 <!-- start class com.google.inject.spi.RequireExactBindingAnnotationsOption -->
10436 <![CDATA[A request to require exact binding annotations.
10442 <!-- end class com.google.inject.spi.RequireExactBindingAnnotationsOption -->
10443 <!-- start class com.google.inject.spi.RequireExplicitBindingsOption -->
10473 <!-- end class com.google.inject.spi.RequireExplicitBindingsOption -->
10474 <!-- start class com.google.inject.spi.ScopeBinding -->
10519 <!-- end class com.google.inject.spi.ScopeBinding -->
10520 <!-- start class com.google.inject.spi.StaticInjectionRequest -->
10549 a field with multiple binding annotations. The exception's {@link
10577 <!-- end class com.google.inject.spi.StaticInjectionRequest -->
10578 <!-- start class com.google.inject.spi.Toolable -->
10596 <!-- end class com.google.inject.spi.Toolable -->
10597 <!-- start interface com.google.inject.spi.TypeConverter -->
10618 <!-- end interface com.google.inject.spi.TypeConverter -->
10619 <!-- start class com.google.inject.spi.TypeConverterBinding -->
10675 <!-- end class com.google.inject.spi.TypeConverterBinding -->
10676 <!-- start interface com.google.inject.spi.TypeEncounter -->
10701 something that you worry may fail, you should catch the exception and pass it to this method.]]>
10796 <li>And the method is package-private or more accessible</li>
10806 listeners and binding method interceptors for injectable type {@code I}. It is an error to use
10814 <!-- end interface com.google.inject.spi.TypeEncounter -->
10815 <!-- start interface com.google.inject.spi.TypeListener -->
10828 creates a JIT binding).
10832 listeners and binding method interceptors for {@code type}.
10845 binding method interceptors}.
10850 <!-- end interface com.google.inject.spi.TypeListener -->
10851 <!-- start class com.google.inject.spi.TypeListenerBinding -->
10901 <!-- end class com.google.inject.spi.TypeListenerBinding -->
10902 <!-- start interface com.google.inject.spi.UntargettedBinding -->
10906 <implements name="com.google.inject.Binding&lt;T&gt;"/>
10908 …<![CDATA[An untargetted binding. This binding indicates that the injector should use its implicit
10915 <!-- end interface com.google.inject.spi.UntargettedBinding -->
10918 <!-- start class com.google.inject.spring.SpringIntegration -->
10931 Expects a binding to {@link
10948 named "foo", this method creates a binding to the bean's type and
10961 <!-- end class com.google.inject.spring.SpringIntegration -->
10964 <!-- start class com.google.inject.struts2.GuiceObjectFactory -->
11004 <!-- end class com.google.inject.struts2.GuiceObjectFactory -->
11005 <!-- start class com.google.inject.struts2.Struts2Factory -->
11049 <!-- end class com.google.inject.struts2.Struts2Factory -->
11050 <!-- start class com.google.inject.struts2.Struts2GuicePluginModule -->
11065 <![CDATA[Initializes the Struts 2 Guice Plugin. Must be added to the injector returned
11071 <!-- end class com.google.inject.struts2.Struts2GuicePluginModule -->
11074 <!-- start class com.google.inject.testing.fieldbinder.Bind -->
11083 <p>Binding to {@code null} is only allowed for fields that are annotated {@code @Nullable}. See
11090 <!-- end class com.google.inject.testing.fieldbinder.Bind -->
11091 <!-- start class com.google.inject.testing.fieldbinder.BoundFieldModule -->
11143 {@code Provider<Integer>} binds to {@link Integer}. Attempting to bind a non-parameterized
11178 <!-- end class com.google.inject.testing.fieldbinder.BoundFieldModule -->
11181 <!-- start interface com.google.inject.throwingproviders.CheckedProvider -->
11195 <p>This interface must be extended to use application-specific exception types.
11210 <!-- end interface com.google.inject.throwingproviders.CheckedProvider -->
11211 <!-- start class com.google.inject.throwingproviders.CheckedProvides -->
11218 {@link CheckedProvider} method binding that can throw exceptions. The
11229 <!-- end class com.google.inject.throwingproviders.CheckedProvides -->
11230 <!-- start class com.google.inject.throwingproviders.ThrowingInject -->
11247 <!-- end class com.google.inject.throwingproviders.ThrowingInject -->
11248 <!-- start interface com.google.inject.throwingproviders.ThrowingProvider -->
11263 <p>This interface must be extended to use application-specific exception types.
11278 <!-- end interface com.google.inject.throwingproviders.ThrowingProvider -->
11279 <!-- start class com.google.inject.throwingproviders.ThrowingProviderBinder -->
11332 <![CDATA[<p>Builds a binding for a {@link CheckedProvider}.
11366 <!-- end class com.google.inject.throwingproviders.ThrowingProviderBinder -->
11367 <!-- start class com.google.inject.throwingproviders.ThrowingProviderBinder.SecondaryBinder -->
11437 <!-- end class com.google.inject.throwingproviders.ThrowingProviderBinder.SecondaryBinder -->
11440 <!-- start interface com.google.inject.tools.jmx.ManagedBindingMBean -->
11449 <![CDATA[Gets the source of this binding.]]>
11457 <![CDATA[Gets the provider to which this binding is bound.]]>
11465 <![CDATA[Gets the binding key.]]>
11474 <!-- end interface com.google.inject.tools.jmx.ManagedBindingMBean -->
11475 <!-- start class com.google.inject.tools.jmx.Manager -->
11523 <!-- end class com.google.inject.tools.jmx.Manager -->
11526 <!-- start class com.google.inject.util.Modules -->
11538 modules. If a key is bound in both sets of modules, only the binding from the override modules
11560 modules. If a key is bound in both sets of modules, only the binding from the override modules
11605 <!-- end class com.google.inject.util.Modules -->
11606 <!-- start interface com.google.inject.util.Modules.OverriddenModuleBuilder -->
11632 <!-- end interface com.google.inject.util.Modules.OverriddenModuleBuilder -->
11633 <!-- start class com.google.inject.util.Providers -->
11650 life a Guice-supplied Provider will never return null.]]>
11659 <![CDATA[Returns a Guice-friendly {@code com.google.inject.Provider} for the given
11660 JSR-330 {@code javax.inject.Provider}. The converse method is unnecessary,
11661 since Guice providers directly implement the JSR-330 interface.
11674 <!-- end class com.google.inject.util.Providers -->
11675 <!-- start class com.google.inject.util.Types -->
11822 <!-- end class com.google.inject.util.Types -->