• 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 Tue Apr 28 17:33:25 EDT 2015 -->
7 xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
12-- Command line arguments = -doclet jdiff.JDiff -docletpath /usr/local/google/home/cgdecker/Proj…
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,
690 have a no-args constructor if no {@literal @}{@link Inject} annotation exists on any
704 <![CDATA[Requires that Guice finds an exactly matching binding annotation. This disables the
705 error-prone feature in Guice where it can substitute a binding for
733 <h3>The Guice Binding EDSL</h3>
735 Guice uses an <i>embedded domain-specific language</i>, or EDSL, to help you
738 learn how to use the Binding EDSL by reading
739 method-level javadocs</b>. Instead, you should consult the series of
751 Guice may be unable to validate a binding at injector creation time unless it
757 Specifies that a request for a {@code Service} instance with no binding
769 {@code Provider<Service>}. This binding specifies that Guice should resolve
779 -- "letting Guice work for you".
785 the binding annotation {@code @Red}. If your module also includes bindings
787 then this binding will serve as a "catch-all" for any values of {@code @Red}
799 binding is qualified by an annotation as in the previous example. Guice is
808 servlet-specific scopes available in
840 Sets up a constant binding. Constant injections must always be annotated.
841 When a constant binding's value is a string, it is eligile for conversion to
853 If your binding annotation has parameters you can apply different bindings to
855 right instance of the annotation is a bit of a pain -- one approach, shown
866 Guice's library support, binding by name is quite easier than in the
867 arbitrary binding annotation case we just saw. However, remember that these
891 {@link #addError} and {@link #currentStage} are not part of the Binding EDSL;
900 <!-- end interface com.google.inject.Binder -->
901 <!-- start interface com.google.inject.Binding -->
902 <interface name="Binding" abstract="true"
911 <![CDATA[Returns the key for this binding.]]>
920 binding.
922 @throws UnsupportedOperationException when invoked on a {@link Binding}
924 method is only supported on {@link Binding}s returned from an injector.]]>
933 … <![CDATA[Accepts a target visitor. Invokes the visitor method specific to this binding's target.
945 … <![CDATA[Accepts a scoping visitor. Invokes the visitor method specific to this binding's scoping.
952 …<![CDATA[A mapping from a key (type and optional annotation) to the strategy for getting instances…
967 <li>For {@link Provider providers}, by delegating to the binding for the provided type.</li>
980 necessary to satisfy a binding.</li>
989 <!-- end interface com.google.inject.Binding -->
990 <!-- start class com.google.inject.BindingAnnotation -->
996 <![CDATA[Annotates annotations which are used for binding. Only one such annotation
1010 <!-- end class com.google.inject.BindingAnnotation -->
1011 <!-- start class com.google.inject.ConfigurationException -->
1058 …<![CDATA[Thrown when a programming error such as a misplaced annotation, illegal binding, or unsup…
1059 scope is found. Clients should catch this exception, log it, and stop execution.
1065 <!-- end class com.google.inject.ConfigurationException -->
1066 <!-- start class com.google.inject.CreationException -->
1093 errors. Clients should catch this exception, log it, and stop execution.
1098 <!-- end class com.google.inject.CreationException -->
1099 <!-- start class com.google.inject.Exposed -->
1106 private module to indicate that the provided binding is exposed.
1112 <!-- end class com.google.inject.Exposed -->
1113 <!-- start class com.google.inject.Guice -->
1200 <!-- end class com.google.inject.Guice -->
1201 <!-- start class com.google.inject.ImplementedBy -->
1212 <!-- end class com.google.inject.ImplementedBy -->
1213 <!-- start class com.google.inject.Inject -->
1229 <li>Pre-constructed instances passed to {@link Injector#injectMembers},
1245 <!-- end class com.google.inject.Inject -->
1246 <!-- start interface com.google.inject.Injector -->
1300 …s" return="java.util.Map&lt;com.google.inject.Key&lt;?&gt;, com.google.inject.Binding&lt;?&gt;&gt;"
1315 …s" return="java.util.Map&lt;com.google.inject.Key&lt;?&gt;, com.google.inject.Binding&lt;?&gt;&gt;"
1321 just-in-time</strong>. The returned map is immutable; it contains only the bindings that were
1323 additional just-in-time bindings.
1333 <method name="getBinding" return="com.google.inject.Binding&lt;T&gt;"
1339 …<![CDATA[Returns the binding for the given injection key. This will be an explicit bindings if the…
1340 was bound explicitly by a module, or an implicit binding otherwise. The implicit binding will
1345 @throws ConfigurationException if this injector cannot find or create the binding.]]>
1348 <method name="getBinding" return="com.google.inject.Binding&lt;T&gt;"
1354 …<![CDATA[Returns the binding for the given type. This will be an explicit bindings if the injectio…
1355 was bound explicitly by a module, or an implicit binding otherwise. The implicit binding will
1360 @throws ConfigurationException if this injector cannot find or create the binding.
1364 <method name="getExistingBinding" return="com.google.inject.Binding&lt;T&gt;"
1370 <![CDATA[Returns the binding if it already exists, or null if does not exist. Unlike
1371 {@link #getBinding(Key)}, this does not attempt to create just-in-time bindings
1379 …<method name="findBindingsByType" return="java.util.List&lt;com.google.inject.Binding&lt;T&gt;&gt;"
1449 <![CDATA[Returns this injector's parent, or {@code null} if this is a top-level injector.
1461 interceptors and type converters are inherited -- they are visible to the child injector.
1464 <p>Just-in-time bindings created for child injectors will be created in an ancestor injector
1466 explicit bindings to prevent bindings from being shared with the parent injector. Optional
1467 injections in just-in-time bindings (created in the parent injector) may be silently
1468 ignored if the optional dependencies are from the child injector.
1470 <p>No key may be bound by both an injector and one of its ancestors. This includes just-in-time
1484 interceptors and type converters are inherited -- they are visible to the child injector.
1487 <p>Just-in-time bindings created for child injectors will be created in an ancestor injector
1491 <p>No key may be bound by both an injector and one of its ancestors. This includes just-in-time
1528 interact with it directly. This "behind-the-scenes" operation is what distinguishes dependency
1535 <li>A {@code Provider<T>} for each binding of type {@code T}
1543 already-constructed instances. This can be used to interoperate with objects created by other
1556 <!-- end interface com.google.inject.Injector -->
1557 <!-- start class com.google.inject.Key -->
1572 <p>Example usage for a binding of type {@code Foo} annotated with
1588 <p>Example usage for a binding of type {@code Foo} annotated with
1604 <p>Example usage for a binding of type {@code Foo}:
1794 <![CDATA[Binding key consisting of an injection type and an optional annotation.
1817 <!-- end class com.google.inject.Key -->
1818 <!-- start interface com.google.inject.MembersInjector -->
1849 <!-- end interface com.google.inject.MembersInjector -->
1850 <!-- start interface com.google.inject.Module -->
1869 bindings, which will be used to create an {@link Injector}. A Guice-based
1873 <p>Your Module classes can use a more streamlined syntax by extending
1878 Use scope and binding annotations on these methods to configure the
1882 <!-- end interface com.google.inject.Module -->
1883 <!-- start class com.google.inject.OutOfScopeException -->
1908 <!-- end class com.google.inject.OutOfScopeException -->
1909 <!-- start interface com.google.inject.PrivateBinder -->
1920 <![CDATA[Makes the binding for {@code key} available to the enclosing environment]]>
1929 <![CDATA[Makes a binding for {@code type} available to the enclosing environment. Use {@link
1931 binding annotation.]]>
1940 <![CDATA[Makes a binding for {@code type} available to the enclosing environment. Use {@link
1942 binding annotation.]]>
1965 <!-- end interface com.google.inject.PrivateBinder -->
1966 <!-- start class com.google.inject.PrivateModule -->
1997 <![CDATA[Makes the binding for {@code key} available to other modules and the injector.]]>
2006 … <![CDATA[Makes a binding for {@code type} available to other modules and the injector. Use {@link
2008 binding annotation.]]>
2017 … <![CDATA[Makes a binding for {@code type} available to other modules and the injector. Use {@link
2019 binding annotation.]]>
2147 <![CDATA[Instructs Guice to require a binding to the given key.]]>
2156 <![CDATA[Instructs Guice to require a binding to the given type.]]>
2227 …tcher" type="com.google.inject.matcher.Matcher&lt;? super com.google.inject.Binding&lt;?&gt;&gt;"/>
2270 injectors}. When it can satisfy their dependencies, just-in-time bindings will be created in the
2273 <p>The scope of a binding is constrained to its environment. A singleton bound in a private
2274 module will be unique to its environment. But a binding for the same type in a different private
2277 <p>A shared binding that injects the {@code Injector} gets the root injector, which only has
2278 access to bindings in the root environment. An explicit binding that injects the {@code Injector}
2281 <p>To promote a just-in-time binding to an explicit binding, bind it:
2290 <!-- end class com.google.inject.PrivateModule -->
2291 <!-- start class com.google.inject.ProvidedBy -->
2302 <!-- end class com.google.inject.ProvidedBy -->
2303 <!-- start interface com.google.inject.Provider -->
2327 is insufficient for a particular binding, the module can specify a custom {@code Provider}
2328 instead, to control exactly how Guice creates or obtains instances for the binding.
2348 <!-- end interface com.google.inject.Provider -->
2349 <!-- start class com.google.inject.Provides -->
2355 …<![CDATA[Annotates methods of a {@link Module} to create a provider method binding. The method's r…
2362 <!-- end class com.google.inject.Provides -->
2363 <!-- start class com.google.inject.ProvisionException -->
2404 <!-- end class com.google.inject.ProvisionException -->
2405 <!-- start interface com.google.inject.Scope -->
2424 @param key binding key
2446 meaning it has no state from the framework's perspective -- the
2449 binding allows the created instance to be "remembered" and possibly used
2457 <!-- end interface com.google.inject.Scope -->
2458 <!-- start class com.google.inject.ScopeAnnotation -->
2478 <!-- end class com.google.inject.ScopeAnnotation -->
2479 <!-- start class com.google.inject.Scopes -->
2488 <param name="binding" type="com.google.inject.Binding&lt;?&gt;"/>
2490 <![CDATA[Returns true if {@code binding} is singleton-scoped. If the binding is a {@link
2491 com.google.inject.spi.LinkedKeyBinding linked key binding} and belongs to an injector (ie. it
2493 also true if the target binding is singleton-scoped.
2502 <param name="binding" type="com.google.inject.Binding&lt;?&gt;"/>
2506 <![CDATA[Returns true if {@code binding} has the given scope. If the binding is a {@link
2507 com.google.inject.spi.LinkedKeyBinding linked key binding} and belongs to an injector (ie. it
2509 also true if the target binding has the given scope.
2511 @param binding binding to check
2549 binding arrives it will need to obtain the instance over again.
2553 this to "no scope" in your binding.
2559 <![CDATA[Built-in scope implementations.
2564 <!-- end class com.google.inject.Scopes -->
2565 <!-- start class com.google.inject.Singleton -->
2572 (per {@link Injector}) to be reused for all injections for that binding.
2577 <!-- end class com.google.inject.Singleton -->
2578 <!-- start class com.google.inject.Stage -->
2600 <!-- end class com.google.inject.Stage -->
2601 <!-- start class com.google.inject.TypeLiteral -->
2623 <![CDATA[Returns the raw (non-generic) type for this type.
2758 <!-- end class com.google.inject.TypeLiteral -->
2761 <!-- start class com.google.inject.assistedinject.Assisted -->
2773 <!-- end class com.google.inject.assistedinject.Assisted -->
2774 <!-- start class com.google.inject.assistedinject.AssistedInject -->
2805 <!-- end class com.google.inject.assistedinject.AssistedInject -->
2806 <!-- start interface com.google.inject.assistedinject.AssistedInjectBinding -->
2815 <![CDATA[Returns the {@link Key} for the factory binding.]]>
2827 <![CDATA[A binding for a factory created by FactoryModuleBuilder.
2835 <!-- end interface com.google.inject.assistedinject.AssistedInjectBinding -->
2836 <!-- start interface com.google.inject.assistedinject.AssistedInjectTargetVisitor -->
2860 <!-- end interface com.google.inject.assistedinject.AssistedInjectTargetVisitor -->
2861 <!-- start interface com.google.inject.assistedinject.AssistedMethod -->
2896 <![CDATA[Returns all non-assisted dependencies required to construct and inject
2907 <!-- end interface com.google.inject.assistedinject.AssistedMethod -->
2908 <!-- start class com.google.inject.assistedinject.FactoryModuleBuilder -->
3090 … <![CDATA[Provides a factory that combines the caller's arguments with injector-supplied values to
3106 Inject}-annotated constructor. In addition to injector-supplied parameters, the constructor
3107 should have parameters that match each of the factory method's parameters. Each factory-supplied
3160 As a side-effect of this binding, Guice will inject the factory to initialize it for use. The
3244 To return two different implementations for the same interface from your factory, use binding
3267 <!-- end class com.google.inject.assistedinject.FactoryModuleBuilder -->
3268 <!-- start class com.google.inject.assistedinject.FactoryProvider -->
3314 <p>Provides a factory that combines the caller's arguments with injector-supplied values to
3327 {@code constructedType} is a concrete class with an {@literal @}{@link Inject}-annotated
3328 constructor. In addition to injector-supplied parameters, the constructor should have
3329 parameters that match each of the factory method's parameters. Each factory-supplied parameter
3349 As a side-effect of this binding, Guice will inject the factory to initialize it for use. The
3395 {@literal @}{@link AssistedInject}. This triggers a limited backwards-compatability mode.
3403 method interception. They do receive post-construction member injection.
3414 <!-- end class com.google.inject.assistedinject.FactoryProvider -->
3417 <!-- start interface com.google.inject.binder.AnnotatedBindingBuilder -->
3446 <!-- end interface com.google.inject.binder.AnnotatedBindingBuilder -->
3447 <!-- start interface com.google.inject.binder.AnnotatedConstantBindingBuilder -->
3475 <!-- end interface com.google.inject.binder.AnnotatedConstantBindingBuilder -->
3476 <!-- start interface com.google.inject.binder.AnnotatedElementBuilder -->
3505 <!-- end interface com.google.inject.binder.AnnotatedElementBuilder -->
3506 <!-- start interface com.google.inject.binder.ConstantBindingBuilder -->
3615 <!-- end interface com.google.inject.binder.ConstantBindingBuilder -->
3616 <!-- start interface com.google.inject.binder.LinkedBindingBuilder -->
3738 <!-- end interface com.google.inject.binder.LinkedBindingBuilder -->
3739 <!-- start interface com.google.inject.binder.ScopedBindingBuilder -->
3767 singleton-scoped binding upon creation. Useful for application
3778 <!-- end interface com.google.inject.binder.ScopedBindingBuilder -->
3781 <!-- start class com.google.inject.daggeradapter.DaggerAdapter -->
3811 expected to be recreated on-demand with new Module instances), Guice typically
3814 <li>Dagger 1.x uses {@link @Singleton} for all scopes, including shorter-lived scopes
3815 like per-request or per-activity. Using modules written with Dagger 1.x usage
3816 in mind may result in mis-scoped objects.
3825 <!-- end class com.google.inject.daggeradapter.DaggerAdapter -->
3828 <!-- start class com.google.inject.grapher.AbstractInjectorGrapher -->
3913 <![CDATA[Adds a new binding edge to the graph.]]>
3932 <!-- end class com.google.inject.grapher.AbstractInjectorGrapher -->
3933 <!-- start class com.google.inject.grapher.AbstractInjectorGrapher.GrapherParameters -->
3991 <!-- end class com.google.inject.grapher.AbstractInjectorGrapher.GrapherParameters -->
3992 <!-- start class com.google.inject.grapher.Alias -->
4019 <!-- end class com.google.inject.grapher.Alias -->
4020 <!-- start interface com.google.inject.grapher.AliasCreator -->
4028 <param name="bindings" type="java.lang.Iterable&lt;com.google.inject.Binding&lt;?&gt;&gt;"/>
4046 <!-- end interface com.google.inject.grapher.AliasCreator -->
4047 <!-- start class com.google.inject.grapher.BindingEdge -->
4091 <!-- end class com.google.inject.grapher.BindingEdge -->
4092 <!-- start class com.google.inject.grapher.BindingEdge.Type -->
4109 <![CDATA[Classification for what kind of binding this edge represents.]]>
4112 <!-- end class com.google.inject.grapher.BindingEdge.Type -->
4113 <!-- start class com.google.inject.grapher.DefaultRootKeySetCreator -->
4137 <!-- end class com.google.inject.grapher.DefaultRootKeySetCreator -->
4138 <!-- start class com.google.inject.grapher.DependencyEdge -->
4183 <!-- end class com.google.inject.grapher.DependencyEdge -->
4184 <!-- start class com.google.inject.grapher.Edge -->
4235 <!-- end class com.google.inject.grapher.Edge -->
4236 <!-- start interface com.google.inject.grapher.EdgeCreator -->
4244 <param name="bindings" type="java.lang.Iterable&lt;com.google.inject.Binding&lt;?&gt;&gt;"/>
4257 <!-- end interface com.google.inject.grapher.EdgeCreator -->
4258 <!-- start class com.google.inject.grapher.ImplementationNode -->
4304 <!-- end class com.google.inject.grapher.ImplementationNode -->
4305 <!-- start interface com.google.inject.grapher.InjectorGrapher -->
4339 <!-- end interface com.google.inject.grapher.InjectorGrapher -->
4340 <!-- start class com.google.inject.grapher.InstanceNode -->
4388 <!-- end class com.google.inject.grapher.InstanceNode -->
4389 <!-- start class com.google.inject.grapher.InterfaceNode -->
4423 <!-- end class com.google.inject.grapher.InterfaceNode -->
4424 <!-- start interface com.google.inject.grapher.NameFactory -->
4461 {@link com.google.inject.Binding}s.
4466 <!-- end interface com.google.inject.grapher.NameFactory -->
4467 <!-- start class com.google.inject.grapher.Node -->
4516 <!-- end class com.google.inject.grapher.Node -->
4517 <!-- start interface com.google.inject.grapher.NodeCreator -->
4525 <param name="bindings" type="java.lang.Iterable&lt;com.google.inject.Binding&lt;?&gt;&gt;"/>
4537 <!-- end interface com.google.inject.grapher.NodeCreator -->
4538 <!-- start class com.google.inject.grapher.NodeId -->
4587 <!-- end class com.google.inject.grapher.NodeId -->
4588 <!-- start class com.google.inject.grapher.NodeId.NodeType -->
4610 <!-- end class com.google.inject.grapher.NodeId.NodeType -->
4611 <!-- start interface com.google.inject.grapher.RootKeySetCreator -->
4632 <!-- end interface com.google.inject.grapher.RootKeySetCreator -->
4633 <!-- start class com.google.inject.grapher.ShortNameFactory -->
4674 a {@link StackTraceElement} for when the binding is made to the instance,
4698 <!-- end class com.google.inject.grapher.ShortNameFactory -->
4699 <!-- start class com.google.inject.grapher.TransitiveDependencyVisitor -->
4712 <param name="binding" type="com.google.inject.spi.ConstructorBinding&lt;?&gt;"/>
4718 <param name="binding" type="com.google.inject.spi.ConvertedConstantBinding&lt;?&gt;"/>
4724 <param name="binding" type="com.google.inject.spi.InstanceBinding&lt;?&gt;"/>
4730 <param name="binding" type="com.google.inject.spi.LinkedKeyBinding&lt;?&gt;"/>
4736 <param name="binding" type="com.google.inject.spi.ProviderBinding&lt;?&gt;"/>
4742 <param name="binding" type="com.google.inject.spi.ProviderInstanceBinding&lt;?&gt;"/>
4748 <param name="binding" type="com.google.inject.spi.ProviderKeyBinding&lt;?&gt;"/>
4754 <param name="binding" type="com.google.inject.Binding&lt;?&gt;"/>
4761 {@link Collection} of the {@link Key}s of each {@link Binding}'s
4763 from a starting set of {@link Binding}s.
4768 <!-- end class com.google.inject.grapher.TransitiveDependencyVisitor -->
4771 <!-- start class com.google.inject.grapher.graphviz.ArrowType -->
4801 <!-- end class com.google.inject.grapher.graphviz.ArrowType -->
4802 <!-- start class com.google.inject.grapher.graphviz.CompassPoint -->
4832 <!-- end class com.google.inject.grapher.graphviz.CompassPoint -->
4833 <!-- start class com.google.inject.grapher.graphviz.EdgeStyle -->
4862 <!-- end class com.google.inject.grapher.graphviz.EdgeStyle -->
4863 <!-- start class com.google.inject.grapher.graphviz.GraphvizEdge -->
4972 <!-- end class com.google.inject.grapher.graphviz.GraphvizEdge -->
4973 <!-- start class com.google.inject.grapher.graphviz.GraphvizGrapher -->
5121 <!-- end class com.google.inject.grapher.graphviz.GraphvizGrapher -->
5122 <!-- start class com.google.inject.grapher.graphviz.GraphvizModule -->
5142 <!-- end class com.google.inject.grapher.graphviz.GraphvizModule -->
5143 <!-- start class com.google.inject.grapher.graphviz.GraphvizNode -->
5266 <!-- end class com.google.inject.grapher.graphviz.GraphvizNode -->
5267 <!-- start class com.google.inject.grapher.graphviz.NodeShape -->
5296 <!-- end class com.google.inject.grapher.graphviz.NodeShape -->
5297 <!-- start class com.google.inject.grapher.graphviz.NodeStyle -->
5326 <!-- end class com.google.inject.grapher.graphviz.NodeStyle -->
5327 <!-- start interface com.google.inject.grapher.graphviz.PortIdFactory -->
5339 rows in {@link com.google.inject.grapher.ImplementationNode}-displaying {@link GraphvizNode}s.
5344 <!-- end interface com.google.inject.grapher.graphviz.PortIdFactory -->
5345 <!-- start class com.google.inject.grapher.graphviz.PortIdFactoryImpl -->
5367 <!-- end class com.google.inject.grapher.graphviz.PortIdFactoryImpl -->
5370 <!-- start class com.google.inject.jndi.JndiIntegration -->
5391 <![CDATA[Integrates Guice with JNDI. Requires a binding to
5397 <!-- end class com.google.inject.jndi.JndiIntegration -->
5400 <!-- start class com.google.inject.matcher.AbstractMatcher -->
5428 <!-- end class com.google.inject.matcher.AbstractMatcher -->
5429 <!-- start interface com.google.inject.matcher.Matcher -->
5468 <!-- end interface com.google.inject.matcher.Matcher -->
5469 <!-- start class com.google.inject.matcher.Matchers -->
5576 <!-- end class com.google.inject.matcher.Matchers -->
5579 <!-- start class com.google.inject.multibindings.ClassMapKey -->
5590 <!-- end class com.google.inject.multibindings.ClassMapKey -->
5591 <!-- start class com.google.inject.multibindings.MapBinder -->
5605 {@link Map} that is itself bound with no binding annotation.]]>
5617 {@link Map} that is itself bound with no binding annotation.]]>
5698 <![CDATA[Returns a binding builder used to add a new entry in the map. Each
5699 key must be distinct (and non-null). Bound providers will be evaluated each
5703 {@code to} methods on the returned binding builder.
5706 to specify a binding scope.]]>
5723 <p>With this binding, a {@link Map}{@code <String, Snack>} can now be
5731 <p>In addition to binding {@code Map<K, V>}, a mapbinder will also bind
5745 <p>The map's iteration order is consistent with the binding order. This is
5756 injected (unless the binding is also scoped, or a map of providers is injected).
5766 <p><strong>Keys must be non-null.</strong> {@code addBinding(null)} will
5769 <p><strong>Values must be non-null to use map injection.</strong> If any
5776 <!-- end class com.google.inject.multibindings.MapBinder -->
5777 <!-- start interface com.google.inject.multibindings.MapBinderBinding -->
5813 …es" return="java.util.List&lt;java.util.Map.Entry&lt;?, com.google.inject.Binding&lt;?&gt;&gt;&gt;"
5818 …ATA[Returns all entries in the Map. The returned list of Map.Entries contains the key and a binding
5826 <code>List&lt;Map.Entry&lt;String, Binding&lt;Snack>>></code>.]]>
5857 <![CDATA[A binding for a MapBinder.
5862 MapBinderBinding exists only on the Binding associated with the Map&lt;K, V> key. Other
5873 <!-- end interface com.google.inject.multibindings.MapBinderBinding -->
5874 <!-- start class com.google.inject.multibindings.MapKey -->
5904 <!-- end class com.google.inject.multibindings.MapKey -->
5905 <!-- start class com.google.inject.multibindings.Multibinder -->
5918 itself bound with no binding annotation.]]>
5929 itself bound with no binding annotation.]]>
6011 <![CDATA[Returns a binding builder used to add a new element in the set. Each
6016 {@code to} methods on the returned binding builder.
6019 to specify a binding scope.]]>
6037 <p>With this binding, a {@link Set}{@code <Snack>} can now be injected:
6052 <p>The set's iteration order is consistent with the binding order. This is
6063 injected (unless the binding is also scoped).
6072 <p><strong>Elements must be non-null.</strong> If any set element is null,
6078 <!-- end class com.google.inject.multibindings.Multibinder -->
6079 <!-- start interface com.google.inject.multibindings.MultibinderBinding -->
6103 <method name="getElements" return="java.util.List&lt;com.google.inject.Binding&lt;?&gt;&gt;"
6114 <code>List&lt;Binding&lt;String>></code>.]]>
6145 <![CDATA[A binding for a Multibinder.
6154 <!-- end interface com.google.inject.multibindings.MultibinderBinding -->
6155 <!-- start class com.google.inject.multibindings.MultibindingsScanner -->
6184 …<![CDATA[Scans a module for annotations that signal multibindings, mapbindings, and optional bindi…
6189 <!-- end class com.google.inject.multibindings.MultibindingsScanner -->
6190 <!-- start interface com.google.inject.multibindings.MultibindingsTargetVisitor -->
6201 <![CDATA[Visits a binding created through {@link Multibinder}.]]>
6210 <![CDATA[Visits a binding created through {@link MapBinder}.]]>
6219 <![CDATA[Visits a binding created through {@link OptionalBinder}.
6235 <!-- end interface com.google.inject.multibindings.MultibindingsTargetVisitor -->
6236 <!-- start class com.google.inject.multibindings.OptionalBinder -->
6267 <![CDATA[Returns a binding builder used to set the default value that will be injected.
6268 The binding set by this method will be ignored if {@link #setBinding} is called.
6271 methods on the returned binding builder.]]>
6279 <![CDATA[Returns a binding builder used to set the actual value that will be injected.
6280 This overrides any binding set by {@link #setDefault}.
6283 methods on the returned binding builder.]]>
6287 <![CDATA[An API to bind optional values, optionally with a default value.
6296 {@code Optional<T>} and {@code Optional<Provider<T>>}. If
6302 <b>Warning: Even if setBinding is called, the default binding
6307 {@code null}. If it does, the Optional bindings will be absent. Binding
6309 to fall back to the setDefault binding.
6312 user-supplied binding of the same type. If no binding exists, the optionals
6313 will be absent. Otherwise, if a user-supplied binding of that type exists,
6315 if they are bound to a non-null value.
6318 provider, that provider's get method will be called each time the optional
6319 is injected (unless the binding is also scoped, or an optional of provider is
6323 type. Each distinct annotation gets its own independent binding.
6332 <p>With this module, an {@link Optional}{@code <Renamer>} can now be
6333 injected. With no other bindings, the optional will be absent.
6352 With both options, the {@code Optional<Renamer>} will be present and supply the
6364 will supply the DEFAULT_LOOKUP_URL. A user can change this value by binding
6375 It is an error for a user to specify the binding without using OptionalBinder if
6396 <!-- end class com.google.inject.multibindings.OptionalBinder -->
6397 <!-- start interface com.google.inject.multibindings.OptionalBinderBinding -->
6406 <![CDATA[Returns the {@link Key} for this binding.]]>
6409 <method name="getDefaultBinding" return="com.google.inject.Binding&lt;?&gt;"
6414 …<![CDATA[Returns the default binding (set by {@link OptionalBinder#setDefault}) if one exists or n…
6415 if no default binding is set. This will throw {@link UnsupportedOperationException} if it is
6418 The Binding's type will always match the type Optional's generic type. For example, if getKey
6419 returns a key of <code>Optional&lt;String></code>, then this will always return a
6420 <code>Binding&lt;String></code>.]]>
6423 <method name="getActualBinding" return="com.google.inject.Binding&lt;?&gt;"
6428 … <![CDATA[Returns the actual binding (set by {@link OptionalBinder#setBinding}) or null if not set.
6432 The Binding's type will always match the type Optional's generic type. For example, if getKey
6433 returns a key of <code>Optional&lt;String></code>, then this will always return a
6434 <code>Binding&lt;String></code>.]]>
6443 …CDATA[Returns true if this OptionalBinder contains the given Element in order to build the optional
6444 binding or uses the given Element in order to support building and injecting its data. This
6452 <![CDATA[A binding for a OptionalBinder.
6455 {@code T}, {@code Optional<T>}, {@code Optional<Provider<T>>}, etc..), an
6456 OptionalBinderBinding exists only on the Binding associated with the
6457 {@code Optional<T>} key. Other bindings can be validated to be derived from this
6460 @param <T> The fully qualified type of the optional binding, including Optional.
6461 For example: {@code Optional<String>}.
6467 <!-- end interface com.google.inject.multibindings.OptionalBinderBinding -->
6468 <!-- start class com.google.inject.multibindings.ProvidesIntoMap -->
6475 The method's return type, binding annotation and additional key annotation determines
6482 Plugin provideFooUrl(FooManager fm) { returm fm.getPlugin(); }
6487 Plugin provideBarUrl(BarManager bm) { return bm.getPlugin(); }
6490 will add two items to the {@code @Named("urls") Map<String, Plugin>} map. The key 'Foo'
6501 <!-- end class com.google.inject.multibindings.ProvidesIntoMap -->
6502 <!-- start class com.google.inject.multibindings.ProvidesIntoOptional -->
6509 The method's return type and binding annotation determines what Optional this will
6522 will set the default value of {@code @Named("url") Optional<String>} to foo's URL,
6529 <!-- end class com.google.inject.multibindings.ProvidesIntoOptional -->
6530 <!-- start class com.google.inject.multibindings.ProvidesIntoOptional.Type -->
6550 <!-- end class com.google.inject.multibindings.ProvidesIntoOptional.Type -->
6551 <!-- start class com.google.inject.multibindings.ProvidesIntoSet -->
6558 The method's return type and binding annotation determines what Set this will
6578 <!-- end class com.google.inject.multibindings.ProvidesIntoSet -->
6579 <!-- start class com.google.inject.multibindings.StringMapKey -->
6590 <!-- end class com.google.inject.multibindings.StringMapKey -->
6593 <!-- start class com.google.inject.name.Named -->
6604 <!-- end class com.google.inject.name.Named -->
6605 <!-- start class com.google.inject.name.Names -->
6626 <![CDATA[Creates a constant binding to {@code @Named(key)} for each entry in
6637 <![CDATA[Creates a constant binding to {@code @Named(key)} for each property. This
6648 <!-- end class com.google.inject.name.Names -->
6651 <!-- start class com.google.inject.persist.PersistFilter -->
6685 guice-persist manage the lifecycle of active units of work.
6690 <p> To be able to use the open session-in-view pattern (i.e. work per request),
6712 and deploy multiple guice-persist modules within the same injector, or even
6720 <!-- end class com.google.inject.persist.PersistFilter -->
6721 <!-- start class com.google.inject.persist.PersistModule -->
6746 <![CDATA[Install this module to add guice-persist library support for JPA persistence
6752 <!-- end class com.google.inject.persist.PersistModule -->
6753 <!-- start interface com.google.inject.persist.PersistService -->
6762 <![CDATA[Starts the underlying persistence engine and makes guice-persist ready for
6765 using any guice-persist or JPA artifacts. If already started,
6789 <!-- end interface com.google.inject.persist.PersistService -->
6790 <!-- start class com.google.inject.persist.Transactional -->
6812 <!-- end class com.google.inject.persist.Transactional -->
6813 <!-- start interface com.google.inject.persist.UnitOfWork -->
6824 units-of-work that nest within one another safely.
6843 work in non-request, non-transactional threads. Or where more fine-grained control over the unit
6849 behind thread-locality of Unit of Work semantics).
6853 <li>Using UnitOfWork with session-per-txn strategy is not terribly clever either.</li>
6854 <li>Using UnitOfWork with session-per-request strategy but *outside* a request (i.e. in a
6861 <!-- end interface com.google.inject.persist.UnitOfWork -->
6864 <!-- start class com.google.inject.persist.finder.DynamicFinder -->
6895 <!-- end class com.google.inject.persist.finder.DynamicFinder -->
6896 <!-- start class com.google.inject.persist.finder.Finder -->
6903 specified JPAQL query. Provides result auto-boxing and automatic parameter binding.
6908 <!-- end class com.google.inject.persist.finder.Finder -->
6909 <!-- start class com.google.inject.persist.finder.FirstResult -->
6922 <!-- end class com.google.inject.persist.finder.FirstResult -->
6923 <!-- start class com.google.inject.persist.finder.MaxResults -->
6936 <!-- end class com.google.inject.persist.finder.MaxResults -->
6939 <!-- start class com.google.inject.persist.jpa.JpaPersistModule -->
6988 <!-- end class com.google.inject.persist.jpa.JpaPersistModule -->
6991 <!-- start class com.google.inject.servlet.GuiceFilter -->
7030 &lt;filter-name&gt;guiceFilter&lt;/filter-name&gt;
7031 &lt;filter-class&gt;<b>com.google.inject.servlet.GuiceFilter</b>&lt;/filter-class&gt;
7034 &lt;filter-mapping&gt;
7035 &lt;filter-name&gt;guiceFilter&lt;/filter-name&gt;
7036 &lt;url-pattern&gt;/*&lt;/url-pattern&gt;
7037 &lt;/filter-mapping&gt;
7048 <!-- end class com.google.inject.servlet.GuiceFilter -->
7049 <!-- start class com.google.inject.servlet.GuiceServletContextListener -->
7089 <!-- end class com.google.inject.servlet.GuiceServletContextListener -->
7090 <!-- start interface com.google.inject.servlet.InstanceFilterBinding -->
7104 <![CDATA[A binding to a single instance of a filter.
7110 <!-- end interface com.google.inject.servlet.InstanceFilterBinding -->
7111 <!-- start interface com.google.inject.servlet.InstanceServletBinding -->
7125 <![CDATA[A binding to a single instance of a servlet.
7131 <!-- end interface com.google.inject.servlet.InstanceServletBinding -->
7132 <!-- start interface com.google.inject.servlet.LinkedFilterBinding -->
7146 <![CDATA[A linked binding to a filter.
7152 <!-- end interface com.google.inject.servlet.LinkedFilterBinding -->
7153 <!-- start interface com.google.inject.servlet.LinkedServletBinding -->
7167 <![CDATA[A linked binding to a servlet.
7173 <!-- end interface com.google.inject.servlet.LinkedServletBinding -->
7174 <!-- start class com.google.inject.servlet.RequestParameters -->
7186 <!-- end class com.google.inject.servlet.RequestParameters -->
7187 <!-- start class com.google.inject.servlet.RequestScoped -->
7198 <!-- end class com.google.inject.servlet.RequestScoped -->
7199 <!-- start class com.google.inject.servlet.ScopingException -->
7215 <!-- end class com.google.inject.servlet.ScopingException -->
7216 <!-- start class com.google.inject.servlet.ScopingOnly -->
7229 <!-- end class com.google.inject.servlet.ScopingOnly -->
7230 <!-- start class com.google.inject.servlet.ServletModule -->
7252 and filters with guice-servlet. Think of this as an in-code replacement for web.xml.
7267 any web pages ending in {@code .html}. You can also use a path-style syntax to register
7315 two mapping rules can also be written in more compact form using varargs syntax:
7321 This way you can map several URI patterns to the same servlet. A similar syntax is
7342 using the {@code <init-param>} tag in web.xml. You can similarly pass in parameters to
7343 Servlets and filters registered in Guice-servlet using a {@link java.util.Map} of parameter
7357 <h3>Binding Keys</h3>
7360 implementations with package-local visbility and expose them using
7369 custom binding annotation. Elsewhere (in one of your own modules) you can bind this
7376 See {@link com.google.inject.Binder} for more information on binding syntax.
7382 modules. This is essential if you want to package and offer drop-in Guice plugins that
7423 <![CDATA[@param urlPattern Any Servlet-style pattern. examples: /*, /html/*, *.html, etc.
7434 <![CDATA[@param regex Any Java-style regular expression.
7445 <![CDATA[@param urlPattern Any Servlet-style pattern. examples: /*, /html/*, *.html, etc.
7456 <![CDATA[@param regex Any Java-style regular expression.
7483 <!-- end class com.google.inject.servlet.ServletModule -->
7484 <!-- start interface com.google.inject.servlet.ServletModule.FilterKeyBindingBuilder -->
7539 <!-- end interface com.google.inject.servlet.ServletModule.FilterKeyBindingBuilder -->
7540 <!-- start interface com.google.inject.servlet.ServletModule.ServletKeyBindingBuilder -->
7595 <!-- end interface com.google.inject.servlet.ServletModule.ServletKeyBindingBuilder -->
7596 <!-- start interface com.google.inject.servlet.ServletModuleBinding -->
7605 <![CDATA[Returns the pattern type that this binding was created with.]]>
7613 <![CDATA[Returns the pattern used to match against the binding.]]>
7621 <![CDATA[Returns any context params supplied when creating the binding.]]>
7630 <![CDATA[Returns true if the given URI will match this binding.]]>
7634 <![CDATA[A binding created by {@link ServletModule}.
7640 <!-- end interface com.google.inject.servlet.ServletModuleBinding -->
7641 <!-- start interface com.google.inject.servlet.ServletModuleTargetVisitor -->
7650 <param name="binding" type="com.google.inject.servlet.LinkedFilterBinding"/>
7652 <![CDATA[Visits a filter binding created by {@link ServletModule#filter}, where
7662 <param name="binding" type="com.google.inject.servlet.InstanceFilterBinding"/>
7664 <![CDATA[Visits a filter binding created by {@link ServletModule#filter} where
7674 <param name="binding" type="com.google.inject.servlet.LinkedServletBinding"/>
7676 <![CDATA[Visits a servlet binding created by {@link ServletModule#serve} where
7686 <param name="binding" type="com.google.inject.servlet.InstanceServletBinding"/>
7688 <![CDATA[Visits a servlet binding created by {@link ServletModule#serve} where
7704 <!-- end interface com.google.inject.servlet.ServletModuleTargetVisitor -->
7705 <!-- start class com.google.inject.servlet.ServletScopes -->
7743 @throws OutOfScopeException if this method is called from a non-request
7764 <p>Because request-scoped objects are not typically thread-safe, the
7773 @throws OutOfScopeException if this method is called from a non-request
7782 <param name="binding" type="com.google.inject.Binding&lt;?&gt;"/>
7784 <![CDATA[Returns true if {@code binding} is request-scoped. If the binding is a
7785 {@link com.google.inject.spi.LinkedKeyBinding linked key binding} and
7788 also return true if the target binding is request-scoped.
7803 in non-HTTP requests (for example: RPC requests) as well as in HTTP
7841 <!-- end class com.google.inject.servlet.ServletScopes -->
7842 <!-- start class com.google.inject.servlet.SessionScoped -->
7854 <!-- end class com.google.inject.servlet.SessionScoped -->
7855 <!-- start class com.google.inject.servlet.UriPatternType -->
7872 <![CDATA[An enumeration of the available URI-pattern matching styles
7877 <!-- end class com.google.inject.servlet.UriPatternType -->
7880 <!-- start interface com.google.inject.spi.BindingScopingVisitor -->
7920 no scope is applied to the binding. An unscoped binding will behave like a scoped one when it
7921 is linked to a scoped binding.]]>
7932 <!-- end interface com.google.inject.spi.BindingScopingVisitor -->
7933 <!-- start interface com.google.inject.spi.BindingTargetVisitor -->
7941 <param name="binding" type="com.google.inject.spi.InstanceBinding&lt;? extends T&gt;"/>
7943 …<![CDATA[Visit a instance binding. The same instance is returned for every injection. This target …
7951 … <param name="binding" type="com.google.inject.spi.ProviderInstanceBinding&lt;? extends T&gt;"/>
7953 …<![CDATA[Visit a provider instance binding. The provider's {@code get} method is invoked to resolve
7961 <param name="binding" type="com.google.inject.spi.ProviderKeyBinding&lt;? extends T&gt;"/>
7963 …<![CDATA[Visit a provider key binding. To resolve injections, the provider key is first resolved, …
7972 <param name="binding" type="com.google.inject.spi.LinkedKeyBinding&lt;? extends T&gt;"/>
7974 … <![CDATA[Visit a linked key binding. The other key's binding is used to resolve injections. This
7982 <param name="binding" type="com.google.inject.spi.ExposedBinding&lt;? extends T&gt;"/>
7984 …<![CDATA[Visit a binding to a key exposed from an enclosed private environment. This target is only
7992 <param name="binding" type="com.google.inject.spi.UntargettedBinding&lt;? extends T&gt;"/>
7994 … <![CDATA[Visit an untargetted binding. This target is found only on module bindings. It indicates
7995 that the injector should use its implicit binding strategies to resolve injections.]]>
8002 <param name="binding" type="com.google.inject.spi.ConstructorBinding&lt;? extends T&gt;"/>
8004 …<![CDATA[Visit a constructor binding. To resolve injections, an instance is instantiated by invoki…
8012 … <param name="binding" type="com.google.inject.spi.ConvertedConstantBinding&lt;? extends T&gt;"/>
8014 …<![CDATA[Visit a binding created from converting a bound instance to a new type. The source binding
8015 has the same binding annotation but a different type. This target is found only on injector
8023 <param name="binding" type="com.google.inject.spi.ProviderBinding&lt;? extends T&gt;"/>
8025 …<![CDATA[Visit a binding to a {@link com.google.inject.Provider} that delegates to the binding for…
8037 <!-- end interface com.google.inject.spi.BindingTargetVisitor -->
8038 <!-- start interface com.google.inject.spi.ConstructorBinding -->
8042 <implements name="com.google.inject.Binding&lt;T&gt;"/>
8049 <![CDATA[Gets the constructor this binding injects.]]>
8075 <![CDATA[A binding to the constructor of a concrete clss. To resolve injections, an instance is
8082 <!-- end interface com.google.inject.spi.ConstructorBinding -->
8083 <!-- start interface com.google.inject.spi.ConvertedConstantBinding -->
8087 <implements name="com.google.inject.Binding&lt;T&gt;"/>
8102 <![CDATA[Returns the type converter binding used to convert the constant.
8112 …<![CDATA[Returns the key for the source binding. That binding can be retrieved from an injector us…
8125 …<![CDATA[A binding created from converting a bound instance to a new type. The source binding has …
8126 binding annotation but a different type.
8132 <!-- end interface com.google.inject.spi.ConvertedConstantBinding -->
8133 <!-- start class com.google.inject.spi.DefaultBindingScopingVisitor -->
8174 <![CDATA[No-op visitor for subclassing. All interface methods simply delegate to
8184 <!-- end class com.google.inject.spi.DefaultBindingScopingVisitor -->
8185 <!-- start class com.google.inject.spi.DefaultBindingTargetVisitor -->
8199 <param name="binding" type="com.google.inject.Binding&lt;? extends T&gt;"/>
8259 <![CDATA[No-op visitor for subclassing. All interface methods simply delegate to {@link
8260 #visitOther(Binding)}, returning its result.
8269 <!-- end class com.google.inject.spi.DefaultBindingTargetVisitor -->
8270 <!-- start class com.google.inject.spi.DefaultElementVisitor -->
8299 <param name="binding" type="com.google.inject.Binding&lt;T&gt;"/>
8353 <param name="binding" type="com.google.inject.spi.TypeListenerBinding"/>
8359 <param name="binding" type="com.google.inject.spi.ProvisionListenerBinding"/>
8389 <param name="binding" type="com.google.inject.spi.ModuleAnnotatedMethodScannerBinding"/>
8392 <![CDATA[No-op visitor for subclassing. All interface methods simply delegate to
8402 <!-- end class com.google.inject.spi.DefaultElementVisitor -->
8403 <!-- start class com.google.inject.spi.Dependency -->
8432 <![CDATA[Returns the key to the binding that satisfies this dependency.]]>
8457 …DATA[Returns the index of this dependency in the injection point's parameter list, or {@code -1} if
8489 <!-- end class com.google.inject.spi.Dependency -->
8490 <!-- start class com.google.inject.spi.DependencyAndSource -->
8517 <![CDATA[Returns a string describing where this dependency was bound. If the binding
8518 was just-in-time, there is no valid binding source, so this describes the
8528 <![CDATA[A combination of a {@link Dependency} and the {@link Binding#getSource()
8535 <!-- end class com.google.inject.spi.DependencyAndSource -->
8536 <!-- start class com.google.inject.spi.DisableCircularProxiesOption -->
8566 <!-- end class com.google.inject.spi.DisableCircularProxiesOption -->
8567 <!-- start interface com.google.inject.spi.Element -->
8601 <![CDATA[Writes this module element to the given binder (optional operation).
8624 <!-- end interface com.google.inject.spi.Element -->
8625 <!-- start class com.google.inject.spi.Elements -->
8689 <!-- end class com.google.inject.spi.Elements -->
8690 <!-- start class com.google.inject.spi.ElementSource -->
8736 0 - Binder.bind(),
8737 1 - ModuleTwo.configure(),
8738 2 - Binder.install(),
8739 3 - ModuleOne.configure(),
8740 4 - theRest().
8746 it returns -1 for all module positions.]]>
8788 collecting stack traces for every binding can cause a performance hit when
8805 <!-- end class com.google.inject.spi.ElementSource -->
8806 <!-- start interface com.google.inject.spi.ElementVisitor -->
8814 <param name="binding" type="com.google.inject.Binding&lt;T&gt;"/>
8816 <![CDATA[Visit a mapping from a key (type and optional annotation) to the strategy for getting
8824 <param name="binding" type="com.google.inject.spi.InterceptorBinding"/>
8833 <param name="binding" type="com.google.inject.spi.ScopeBinding"/>
8842 <param name="binding" type="com.google.inject.spi.TypeConverterBinding"/>
8906 <param name="binding" type="com.google.inject.spi.TypeListenerBinding"/>
8908 <![CDATA[Visit an injectable type listener binding.]]>
8915 <param name="binding" type="com.google.inject.spi.ProvisionListenerBinding"/>
8917 <![CDATA[Visit a provision listener binding.
8961 <![CDATA[Visit a require exact binding annotations command.
8970 <param name="binding" type="com.google.inject.spi.ModuleAnnotatedMethodScannerBinding"/>
8986 <!-- end interface com.google.inject.spi.ElementVisitor -->
8987 <!-- start interface com.google.inject.spi.ExposedBinding -->
8991 <implements name="com.google.inject.Binding&lt;T&gt;"/>
8998 <![CDATA[Returns the enclosed environment that holds the original binding.]]>
9011 <![CDATA[A binding to a key exposed from an enclosed private environment.
9017 <!-- end interface com.google.inject.spi.ExposedBinding -->
9018 <!-- start interface com.google.inject.spi.HasDependencies -->
9035 …<![CDATA[Implemented by {@link com.google.inject.Binding bindings}, {@link com.google.inject.Provi…
9042 <!-- end interface com.google.inject.spi.HasDependencies -->
9043 <!-- start interface com.google.inject.spi.InjectionListener -->
9060 injections, post-injection initialization, and more.
9067 <!-- end interface com.google.inject.spi.InjectionListener -->
9068 <!-- start class com.google.inject.spi.InjectionPoint -->
9090 @return a possibly-empty list]]>
9101 constructors etc.) may be used to satisfy optional injection points.]]>
9181 or a no-arguments constructor that is not private.
9184 parameter with multiple binding annotations.]]>
9196 or a no-arguments constructor that is not private.
9199 parameter with multiple binding annotations.]]>
9231 a field with multiple binding annotations. The exception's {@link
9248 a field with multiple binding annotations. The exception's {@link
9265 a field with multiple binding annotations. The exception's {@link
9282 a field with multiple binding annotations. The exception's {@link
9289 {@literal @}{@link Inject} annotation. For non-private, no argument constructors, the member may
9296 <!-- end class com.google.inject.spi.InjectionPoint -->
9297 <!-- start class com.google.inject.spi.InjectionRequest -->
9335 instance}, such as a field with multiple binding annotations. The exception's {@link
9363 <!-- end class com.google.inject.spi.InjectionRequest -->
9364 <!-- start interface com.google.inject.spi.InstanceBinding -->
9368 <implements name="com.google.inject.Binding&lt;T&gt;"/>
9375 <![CDATA[Returns the user-supplied instance.]]>
9383 …<![CDATA[Returns the field and method injection points of the instance, injected at injector-creat…
9390 <![CDATA[A binding to a single instance. The same instance is returned for every injection.
9396 <!-- end interface com.google.inject.spi.InstanceBinding -->
9397 <!-- start class com.google.inject.spi.InterceptorBinding -->
9451 <!-- end class com.google.inject.spi.InterceptorBinding -->
9452 <!-- start interface com.google.inject.spi.LinkedKeyBinding -->
9456 <implements name="com.google.inject.Binding&lt;T&gt;"/>
9462 … <![CDATA[Returns the linked key used to resolve injections. That binding can be retrieved from an
9467 <![CDATA[A binding to a linked key. The other key's binding is used to resolve injections.
9473 <!-- end interface com.google.inject.spi.LinkedKeyBinding -->
9474 <!-- start class com.google.inject.spi.MembersInjectorLookup -->
9551 <!-- end class com.google.inject.spi.MembersInjectorLookup -->
9552 <!-- start class com.google.inject.spi.Message -->
9654 } catch (IOException e) {
9661 <!-- end class com.google.inject.spi.Message -->
9662 <!-- start class com.google.inject.spi.ModuleAnnotatedMethodScanner -->
9677 annotations will create a Provider binding, with the return value of the binding being what's
9690 …<![CDATA[Prepares a method for binding. This {@code key} parameter is the key discovered from look…
9691 the binding annotation and return value of the method. Implementations can modify the key to
9694 instead of binding {@code String}.
9709 <!-- end class com.google.inject.spi.ModuleAnnotatedMethodScanner -->
9710 <!-- start class com.google.inject.spi.ModuleAnnotatedMethodScannerBinding -->
9754 <!-- end class com.google.inject.spi.ModuleAnnotatedMethodScannerBinding -->
9755 <!-- start interface com.google.inject.spi.PrivateElements -->
9809 <!-- end interface com.google.inject.spi.PrivateElements -->
9810 <!-- start interface com.google.inject.spi.ProviderBinding -->
9814 <implements name="com.google.inject.Binding&lt;T&gt;"/>
9820 …<![CDATA[Returns the key whose binding is used to {@link Provider#get provide instances}. That bin…
9826 …<![CDATA[A binding to a {@link Provider} that delegates to the binding for the provided type. This…
9833 <!-- end interface com.google.inject.spi.ProviderBinding -->
9834 <!-- start interface com.google.inject.spi.ProviderInstanceBinding -->
9838 <implements name="com.google.inject.Binding&lt;T&gt;"/>
9845 … <![CDATA[If the user supplied a JSR330 binding, then this will wrap that one. To always return the
9846 user-supplied provider, use {@link #getUserSuppliedProvider}.
9856 <![CDATA[Returns the user-supplied, unscoped provider.
9865 …<![CDATA[Returns the field and method injection points of the provider, injected at injector-creat…
9872 … <![CDATA[A binding to a provider instance. The provider's {@code get} method is invoked to resolve
9879 <!-- end interface com.google.inject.spi.ProviderInstanceBinding -->
9880 <!-- start interface com.google.inject.spi.ProviderKeyBinding -->
9884 <implements name="com.google.inject.Binding&lt;T&gt;"/>
9890 …<![CDATA[Returns the key used to resolve the provider's binding. That binding can be retrieved fro…
9896 …<![CDATA[A binding to a provider key. To resolve injections, the provider key is first resolved, t…
9903 <!-- end interface com.google.inject.spi.ProviderKeyBinding -->
9904 <!-- start class com.google.inject.spi.ProviderLookup -->
9992 <!-- end class com.google.inject.spi.ProviderLookup -->
9993 <!-- start interface com.google.inject.spi.ProviderWithDependencies -->
10006 <!-- end interface com.google.inject.spi.ProviderWithDependencies -->
10007 <!-- start interface com.google.inject.spi.ProviderWithExtensionVisitor -->
10017 … <param name="binding" type="com.google.inject.spi.ProviderInstanceBinding&lt;? extends B&gt;"/>
10022 call visitor.visit(binding).
10035 {@link Binding#acceptTargetVisitor(BindingTargetVisitor)} method to visit a
10039 …onVisitor(BindingTargetVisitor&lt;B, V> visitor, ProviderInstanceBinding&lt;? extends B> binding) {
10041 …eturn ((MyCustomExtensionVisitor&lt;B, V>)visitor).visitCustomExtension(customProperties, binding);
10043 return visitor.visit(binding);
10055 <!-- end interface com.google.inject.spi.ProviderWithExtensionVisitor -->
10056 <!-- start interface com.google.inject.spi.ProvidesMethodBinding -->
10066 <![CDATA[Returns the method this binding uses.]]>
10082 <![CDATA[Returns the key of the binding.]]>
10090 …<![CDATA[Returns the annotation that caused this binding to be created. For {@code @Provides} meth…
10093 the binding.]]>
10097 <![CDATA[An {@literal @}{@link Provides} binding or binding produced by a
10104 <!-- end interface com.google.inject.spi.ProvidesMethodBinding -->
10105 <!-- start interface com.google.inject.spi.ProvidesMethodTargetVisitor -->
10129 <!-- end interface com.google.inject.spi.ProvidesMethodTargetVisitor -->
10130 <!-- start interface com.google.inject.spi.ProvisionListener -->
10141 when Guice locates and injects the dependencies for a binding. For types
10158 about provisioning, post-provision initialization, and more.
10164 <!-- end interface com.google.inject.spi.ProvisionListener -->
10165 <!-- start class com.google.inject.spi.ProvisionListener.ProvisionInvocation -->
10174 <method name="getBinding" return="com.google.inject.Binding&lt;T&gt;"
10179 <![CDATA[Returns the Binding this is provisioning.
10182 {@link Binding#getProvider}, otherwise you will get confusing error messages.]]>
10207 <!-- end class com.google.inject.spi.ProvisionListener.ProvisionInvocation -->
10208 <!-- start class com.google.inject.spi.ProvisionListenerBinding -->
10222 …tcher" return="com.google.inject.matcher.Matcher&lt;? super com.google.inject.Binding&lt;?&gt;&gt;"
10227 …<![CDATA[Returns the binding matcher which chooses which bindings the listener should be notified …
10255 <!-- end class com.google.inject.spi.ProvisionListenerBinding -->
10256 <!-- start class com.google.inject.spi.RequireAtInjectOnConstructorsOption -->
10286 <!-- end class com.google.inject.spi.RequireAtInjectOnConstructorsOption -->
10287 <!-- start class com.google.inject.spi.RequireExactBindingAnnotationsOption -->
10311 <![CDATA[A request to require exact binding annotations.
10317 <!-- end class com.google.inject.spi.RequireExactBindingAnnotationsOption -->
10318 <!-- start class com.google.inject.spi.RequireExplicitBindingsOption -->
10348 <!-- end class com.google.inject.spi.RequireExplicitBindingsOption -->
10349 <!-- start class com.google.inject.spi.ScopeBinding -->
10394 <!-- end class com.google.inject.spi.ScopeBinding -->
10395 <!-- start class com.google.inject.spi.StaticInjectionRequest -->
10424 a field with multiple binding annotations. The exception's {@link
10452 <!-- end class com.google.inject.spi.StaticInjectionRequest -->
10453 <!-- start class com.google.inject.spi.Toolable -->
10471 <!-- end class com.google.inject.spi.Toolable -->
10472 <!-- start interface com.google.inject.spi.TypeConverter -->
10493 <!-- end interface com.google.inject.spi.TypeConverter -->
10494 <!-- start class com.google.inject.spi.TypeConverterBinding -->
10550 <!-- end class com.google.inject.spi.TypeConverterBinding -->
10551 <!-- start interface com.google.inject.spi.TypeEncounter -->
10576 something that you worry may fail, you should catch the exception and pass it to this method.]]>
10671 <li>And the method is package-private or more accessible</li>
10681 listeners and binding method interceptors for injectable type {@code I}. It is an error to use
10689 <!-- end interface com.google.inject.spi.TypeEncounter -->
10690 <!-- start interface com.google.inject.spi.TypeListener -->
10703 creates a JIT binding).
10707 listeners and binding method interceptors for {@code type}.
10720 binding method interceptors}.
10725 <!-- end interface com.google.inject.spi.TypeListener -->
10726 <!-- start class com.google.inject.spi.TypeListenerBinding -->
10776 <!-- end class com.google.inject.spi.TypeListenerBinding -->
10777 <!-- start interface com.google.inject.spi.UntargettedBinding -->
10781 <implements name="com.google.inject.Binding&lt;T&gt;"/>
10783 …<![CDATA[An untargetted binding. This binding indicates that the injector should use its implicit
10790 <!-- end interface com.google.inject.spi.UntargettedBinding -->
10793 <!-- start class com.google.inject.spring.SpringIntegration -->
10806 Expects a binding to {@link
10823 named "foo", this method creates a binding to the bean's type and
10836 <!-- end class com.google.inject.spring.SpringIntegration -->
10839 <!-- start class com.google.inject.struts2.GuiceObjectFactory -->
10879 <!-- end class com.google.inject.struts2.GuiceObjectFactory -->
10880 <!-- start class com.google.inject.struts2.Struts2Factory -->
10924 <!-- end class com.google.inject.struts2.Struts2Factory -->
10925 <!-- start class com.google.inject.struts2.Struts2GuicePluginModule -->
10940 <![CDATA[Initializes the Struts 2 Guice Plugin. Must be added to the injector returned
10946 <!-- end class com.google.inject.struts2.Struts2GuicePluginModule -->
10949 <!-- start class com.google.inject.testing.fieldbinder.Bind -->
10962 <!-- end class com.google.inject.testing.fieldbinder.Bind -->
10963 <!-- start class com.google.inject.testing.fieldbinder.BoundFieldModule -->
11015 {@code Provider<Integer>} binds to {@link Integer}. Attempting to bind a non-parameterized
11050 <!-- end class com.google.inject.testing.fieldbinder.BoundFieldModule -->
11053 <!-- start interface com.google.inject.throwingproviders.CheckedProvider -->
11067 <p>This interface must be extended to use application-specific exception types.
11082 <!-- end interface com.google.inject.throwingproviders.CheckedProvider -->
11083 <!-- start class com.google.inject.throwingproviders.CheckedProvides -->
11090 {@link CheckedProvider} method binding that can throw exceptions. The
11101 <!-- end class com.google.inject.throwingproviders.CheckedProvides -->
11102 <!-- start class com.google.inject.throwingproviders.ThrowingInject -->
11119 <!-- end class com.google.inject.throwingproviders.ThrowingInject -->
11120 <!-- start interface com.google.inject.throwingproviders.ThrowingProvider -->
11135 <p>This interface must be extended to use application-specific exception types.
11150 <!-- end interface com.google.inject.throwingproviders.ThrowingProvider -->
11151 <!-- start class com.google.inject.throwingproviders.ThrowingProviderBinder -->
11204 <![CDATA[<p>Builds a binding for a {@link CheckedProvider}.
11238 <!-- end class com.google.inject.throwingproviders.ThrowingProviderBinder -->
11239 <!-- start class com.google.inject.throwingproviders.ThrowingProviderBinder.SecondaryBinder -->
11309 <!-- end class com.google.inject.throwingproviders.ThrowingProviderBinder.SecondaryBinder -->
11312 <!-- start interface com.google.inject.tools.jmx.ManagedBindingMBean -->
11321 <![CDATA[Gets the source of this binding.]]>
11329 <![CDATA[Gets the provider to which this binding is bound.]]>
11337 <![CDATA[Gets the binding key.]]>
11346 <!-- end interface com.google.inject.tools.jmx.ManagedBindingMBean -->
11347 <!-- start class com.google.inject.tools.jmx.Manager -->
11395 <!-- end class com.google.inject.tools.jmx.Manager -->
11398 <!-- start class com.google.inject.util.Modules -->
11410 modules. If a key is bound in both sets of modules, only the binding from the override modules
11432 modules. If a key is bound in both sets of modules, only the binding from the override modules
11477 <!-- end class com.google.inject.util.Modules -->
11478 <!-- start interface com.google.inject.util.Modules.OverriddenModuleBuilder -->
11504 <!-- end interface com.google.inject.util.Modules.OverriddenModuleBuilder -->
11505 <!-- start class com.google.inject.util.Providers -->
11522 life a Guice-supplied Provider will never return null.]]>
11531 <![CDATA[Returns a Guice-friendly {@code com.google.inject.Provider} for the given
11532 JSR-330 {@code javax.inject.Provider}. The converse method is unnecessary,
11533 since Guice providers directly implement the JSR-330 interface.
11546 <!-- end class com.google.inject.util.Providers -->
11547 <!-- start class com.google.inject.util.Types -->
11670 <!-- end class com.google.inject.util.Types -->