From 1623bc50d2ca72ecf5c40995f80c443e22dd8226 Mon Sep 17 00:00:00 2001 From: limpbizkit Date: Wed, 31 Dec 2008 23:44:15 +0000 Subject: Removed old Javadocs. git-svn-id: https://google-guice.googlecode.com/svn/trunk@763 d779f126-a31b-0410-b53b-1d3aecad763e --- latest-javadoc/allclasses-frame.html | 213 --- latest-javadoc/allclasses-noframe.html | 213 --- .../com/google/inject/AbstractModule.html | 800 ---------- latest-javadoc/com/google/inject/Binder.html | 843 ----------- latest-javadoc/com/google/inject/Binding.html | 354 ----- .../com/google/inject/BindingAnnotation.html | 180 --- .../com/google/inject/ConfigurationException.html | 352 ----- .../com/google/inject/CreationException.html | 298 ---- latest-javadoc/com/google/inject/Exposed.html | 173 --- latest-javadoc/com/google/inject/Guice.html | 330 ---- .../com/google/inject/ImplementedBy.html | 213 --- latest-javadoc/com/google/inject/Inject.html | 235 --- latest-javadoc/com/google/inject/Injector.html | 580 ------- latest-javadoc/com/google/inject/Key.html | 755 ---------- latest-javadoc/com/google/inject/Module.html | 228 --- .../com/google/inject/OutOfScopeException.html | 276 ---- .../com/google/inject/PrivateModule.html | 904 ----------- latest-javadoc/com/google/inject/ProvidedBy.html | 213 --- latest-javadoc/com/google/inject/Provider.html | 242 --- latest-javadoc/com/google/inject/Provides.html | 177 --- .../com/google/inject/ProvisionException.html | 329 ---- latest-javadoc/com/google/inject/Scope.html | 264 ---- .../com/google/inject/ScopeAnnotation.html | 180 --- latest-javadoc/com/google/inject/Scopes.html | 260 ---- latest-javadoc/com/google/inject/Singleton.html | 172 --- latest-javadoc/com/google/inject/Stage.html | 351 ----- latest-javadoc/com/google/inject/TypeLiteral.html | 528 ------- .../com/google/inject/assistedinject/Assisted.html | 206 --- .../inject/assistedinject/AssistedInject.html | 182 --- .../inject/assistedinject/FactoryProvider.html | 351 ----- .../inject/assistedinject/package-frame.html | 45 - .../inject/assistedinject/package-summary.html | 190 --- .../google/inject/assistedinject/package-tree.html | 159 -- .../inject/binder/AnnotatedBindingBuilder.html | 258 ---- .../binder/AnnotatedConstantBindingBuilder.html | 231 --- .../inject/binder/AnnotatedElementBuilder.html | 235 --- .../inject/binder/ConstantBindingBuilder.html | 408 ----- .../google/inject/binder/LinkedBindingBuilder.html | 372 ----- .../com/google/inject/binder/PrivateBinder.html | 341 ----- .../google/inject/binder/ScopedBindingBuilder.html | 259 ---- .../com/google/inject/binder/package-frame.html | 44 - .../com/google/inject/binder/package-summary.html | 196 --- .../com/google/inject/binder/package-tree.html | 155 -- .../com/google/inject/jndi/JndiIntegration.html | 238 --- .../com/google/inject/jndi/package-frame.html | 32 - .../com/google/inject/jndi/package-summary.html | 170 --- .../com/google/inject/jndi/package-tree.html | 151 -- .../com/google/inject/matcher/AbstractMatcher.html | 301 ---- .../com/google/inject/matcher/Matcher.html | 259 ---- .../com/google/inject/matcher/Matchers.html | 429 ------ .../com/google/inject/matcher/package-frame.html | 45 - .../com/google/inject/matcher/package-summary.html | 189 --- .../com/google/inject/matcher/package-tree.html | 157 -- .../com/google/inject/multibindings/MapBinder.html | 493 ------ .../google/inject/multibindings/Multibinder.html | 470 ------ .../google/inject/multibindings/package-frame.html | 34 - .../inject/multibindings/package-summary.html | 176 --- .../google/inject/multibindings/package-tree.html | 151 -- latest-javadoc/com/google/inject/name/Named.html | 211 --- latest-javadoc/com/google/inject/name/Names.html | 273 ---- .../com/google/inject/name/package-frame.html | 43 - .../com/google/inject/name/package-summary.html | 184 --- .../com/google/inject/name/package-tree.html | 157 -- .../com/google/inject/package-frame.html | 116 -- .../com/google/inject/package-summary.html | 342 ----- latest-javadoc/com/google/inject/package-tree.html | 191 --- .../com/google/inject/servlet/GuiceFilter.html | 334 ----- .../servlet/GuiceServletContextListener.html | 310 ---- .../google/inject/servlet/RequestParameters.html | 172 --- .../com/google/inject/servlet/RequestScoped.html | 171 --- .../ServletModule.FilterKeyBindingBuilder.html | 268 ---- .../ServletModule.ServletKeyBindingBuilder.html | 268 ---- .../com/google/inject/servlet/ServletModule.html | 533 ------- .../com/google/inject/servlet/ServletScopes.html | 251 ---- .../com/google/inject/servlet/SessionScoped.html | 173 --- .../com/google/inject/servlet/package-frame.html | 66 - .../com/google/inject/servlet/package-summary.html | 229 --- .../com/google/inject/servlet/package-tree.html | 169 --- .../google/inject/spi/BindingScopingVisitor.html | 288 ---- .../google/inject/spi/BindingTargetVisitor.html | 400 ----- .../com/google/inject/spi/ConstructorBinding.html | 276 ---- .../inject/spi/ConvertedConstantBinding.html | 264 ---- .../inject/spi/DefaultBindingScopingVisitor.html | 373 ----- .../inject/spi/DefaultBindingTargetVisitor.html | 504 ------- .../google/inject/spi/DefaultElementVisitor.html | 511 ------- .../com/google/inject/spi/Dependency.html | 435 ------ latest-javadoc/com/google/inject/spi/Element.html | 260 ---- .../com/google/inject/spi/ElementVisitor.html | 404 ----- latest-javadoc/com/google/inject/spi/Elements.html | 327 ---- .../com/google/inject/spi/ExposedBinding.html | 247 --- .../com/google/inject/spi/HasDependencies.html | 220 --- .../com/google/inject/spi/InjectionPoint.html | 534 ------- .../com/google/inject/spi/InjectionRequest.html | 332 ----- .../com/google/inject/spi/InstanceBinding.html | 274 ---- .../com/google/inject/spi/InterceptorBinding.html | 343 ----- .../com/google/inject/spi/LinkedKeyBinding.html | 239 --- latest-javadoc/com/google/inject/spi/Message.html | 492 ------ .../com/google/inject/spi/ModuleWriter.html | 586 -------- .../com/google/inject/spi/PrivateEnvironment.html | 321 ---- .../com/google/inject/spi/ProviderBinding.html | 240 --- .../google/inject/spi/ProviderInstanceBinding.html | 275 ---- .../com/google/inject/spi/ProviderKeyBinding.html | 240 --- .../com/google/inject/spi/ProviderLookup.html | 345 ----- .../inject/spi/ProviderWithDependencies.html | 206 --- .../com/google/inject/spi/ScopeBinding.html | 321 ---- .../google/inject/spi/StaticInjectionRequest.html | 297 ---- .../com/google/inject/spi/TypeConverter.html | 216 --- .../google/inject/spi/TypeConverterBinding.html | 319 ---- .../com/google/inject/spi/UntargettedBinding.html | 206 --- .../com/google/inject/spi/package-frame.html | 101 -- .../com/google/inject/spi/package-summary.html | 301 ---- .../com/google/inject/spi/package-tree.html | 189 --- .../google/inject/spring/SpringIntegration.html | 264 ---- .../com/google/inject/spring/package-frame.html | 32 - .../com/google/inject/spring/package-summary.html | 170 --- .../com/google/inject/spring/package-tree.html | 151 -- .../inject/throwingproviders/ThrowingProvider.html | 222 --- .../ThrowingProviderBinder.SecondaryBinder.html | 331 ---- .../throwingproviders/ThrowingProviderBinder.html | 273 ---- .../inject/throwingproviders/package-frame.html | 43 - .../inject/throwingproviders/package-summary.html | 185 --- .../inject/throwingproviders/package-tree.html | 156 -- .../inject/tools/jmx/ManagedBindingMBean.html | 252 ---- .../com/google/inject/tools/jmx/Manager.html | 309 ---- .../com/google/inject/tools/jmx/package-frame.html | 43 - .../google/inject/tools/jmx/package-summary.html | 184 --- .../com/google/inject/tools/jmx/package-tree.html | 156 -- .../util/Modules.OverriddenModuleBuilder.html | 234 --- latest-javadoc/com/google/inject/util/Modules.html | 361 ----- .../com/google/inject/util/Providers.html | 239 --- latest-javadoc/com/google/inject/util/Types.html | 424 ------ .../com/google/inject/util/package-frame.html | 47 - .../com/google/inject/util/package-summary.html | 178 --- .../com/google/inject/util/package-tree.html | 156 -- latest-javadoc/constant-values.html | 144 -- latest-javadoc/deprecated-list.html | 162 -- latest-javadoc/help-doc.html | 217 --- latest-javadoc/index-all.html | 1576 -------------------- latest-javadoc/index.html | 39 - latest-javadoc/overview-frame.html | 66 - latest-javadoc/overview-summary.html | 199 --- latest-javadoc/overview-tree.html | 244 --- latest-javadoc/package-list | 13 - latest-javadoc/resources/inherit.gif | Bin 57 -> 0 bytes latest-javadoc/serialized-form.html | 517 ------- latest-javadoc/stylesheet.css | 29 - 146 files changed, 39553 deletions(-) delete mode 100644 latest-javadoc/allclasses-frame.html delete mode 100644 latest-javadoc/allclasses-noframe.html delete mode 100644 latest-javadoc/com/google/inject/AbstractModule.html delete mode 100644 latest-javadoc/com/google/inject/Binder.html delete mode 100644 latest-javadoc/com/google/inject/Binding.html delete mode 100644 latest-javadoc/com/google/inject/BindingAnnotation.html delete mode 100644 latest-javadoc/com/google/inject/ConfigurationException.html delete mode 100644 latest-javadoc/com/google/inject/CreationException.html delete mode 100644 latest-javadoc/com/google/inject/Exposed.html delete mode 100644 latest-javadoc/com/google/inject/Guice.html delete mode 100644 latest-javadoc/com/google/inject/ImplementedBy.html delete mode 100644 latest-javadoc/com/google/inject/Inject.html delete mode 100644 latest-javadoc/com/google/inject/Injector.html delete mode 100644 latest-javadoc/com/google/inject/Key.html delete mode 100644 latest-javadoc/com/google/inject/Module.html delete mode 100644 latest-javadoc/com/google/inject/OutOfScopeException.html delete mode 100644 latest-javadoc/com/google/inject/PrivateModule.html delete mode 100644 latest-javadoc/com/google/inject/ProvidedBy.html delete mode 100644 latest-javadoc/com/google/inject/Provider.html delete mode 100644 latest-javadoc/com/google/inject/Provides.html delete mode 100644 latest-javadoc/com/google/inject/ProvisionException.html delete mode 100644 latest-javadoc/com/google/inject/Scope.html delete mode 100644 latest-javadoc/com/google/inject/ScopeAnnotation.html delete mode 100644 latest-javadoc/com/google/inject/Scopes.html delete mode 100644 latest-javadoc/com/google/inject/Singleton.html delete mode 100644 latest-javadoc/com/google/inject/Stage.html delete mode 100644 latest-javadoc/com/google/inject/TypeLiteral.html delete mode 100644 latest-javadoc/com/google/inject/assistedinject/Assisted.html delete mode 100644 latest-javadoc/com/google/inject/assistedinject/AssistedInject.html delete mode 100644 latest-javadoc/com/google/inject/assistedinject/FactoryProvider.html delete mode 100644 latest-javadoc/com/google/inject/assistedinject/package-frame.html delete mode 100644 latest-javadoc/com/google/inject/assistedinject/package-summary.html delete mode 100644 latest-javadoc/com/google/inject/assistedinject/package-tree.html delete mode 100644 latest-javadoc/com/google/inject/binder/AnnotatedBindingBuilder.html delete mode 100644 latest-javadoc/com/google/inject/binder/AnnotatedConstantBindingBuilder.html delete mode 100644 latest-javadoc/com/google/inject/binder/AnnotatedElementBuilder.html delete mode 100644 latest-javadoc/com/google/inject/binder/ConstantBindingBuilder.html delete mode 100644 latest-javadoc/com/google/inject/binder/LinkedBindingBuilder.html delete mode 100644 latest-javadoc/com/google/inject/binder/PrivateBinder.html delete mode 100644 latest-javadoc/com/google/inject/binder/ScopedBindingBuilder.html delete mode 100644 latest-javadoc/com/google/inject/binder/package-frame.html delete mode 100644 latest-javadoc/com/google/inject/binder/package-summary.html delete mode 100644 latest-javadoc/com/google/inject/binder/package-tree.html delete mode 100644 latest-javadoc/com/google/inject/jndi/JndiIntegration.html delete mode 100644 latest-javadoc/com/google/inject/jndi/package-frame.html delete mode 100644 latest-javadoc/com/google/inject/jndi/package-summary.html delete mode 100644 latest-javadoc/com/google/inject/jndi/package-tree.html delete mode 100644 latest-javadoc/com/google/inject/matcher/AbstractMatcher.html delete mode 100644 latest-javadoc/com/google/inject/matcher/Matcher.html delete mode 100644 latest-javadoc/com/google/inject/matcher/Matchers.html delete mode 100644 latest-javadoc/com/google/inject/matcher/package-frame.html delete mode 100644 latest-javadoc/com/google/inject/matcher/package-summary.html delete mode 100644 latest-javadoc/com/google/inject/matcher/package-tree.html delete mode 100644 latest-javadoc/com/google/inject/multibindings/MapBinder.html delete mode 100644 latest-javadoc/com/google/inject/multibindings/Multibinder.html delete mode 100644 latest-javadoc/com/google/inject/multibindings/package-frame.html delete mode 100644 latest-javadoc/com/google/inject/multibindings/package-summary.html delete mode 100644 latest-javadoc/com/google/inject/multibindings/package-tree.html delete mode 100644 latest-javadoc/com/google/inject/name/Named.html delete mode 100644 latest-javadoc/com/google/inject/name/Names.html delete mode 100644 latest-javadoc/com/google/inject/name/package-frame.html delete mode 100644 latest-javadoc/com/google/inject/name/package-summary.html delete mode 100644 latest-javadoc/com/google/inject/name/package-tree.html delete mode 100644 latest-javadoc/com/google/inject/package-frame.html delete mode 100644 latest-javadoc/com/google/inject/package-summary.html delete mode 100644 latest-javadoc/com/google/inject/package-tree.html delete mode 100644 latest-javadoc/com/google/inject/servlet/GuiceFilter.html delete mode 100644 latest-javadoc/com/google/inject/servlet/GuiceServletContextListener.html delete mode 100644 latest-javadoc/com/google/inject/servlet/RequestParameters.html delete mode 100644 latest-javadoc/com/google/inject/servlet/RequestScoped.html delete mode 100644 latest-javadoc/com/google/inject/servlet/ServletModule.FilterKeyBindingBuilder.html delete mode 100644 latest-javadoc/com/google/inject/servlet/ServletModule.ServletKeyBindingBuilder.html delete mode 100644 latest-javadoc/com/google/inject/servlet/ServletModule.html delete mode 100644 latest-javadoc/com/google/inject/servlet/ServletScopes.html delete mode 100644 latest-javadoc/com/google/inject/servlet/SessionScoped.html delete mode 100644 latest-javadoc/com/google/inject/servlet/package-frame.html delete mode 100644 latest-javadoc/com/google/inject/servlet/package-summary.html delete mode 100644 latest-javadoc/com/google/inject/servlet/package-tree.html delete mode 100644 latest-javadoc/com/google/inject/spi/BindingScopingVisitor.html delete mode 100644 latest-javadoc/com/google/inject/spi/BindingTargetVisitor.html delete mode 100644 latest-javadoc/com/google/inject/spi/ConstructorBinding.html delete mode 100644 latest-javadoc/com/google/inject/spi/ConvertedConstantBinding.html delete mode 100644 latest-javadoc/com/google/inject/spi/DefaultBindingScopingVisitor.html delete mode 100644 latest-javadoc/com/google/inject/spi/DefaultBindingTargetVisitor.html delete mode 100644 latest-javadoc/com/google/inject/spi/DefaultElementVisitor.html delete mode 100644 latest-javadoc/com/google/inject/spi/Dependency.html delete mode 100644 latest-javadoc/com/google/inject/spi/Element.html delete mode 100644 latest-javadoc/com/google/inject/spi/ElementVisitor.html delete mode 100644 latest-javadoc/com/google/inject/spi/Elements.html delete mode 100644 latest-javadoc/com/google/inject/spi/ExposedBinding.html delete mode 100644 latest-javadoc/com/google/inject/spi/HasDependencies.html delete mode 100644 latest-javadoc/com/google/inject/spi/InjectionPoint.html delete mode 100644 latest-javadoc/com/google/inject/spi/InjectionRequest.html delete mode 100644 latest-javadoc/com/google/inject/spi/InstanceBinding.html delete mode 100644 latest-javadoc/com/google/inject/spi/InterceptorBinding.html delete mode 100644 latest-javadoc/com/google/inject/spi/LinkedKeyBinding.html delete mode 100644 latest-javadoc/com/google/inject/spi/Message.html delete mode 100644 latest-javadoc/com/google/inject/spi/ModuleWriter.html delete mode 100644 latest-javadoc/com/google/inject/spi/PrivateEnvironment.html delete mode 100644 latest-javadoc/com/google/inject/spi/ProviderBinding.html delete mode 100644 latest-javadoc/com/google/inject/spi/ProviderInstanceBinding.html delete mode 100644 latest-javadoc/com/google/inject/spi/ProviderKeyBinding.html delete mode 100644 latest-javadoc/com/google/inject/spi/ProviderLookup.html delete mode 100644 latest-javadoc/com/google/inject/spi/ProviderWithDependencies.html delete mode 100644 latest-javadoc/com/google/inject/spi/ScopeBinding.html delete mode 100644 latest-javadoc/com/google/inject/spi/StaticInjectionRequest.html delete mode 100644 latest-javadoc/com/google/inject/spi/TypeConverter.html delete mode 100644 latest-javadoc/com/google/inject/spi/TypeConverterBinding.html delete mode 100644 latest-javadoc/com/google/inject/spi/UntargettedBinding.html delete mode 100644 latest-javadoc/com/google/inject/spi/package-frame.html delete mode 100644 latest-javadoc/com/google/inject/spi/package-summary.html delete mode 100644 latest-javadoc/com/google/inject/spi/package-tree.html delete mode 100644 latest-javadoc/com/google/inject/spring/SpringIntegration.html delete mode 100644 latest-javadoc/com/google/inject/spring/package-frame.html delete mode 100644 latest-javadoc/com/google/inject/spring/package-summary.html delete mode 100644 latest-javadoc/com/google/inject/spring/package-tree.html delete mode 100644 latest-javadoc/com/google/inject/throwingproviders/ThrowingProvider.html delete mode 100644 latest-javadoc/com/google/inject/throwingproviders/ThrowingProviderBinder.SecondaryBinder.html delete mode 100644 latest-javadoc/com/google/inject/throwingproviders/ThrowingProviderBinder.html delete mode 100644 latest-javadoc/com/google/inject/throwingproviders/package-frame.html delete mode 100644 latest-javadoc/com/google/inject/throwingproviders/package-summary.html delete mode 100644 latest-javadoc/com/google/inject/throwingproviders/package-tree.html delete mode 100644 latest-javadoc/com/google/inject/tools/jmx/ManagedBindingMBean.html delete mode 100644 latest-javadoc/com/google/inject/tools/jmx/Manager.html delete mode 100644 latest-javadoc/com/google/inject/tools/jmx/package-frame.html delete mode 100644 latest-javadoc/com/google/inject/tools/jmx/package-summary.html delete mode 100644 latest-javadoc/com/google/inject/tools/jmx/package-tree.html delete mode 100644 latest-javadoc/com/google/inject/util/Modules.OverriddenModuleBuilder.html delete mode 100644 latest-javadoc/com/google/inject/util/Modules.html delete mode 100644 latest-javadoc/com/google/inject/util/Providers.html delete mode 100644 latest-javadoc/com/google/inject/util/Types.html delete mode 100644 latest-javadoc/com/google/inject/util/package-frame.html delete mode 100644 latest-javadoc/com/google/inject/util/package-summary.html delete mode 100644 latest-javadoc/com/google/inject/util/package-tree.html delete mode 100644 latest-javadoc/constant-values.html delete mode 100644 latest-javadoc/deprecated-list.html delete mode 100644 latest-javadoc/help-doc.html delete mode 100644 latest-javadoc/index-all.html delete mode 100644 latest-javadoc/index.html delete mode 100644 latest-javadoc/overview-frame.html delete mode 100644 latest-javadoc/overview-summary.html delete mode 100644 latest-javadoc/overview-tree.html delete mode 100644 latest-javadoc/package-list delete mode 100644 latest-javadoc/resources/inherit.gif delete mode 100644 latest-javadoc/serialized-form.html delete mode 100644 latest-javadoc/stylesheet.css (limited to 'latest-javadoc') diff --git a/latest-javadoc/allclasses-frame.html b/latest-javadoc/allclasses-frame.html deleted file mode 100644 index 2a277142..00000000 --- a/latest-javadoc/allclasses-frame.html +++ /dev/null @@ -1,213 +0,0 @@ - - - - - - -All Classes (Guice 1.0 API) - - - - - - - - - - - -All Classes -
- - - - - -
AbstractMatcher -
-AbstractModule -
-AnnotatedBindingBuilder -
-AnnotatedConstantBindingBuilder -
-AnnotatedElementBuilder -
-Assisted -
-AssistedInject -
-Binder -
-Binding -
-BindingAnnotation -
-BindingScopingVisitor -
-BindingTargetVisitor -
-ConfigurationException -
-ConstantBindingBuilder -
-ConstructorBinding -
-ConvertedConstantBinding -
-CreationException -
-DefaultBindingScopingVisitor -
-DefaultBindingTargetVisitor -
-DefaultElementVisitor -
-Dependency -
-Element -
-Elements -
-ElementVisitor -
-Exposed -
-ExposedBinding -
-FactoryProvider -
-Guice -
-GuiceFilter -
-GuiceServletContextListener -
-HasDependencies -
-ImplementedBy -
-Inject -
-InjectionPoint -
-InjectionRequest -
-Injector -
-InstanceBinding -
-InterceptorBinding -
-JndiIntegration -
-Key -
-LinkedBindingBuilder -
-LinkedKeyBinding -
-ManagedBindingMBean -
-Manager -
-MapBinder -
-Matcher -
-Matchers -
-Message -
-Module -
-Modules -
-Modules.OverriddenModuleBuilder -
-ModuleWriter -
-Multibinder -
-Named -
-Names -
-OutOfScopeException -
-PrivateBinder -
-PrivateEnvironment -
-PrivateModule -
-ProvidedBy -
-Provider -
-ProviderBinding -
-ProviderInstanceBinding -
-ProviderKeyBinding -
-ProviderLookup -
-Providers -
-ProviderWithDependencies -
-Provides -
-ProvisionException -
-RequestParameters -
-RequestScoped -
-Scope -
-ScopeAnnotation -
-ScopeBinding -
-ScopedBindingBuilder -
-Scopes -
-ServletModule -
-ServletModule.FilterKeyBindingBuilder -
-ServletModule.ServletKeyBindingBuilder -
-ServletScopes -
-SessionScoped -
-Singleton -
-SpringIntegration -
-Stage -
-StaticInjectionRequest -
-ThrowingProvider -
-ThrowingProviderBinder -
-TypeConverter -
-TypeConverterBinding -
-TypeLiteral -
-Types -
-UntargettedBinding -
-
- - - diff --git a/latest-javadoc/allclasses-noframe.html b/latest-javadoc/allclasses-noframe.html deleted file mode 100644 index dc47b92e..00000000 --- a/latest-javadoc/allclasses-noframe.html +++ /dev/null @@ -1,213 +0,0 @@ - - - - - - -All Classes (Guice 1.0 API) - - - - - - - - - - - -All Classes -
- - - - - -
AbstractMatcher -
-AbstractModule -
-AnnotatedBindingBuilder -
-AnnotatedConstantBindingBuilder -
-AnnotatedElementBuilder -
-Assisted -
-AssistedInject -
-Binder -
-Binding -
-BindingAnnotation -
-BindingScopingVisitor -
-BindingTargetVisitor -
-ConfigurationException -
-ConstantBindingBuilder -
-ConstructorBinding -
-ConvertedConstantBinding -
-CreationException -
-DefaultBindingScopingVisitor -
-DefaultBindingTargetVisitor -
-DefaultElementVisitor -
-Dependency -
-Element -
-Elements -
-ElementVisitor -
-Exposed -
-ExposedBinding -
-FactoryProvider -
-Guice -
-GuiceFilter -
-GuiceServletContextListener -
-HasDependencies -
-ImplementedBy -
-Inject -
-InjectionPoint -
-InjectionRequest -
-Injector -
-InstanceBinding -
-InterceptorBinding -
-JndiIntegration -
-Key -
-LinkedBindingBuilder -
-LinkedKeyBinding -
-ManagedBindingMBean -
-Manager -
-MapBinder -
-Matcher -
-Matchers -
-Message -
-Module -
-Modules -
-Modules.OverriddenModuleBuilder -
-ModuleWriter -
-Multibinder -
-Named -
-Names -
-OutOfScopeException -
-PrivateBinder -
-PrivateEnvironment -
-PrivateModule -
-ProvidedBy -
-Provider -
-ProviderBinding -
-ProviderInstanceBinding -
-ProviderKeyBinding -
-ProviderLookup -
-Providers -
-ProviderWithDependencies -
-Provides -
-ProvisionException -
-RequestParameters -
-RequestScoped -
-Scope -
-ScopeAnnotation -
-ScopeBinding -
-ScopedBindingBuilder -
-Scopes -
-ServletModule -
-ServletModule.FilterKeyBindingBuilder -
-ServletModule.ServletKeyBindingBuilder -
-ServletScopes -
-SessionScoped -
-Singleton -
-SpringIntegration -
-Stage -
-StaticInjectionRequest -
-ThrowingProvider -
-ThrowingProviderBinder -
-TypeConverter -
-TypeConverterBinding -
-TypeLiteral -
-Types -
-UntargettedBinding -
-
- - - diff --git a/latest-javadoc/com/google/inject/AbstractModule.html b/latest-javadoc/com/google/inject/AbstractModule.html deleted file mode 100644 index aaabc433..00000000 --- a/latest-javadoc/com/google/inject/AbstractModule.html +++ /dev/null @@ -1,800 +0,0 @@ - - - - - - -AbstractModule (Guice 1.0 API) - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.google.inject -
-Class AbstractModule

-
-java.lang.Object
-  extended by com.google.inject.AbstractModule
-
-
-
All Implemented Interfaces:
Module
-
-
-
Direct Known Subclasses:
ServletModule
-
-
-
-
public abstract class AbstractModule
extends Object
implements Module
- - -

-A support class for Modules which reduces repetition and results in - a more readable configuration. Simply extend this class, implement configure(), and call the inherited methods which mirror those found in - Binder. For example: - -

- public class MyModule extends AbstractModule {
-   protected void configure() {
-     bind(Service.class).to(ServiceImpl.class).in(Singleton.class);
-     bind(CreditCardPaymentService.class);
-     bind(PaymentService.class).to(CreditCardPaymentService.class);
-     bindConstant().annotatedWith(Names.named("port")).to(8080);
-   }
- }
- 
-

- -

-


- -

- - - - - - - - - - - -
-Constructor Summary
AbstractModule() - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
-protected  voidaddError(Message message) - -
-           
-protected  voidaddError(String message, - Object... arguments) - -
-           
-protected  voidaddError(Throwable t) - -
-           
-protected - - - - -
-<T> AnnotatedBindingBuilder<T>
-
bind(Class<T> clazz) - -
-           
-protected - - - - -
-<T> LinkedBindingBuilder<T>
-
bind(Key<T> key) - -
-           
-protected - - - - -
-<T> AnnotatedBindingBuilder<T>
-
bind(TypeLiteral<T> typeLiteral) - -
-           
-protected  AnnotatedConstantBindingBuilderbindConstant() - -
-           
-protected  Binderbinder() - -
-          Gets direct access to the underlying Binder.
-protected  voidbindInterceptor(Matcher<? super Class<?>> classMatcher, - Matcher<? super Method> methodMatcher, - MethodInterceptor... interceptors) - -
-           
-protected  voidbindScope(Class<? extends Annotation> scopeAnnotation, - Scope scope) - -
-           
-protected abstract  voidconfigure() - -
-          Configures a Binder via the exposed methods.
- voidconfigure(Binder builder) - -
-          Contributes bindings and other configurations for this module to a Binder.
-protected  voidconvertToTypes(Matcher<? super TypeLiteral<?>> typeMatcher, - TypeConverter converter) - -
-           
-protected  StagecurrentStage() - -
-           
-protected - - - - -
-<T> Provider<T>
-
getProvider(Class<T> type) - -
-           
-protected - - - - -
-<T> Provider<T>
-
getProvider(Key<T> key) - -
-           
-protected  voidinstall(Module module) - -
-           
-protected  voidrequestInjection(Object... objects) - -
-           
-protected  voidrequestStaticInjection(Class<?>... types) - -
-           
-protected  voidrequireBinding(Class<?> type) - -
-          Adds a dependency from this module to type.
-protected  voidrequireBinding(Key<?> key) - -
-          Adds a dependency from this module to key.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-AbstractModule

-
-public AbstractModule()
-
-
- - - - - - - - -
-Method Detail
- -

-configure

-
-public final void configure(Binder builder)
-
-
Description copied from interface: Module
-
Contributes bindings and other configurations for this module to a Binder. - -

Do not invoke this method directly to install submodules. Instead use - Binder.install(Module), which ensures that provider methods are - discovered. -

-

-
Specified by:
configure in interface Module
-
-
-
-
-
-
- -

-configure

-
-protected abstract void configure()
-
-
Configures a Binder via the exposed methods. -

-

-
-
-
-
-
-
-
- -

-binder

-
-protected Binder binder()
-
-
Gets direct access to the underlying Binder. -

-

-
-
-
-
-
-
-
- -

-bindScope

-
-protected void bindScope(Class<? extends Annotation> scopeAnnotation,
-                         Scope scope)
-
-
-
-
-
-
See Also:
Binder.bindScope(Class, Scope)
-
-
-
- -

-bind

-
-protected <T> LinkedBindingBuilder<T> bind(Key<T> key)
-
-
-
-
-
-
See Also:
Binder.bind(Key)
-
-
-
- -

-bind

-
-protected <T> AnnotatedBindingBuilder<T> bind(TypeLiteral<T> typeLiteral)
-
-
-
-
-
-
See Also:
Binder.bind(TypeLiteral)
-
-
-
- -

-bind

-
-protected <T> AnnotatedBindingBuilder<T> bind(Class<T> clazz)
-
-
-
-
-
-
See Also:
Binder.bind(Class)
-
-
-
- -

-bindConstant

-
-protected AnnotatedConstantBindingBuilder bindConstant()
-
-
-
-
-
-
See Also:
Binder.bindConstant()
-
-
-
- -

-install

-
-protected void install(Module module)
-
-
-
-
-
-
See Also:
Binder.install(Module)
-
-
-
- -

-addError

-
-protected void addError(String message,
-                        Object... arguments)
-
-
-
-
-
-
See Also:
Binder.addError(String, Object[])
-
-
-
- -

-addError

-
-protected void addError(Throwable t)
-
-
-
-
-
-
See Also:
Binder.addError(Throwable)
-
-
-
- -

-addError

-
-protected void addError(Message message)
-
-
-
-
-
-
Since:
-
2.0
-
See Also:
Binder.addError(Message)
-
-
-
- -

-requestInjection

-
-protected void requestInjection(Object... objects)
-
-
-
-
-
-
Since:
-
2.0
-
See Also:
Binder.requestInjection(Object[])
-
-
-
- -

-requestStaticInjection

-
-protected void requestStaticInjection(Class<?>... types)
-
-
-
-
-
-
See Also:
Binder.requestStaticInjection(Class[])
-
-
-
- -

-bindInterceptor

-
-protected void bindInterceptor(Matcher<? super Class<?>> classMatcher,
-                               Matcher<? super Method> methodMatcher,
-                               MethodInterceptor... interceptors)
-
-
-
-
-
-
See Also:
Binder.bindInterceptor(com.google.inject.matcher.Matcher, - com.google.inject.matcher.Matcher, - org.aopalliance.intercept.MethodInterceptor[])
-
-
-
- -

-requireBinding

-
-protected void requireBinding(Key<?> key)
-
-
Adds a dependency from this module to key. When the injector is - created, Guice will report an error if key cannot be injected. - Note that this requirement may be satisfied by implicit binding, such as - a public no-arguments constructor. -

-

-
-
-
-
Since:
-
2.0
-
-
-
-
- -

-requireBinding

-
-protected void requireBinding(Class<?> type)
-
-
Adds a dependency from this module to type. When the injector is - created, Guice will report an error if type cannot be injected. - Note that this requirement may be satisfied by implicit binding, such as - a public no-arguments constructor. -

-

-
-
-
-
Since:
-
2.0
-
-
-
-
- -

-getProvider

-
-protected <T> Provider<T> getProvider(Key<T> key)
-
-
-
-
-
-
Since:
-
2.0
-
See Also:
Binder.getProvider(Key)
-
-
-
- -

-getProvider

-
-protected <T> Provider<T> getProvider(Class<T> type)
-
-
-
-
-
-
Since:
-
2.0
-
See Also:
Binder.getProvider(Class)
-
-
-
- -

-convertToTypes

-
-protected void convertToTypes(Matcher<? super TypeLiteral<?>> typeMatcher,
-                              TypeConverter converter)
-
-
-
-
-
-
Since:
-
2.0
-
See Also:
Binder.convertToTypes(com.google.inject.matcher.Matcher>, com.google.inject.spi.TypeConverter)
-
-
-
- -

-currentStage

-
-protected Stage currentStage()
-
-
-
-
-
-
Since:
-
2.0
-
See Also:
Binder.currentStage()
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/Binder.html b/latest-javadoc/com/google/inject/Binder.html deleted file mode 100644 index 2b903b61..00000000 --- a/latest-javadoc/com/google/inject/Binder.html +++ /dev/null @@ -1,843 +0,0 @@ - - - - - - -Binder (Guice 1.0 API) - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.google.inject -
-Interface Binder

-
-
All Known Subinterfaces:
PrivateBinder
-
-
-
-
public interface Binder
- - -

-Collects configuration information (primarily bindings) which will be - used to create an Injector. Guice provides this object to your - application's Module implementors so they may each contribute - their own bindings and other registrations. - -

The Guice Binding EDSL

- - Guice uses an embedded domain-specific language, or EDSL, to help you - create bindings simply and readably. This approach is great for overall - usability, but it does come with a small cost: it is difficult to - learn how to use the Binding EDSL in the usual way -- by reading - method-level javadocs. Instead, you should consult this series of - examples below. To save space, these examples omit the opening - binder., just as you will if your module extends - AbstractModule. - -
-     bind(ServiceImpl.class);
- - This statement does essentially nothing; it "binds the ServiceImpl - class to itself" and does not change Guice's default behavior. You may still - want to use this if you prefer your Module class to serve as an - explicit manifest for the services it provides. Also, in rare cases, - Guice may be unable to validate a binding at injector creation time unless it - is given explicitly. - -
-     bind(Service.class).to(ServiceImpl.class);
- - Specifies that a request for a Service instance with no binding - annotations should be treated as if it were a request for a - ServiceImpl instance. This overrides the function of any - @ImplementedBy or @ProvidedBy - annotations found on Service, since Guice will have already - "moved on" to ServiceImpl before it reaches the point when it starts - looking for these annotations. - -
-     bind(Service.class).toProvider(ServiceProvider.class);
- - In this example, ServiceProvider must extend or implement - Provider<Service>. This binding specifies that Guice should resolve - an unannotated injection request for Service by first resolving an - instance of ServiceProvider in the regular way, then calling - get() on the resulting Provider instance to obtain the - Service instance. - -

The Provider you use here does not have to be a "factory"; that - is, a provider which always creates each instance it provides. - However, this is generally a good practice to follow. You can then use - Guice's concept of scopes to guide when creation should happen - -- "letting Guice work for you". - -

-     bind(Service.class).annotatedWith(Red.class).to(ServiceImpl.class);
- - Like the previous example, but only applies to injection requests that use - the binding annotation @Red. If your module also includes bindings - for particular values of the @Red annotation (see below), - then this binding will serve as a "catch-all" for any values of @Red - that have no exact match in the bindings. - -
-     bind(ServiceImpl.class).in(Singleton.class);
-     // or, alternatively
-     bind(ServiceImpl.class).in(Scopes.SINGLETON);
- - Either of these statements places the ServiceImpl class into - singleton scope. Guice will create only one instance of ServiceImpl - and will reuse it for all injection requests of this type. Note that it is - still possible to bind another instance of ServiceImpl if the second - binding is qualified by an annotation as in the previous example. Guice is - not overly concerned with preventing you from creating multiple - instances of your "singletons", only with enabling your application to - share only one instance if that's all you tell Guice you need. - -

Note: a scope specified in this way overrides any scope that - was specified with an annotation on the ServiceImpl class. - -

Besides Singleton/Scopes.SINGLETON, there are - servlet-specific scopes available in - com.google.inject.servlet.ServletScopes, and your Modules can - contribute their own custom scopes for use here as well. - -

-     bind(new TypeLiteral<PaymentService<CreditCard>>() {})
-         .to(CreditCardPaymentService.class);
- - This admittedly odd construct is the way to bind a parameterized type. It - tells Guice how to honor an injection request for an element of type - PaymentService<CreditCard>. The class - CreditCardPaymentService must implement the - PaymentService<CreditCard> interface. Guice cannot currently bind or - inject a generic type, such as Set<E>; all type parameters must be - fully specified. - -
-     bind(Service.class).toInstance(new ServiceImpl());
-     // or, alternatively
-     bind(Service.class).toInstance(SomeLegacyRegistry.getService());
- - In this example, your module itself, not Guice, takes responsibility - for obtaining a ServiceImpl instance, then asks Guice to always use - this single instance to fulfill all Service injection requests. When - the Injector is first created, it will automatically perform field - and method injection for this instance, but any injectable constructor on - ServiceImpl is simply ignored. Note that using this approach results - in "eager loading" behavior that you can't control. - -
-     bindConstant().annotatedWith(ServerHost.class).to(args[0]);
- - Sets up a constant binding. Constant bindings are typeless in Guice; you - can provide the values in a variety of types and the values can be injected - in a variety of types; Guice performs the standard type conversions for you - behind the scenes. Because of this "typelessness", constant injections must - always be annotated. - -
-   @Color("red") Color red; // A member variable (field)
-    . . .
-     red = MyModule.class.getDeclaredField("red").getAnnotation(Color.class);
-     bind(Service.class).annotatedWith(red).to(RedService.class);
- - If your binding annotation has parameters you can apply different bindings to - different specific values of your annotation. Getting your hands on the - right instance of the annotation is a bit of a pain -- one approach, shown - above, is to apply a prototype annotation to a field in your module class, so - that you can read this annotation instance and give it to Guice. - -
-     bind(Service.class)
-         .annotatedWith(Names.named("blue"))
-         .to(BlueService.class);
- - Differentiating by names is a common enough use case that we provided a - standard annotation, @Named. Because of - Guice's library support, binding by name is quite easier than in the - arbitrary binding annotation case we just saw. However, remember that these - names will live in a single flat namespace with all the other names used in - your application. - -

The above list of examples is far from exhaustive. If you can think of - how the concepts of one example might coexist with the concepts from another, - you can most likely weave the two together. If the two concepts make no - sense with each other, you most likely won't be able to do it. In a few - cases Guice will let something bogus slip by, and will then inform you of - the problems at runtime, as soon as you try to create your Injector. - -

The other methods of Binder such as bindScope(java.lang.Class, com.google.inject.Scope), - bindInterceptor(com.google.inject.matcher.Matcher>, com.google.inject.matcher.Matcher, org.aopalliance.intercept.MethodInterceptor...), install(com.google.inject.Module), requestStaticInjection(java.lang.Class...), - addError(java.lang.String, java.lang.Object...) and currentStage() are not part of the Binding EDSL; - you can learn how to use these in the usual way, from the method - documentation. -

- -

-


- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- voidaddError(Message message) - -
-          Records an error message to be presented to the user at a later time.
- voidaddError(String message, - Object... arguments) - -
-          Records an error message which will be presented to the user at a later - time.
- voidaddError(Throwable t) - -
-          Records an exception, the full details of which will be logged, and the - message of which will be presented to the user at a later - time.
- - - - - -
-<T> AnnotatedBindingBuilder<T>
-
bind(Class<T> type) - -
-          See the EDSL examples at Binder.
- - - - - -
-<T> LinkedBindingBuilder<T>
-
bind(Key<T> key) - -
-          See the EDSL examples at Binder.
- - - - - -
-<T> AnnotatedBindingBuilder<T>
-
bind(TypeLiteral<T> typeLiteral) - -
-          See the EDSL examples at Binder.
- AnnotatedConstantBindingBuilderbindConstant() - -
-          See the EDSL examples at Binder.
- voidbindInterceptor(Matcher<? super Class<?>> classMatcher, - Matcher<? super Method> methodMatcher, - MethodInterceptor... interceptors) - -
-          Binds a method interceptor to methods matched by class and method - matchers.
- voidbindScope(Class<? extends Annotation> annotationType, - Scope scope) - -
-          Binds a scope to an annotation.
- voidconvertToTypes(Matcher<? super TypeLiteral<?>> typeMatcher, - TypeConverter converter) - -
-          Binds a type converter.
- StagecurrentStage() - -
-          Gets the current stage.
- - - - - -
-<T> Provider<T>
-
getProvider(Class<T> type) - -
-          Returns the provider used to obtain instances for the given injection type.
- - - - - -
-<T> Provider<T>
-
getProvider(Key<T> key) - -
-          Returns the provider used to obtain instances for the given injection key.
- voidinstall(Module module) - -
-          Uses the given module to configure more bindings.
- PrivateBindernewPrivateBinder() - -
-          Creates a new private child environment for bindings and other configuration.
- voidrequestInjection(Object... instances) - -
-          Upon successful creation, the Injector will inject instance fields - and methods of the given objects.
- voidrequestStaticInjection(Class<?>... types) - -
-          Upon successful creation, the Injector will inject static fields - and methods in the given classes.
- BinderskipSources(Class... classesToSkip) - -
-          Returns a binder that skips classesToSkip when identify the - calling code.
- BinderwithSource(Object source) - -
-          Returns a binder that uses source as the reference location for - configuration errors.
-  -

- - - - - - - - -
-Method Detail
- -

-bindInterceptor

-
-void bindInterceptor(Matcher<? super Class<?>> classMatcher,
-                     Matcher<? super Method> methodMatcher,
-                     MethodInterceptor... interceptors)
-
-
Binds a method interceptor to methods matched by class and method - matchers. -

-

-
Parameters:
classMatcher - matches classes the interceptor should apply to. For - example: only(Runnable.class).
methodMatcher - matches methods the interceptor should apply to. For - example: annotatedWith(Transactional.class).
interceptors - to bind
-
-
-
- -

-bindScope

-
-void bindScope(Class<? extends Annotation> annotationType,
-               Scope scope)
-
-
Binds a scope to an annotation. -

-

-
-
-
-
- -

-bind

-
-<T> LinkedBindingBuilder<T> bind(Key<T> key)
-
-
See the EDSL examples at Binder. -

-

-
-
-
-
- -

-bind

-
-<T> AnnotatedBindingBuilder<T> bind(TypeLiteral<T> typeLiteral)
-
-
See the EDSL examples at Binder. -

-

-
-
-
-
- -

-bind

-
-<T> AnnotatedBindingBuilder<T> bind(Class<T> type)
-
-
See the EDSL examples at Binder. -

-

-
-
-
-
- -

-bindConstant

-
-AnnotatedConstantBindingBuilder bindConstant()
-
-
See the EDSL examples at Binder. -

-

-
-
-
-
- -

-requestInjection

-
-void requestInjection(Object... instances)
-
-
Upon successful creation, the Injector will inject instance fields - and methods of the given objects. -

-

-
Parameters:
instances - for which members will be injected
Since:
-
2.0
-
-
-
-
- -

-requestStaticInjection

-
-void requestStaticInjection(Class<?>... types)
-
-
Upon successful creation, the Injector will inject static fields - and methods in the given classes. -

-

-
Parameters:
types - for which static members will be injected
-
-
-
- -

-install

-
-void install(Module module)
-
-
Uses the given module to configure more bindings. -

-

-
-
-
-
- -

-currentStage

-
-Stage currentStage()
-
-
Gets the current stage. -

-

-
-
-
-
- -

-addError

-
-void addError(String message,
-              Object... arguments)
-
-
Records an error message which will be presented to the user at a later - time. Unlike throwing an exception, this enable us to continue - configuring the Injector and discover more errors. Uses String.format(String, Object[]) to insert the arguments into the - message. -

-

-
-
-
-
- -

-addError

-
-void addError(Throwable t)
-
-
Records an exception, the full details of which will be logged, and the - message of which will be presented to the user at a later - time. If your Module calls something that you worry may fail, you should - catch the exception and pass it into this. -

-

-
-
-
-
- -

-addError

-
-void addError(Message message)
-
-
Records an error message to be presented to the user at a later time. -

-

-
Since:
-
2.0
-
-
-
-
- -

-getProvider

-
-<T> Provider<T> getProvider(Key<T> key)
-
-
Returns the provider used to obtain instances for the given injection key. - The returned will not be valid until the Injector has been - created. The provider will throw an IllegalStateException if you - try to use it beforehand. -

-

-
Since:
-
2.0
-
-
-
-
- -

-getProvider

-
-<T> Provider<T> getProvider(Class<T> type)
-
-
Returns the provider used to obtain instances for the given injection type. - The returned will not be valid until the Injector has been - created. The provider will throw an IllegalStateException if you - try to use it beforehand. -

-

-
Since:
-
2.0
-
-
-
-
- -

-convertToTypes

-
-void convertToTypes(Matcher<? super TypeLiteral<?>> typeMatcher,
-                    TypeConverter converter)
-
-
Binds a type converter. The injector will use the given converter to - convert string constants to matching types as needed. -

-

-
Parameters:
typeMatcher - matches types the converter can handle
converter - converts values
Since:
-
2.0
-
-
-
-
- -

-withSource

-
-Binder withSource(Object source)
-
-
Returns a binder that uses source as the reference location for - configuration errors. This is typically a StackTraceElement - for .java source but it could any binding source, such as the - path to a .properties file. -

-

-
Parameters:
source - any object representing the source location and has a - concise toString() value -
Returns:
a binder that shares its configuration with this binder
Since:
-
2.0
-
-
-
-
- -

-skipSources

-
-Binder skipSources(Class... classesToSkip)
-
-
Returns a binder that skips classesToSkip when identify the - calling code. The caller's StackTraceElement is used to locate - the source of configuration errors. -

-

-
Parameters:
classesToSkip - library classes that create bindings on behalf of - their clients. -
Returns:
a binder that shares its configuration with this binder.
Since:
-
2.0
-
-
-
-
- -

-newPrivateBinder

-
-PrivateBinder newPrivateBinder()
-
-
Creates a new private child environment for bindings and other configuration. The returned - binder can be used to add and configuration information in this environment. See PrivateModule for details. -

-

- -
Returns:
a binder that inherits configuration from this binder. Only exposed configuration on - the returned binder will be visible to this binder.
Since:
-
2.0
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/Binding.html b/latest-javadoc/com/google/inject/Binding.html deleted file mode 100644 index 1d5b07cd..00000000 --- a/latest-javadoc/com/google/inject/Binding.html +++ /dev/null @@ -1,354 +0,0 @@ - - - - - - -Binding (Guice 1.0 API) - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.google.inject -
-Interface Binding<T>

-
-
Type Parameters:
T - the bound type. The injected is always assignable to this type.
-
-
All Superinterfaces:
Element
-
-
-
All Known Subinterfaces:
ConstructorBinding<T>, ConvertedConstantBinding<T>, ExposedBinding<T>, InstanceBinding<T>, LinkedKeyBinding<T>, ProviderBinding<T>, ProviderInstanceBinding<T>, ProviderKeyBinding<T>, UntargettedBinding<T>
-
-
-
-
public interface Binding<T>
extends Element
- - -

-A mapping from a key (type and optional annotation) to the strategy for getting instances of the - type. This interface is part of the introspection API and is intended primarily for use by - tools. - -

Bindings are created in several ways: -

- - -

They exist on both modules and on injectors, and their behaviour is different for each: -

-

- -

-


- -

- - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- - - - - -
-<V> V
-
acceptScopingVisitor(BindingScopingVisitor<V> visitor) - -
-          Accepts a scoping visitor.
- - - - - -
-<V> V
-
acceptTargetVisitor(BindingTargetVisitor<T,V> visitor) - -
-          Accepts a target visitor.
- Key<T>getKey() - -
-          Returns the key for this binding.
- Provider<T>getProvider() - -
-          Returns the scoped provider guice uses to fulfill requests for this - binding.
- - - - - - - -
Methods inherited from interface com.google.inject.spi.Element
acceptVisitor, getSource
-  -

- - - - - - - - -
-Method Detail
- -

-getKey

-
-Key<T> getKey()
-
-
Returns the key for this binding. -

-

-
-
-
-
-
-
-
- -

-getProvider

-
-Provider<T> getProvider()
-
-
Returns the scoped provider guice uses to fulfill requests for this - binding. -

-

-
-
-
- -
Throws: -
UnsupportedOperationException - when invoked on a Binding - created via Elements.getElements(com.google.inject.Module...). This - method is only supported on Bindings returned from an injector.
-
-
-
- -

-acceptTargetVisitor

-
-<V> V acceptTargetVisitor(BindingTargetVisitor<T,V> visitor)
-
-
Accepts a target visitor. Invokes the visitor method specific to this binding's target. -

-

-
-
-
-
Parameters:
visitor - to call back on
Since:
-
2.0
-
-
-
-
- -

-acceptScopingVisitor

-
-<V> V acceptScopingVisitor(BindingScopingVisitor<V> visitor)
-
-
Accepts a scoping visitor. Invokes the visitor method specific to this binding's scoping. -

-

-
-
-
-
Parameters:
visitor - to call back on
Since:
-
2.0
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/BindingAnnotation.html b/latest-javadoc/com/google/inject/BindingAnnotation.html deleted file mode 100644 index fafdec8a..00000000 --- a/latest-javadoc/com/google/inject/BindingAnnotation.html +++ /dev/null @@ -1,180 +0,0 @@ - - - - - - -BindingAnnotation (Guice 1.0 API) - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.google.inject -
-Annotation Type BindingAnnotation

-
-
-
@Target(value=ANNOTATION_TYPE)
-@Retention(value=RUNTIME)
-public @interface BindingAnnotation
- - -

-Annotates annotations which are used for binding. Only one such annotation - may apply to a single injection point. You must also annotate binder - annotations with @Retention(RUNTIME). For example: - -

-   @Retention(RUNTIME)
-   @Target({ FIELD, PARAMETER, METHOD })
-   @BindingAnnotation
-   public @interface Transactional {}
- 
-

- -

- -

- -

- -


- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/ConfigurationException.html b/latest-javadoc/com/google/inject/ConfigurationException.html deleted file mode 100644 index bacff012..00000000 --- a/latest-javadoc/com/google/inject/ConfigurationException.html +++ /dev/null @@ -1,352 +0,0 @@ - - - - - - -ConfigurationException (Guice 1.0 API) - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.google.inject -
-Class ConfigurationException

-
-java.lang.Object
-  extended by java.lang.Throwable
-      extended by java.lang.Exception
-          extended by java.lang.RuntimeException
-              extended by com.google.inject.ConfigurationException
-
-
-
All Implemented Interfaces:
Serializable
-
-
-
-
public final class ConfigurationException
extends RuntimeException
- - -

-Thrown when a programming error such as a misplaced annotation, illegal binding, or unsupported - scope is found. Clients should catch this exception, log it, and stop execution. -

- -

-

-
Since:
-
2.0
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - -
-Constructor Summary
ConfigurationException(Iterable<Message> messages) - -
-          Creates a ConfigurationException containing messages.
-  - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- Collection<Message>getErrorMessages() - -
-          Returns messages for the errors that caused this exception.
- StringgetMessage() - -
-           
- - - - - -
-<E> E
-
getPartialValue() - -
-          Returns a value that was only partially computed due to this exception.
- ConfigurationExceptionwithPartialValue(Object partialValue) - -
-          Returns a copy of this configuration exception with the specified partial value.
- - - - - - - -
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-ConfigurationException

-
-public ConfigurationException(Iterable<Message> messages)
-
-
Creates a ConfigurationException containing messages. -

-

- - - - - - - - -
-Method Detail
- -

-withPartialValue

-
-public ConfigurationException withPartialValue(Object partialValue)
-
-
Returns a copy of this configuration exception with the specified partial value. -

-

-
-
-
-
- -

-getErrorMessages

-
-public Collection<Message> getErrorMessages()
-
-
Returns messages for the errors that caused this exception. -

-

-
-
-
-
- -

-getPartialValue

-
-public <E> E getPartialValue()
-
-
Returns a value that was only partially computed due to this exception. The caller can use - this while collecting additional configuration problems. -

-

- -
Returns:
the partial value, or null if none was set. The type of the partial value is - specified by the throwing method.
-
-
-
- -

-getMessage

-
-public String getMessage()
-
-
-
Overrides:
getMessage in class Throwable
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/CreationException.html b/latest-javadoc/com/google/inject/CreationException.html deleted file mode 100644 index e2a2bd12..00000000 --- a/latest-javadoc/com/google/inject/CreationException.html +++ /dev/null @@ -1,298 +0,0 @@ - - - - - - -CreationException (Guice 1.0 API) - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.google.inject -
-Class CreationException

-
-java.lang.Object
-  extended by java.lang.Throwable
-      extended by java.lang.Exception
-          extended by java.lang.RuntimeException
-              extended by com.google.inject.CreationException
-
-
-
All Implemented Interfaces:
Serializable
-
-
-
-
public class CreationException
extends RuntimeException
- - -

-Thrown when errors occur while creating a Injector. Includes a list of encountered - errors. Clients should catch this exception, log it, and stop execution. -

- -

-

-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - -
-Constructor Summary
CreationException(Iterable<Message> messages) - -
-          Creates a CreationException containing messages.
-  - - - - - - - - - - - - - - - -
-Method Summary
- Collection<Message>getErrorMessages() - -
-          Returns messages for the errors that caused this exception.
- StringgetMessage() - -
-           
- - - - - - - -
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-CreationException

-
-public CreationException(Iterable<Message> messages)
-
-
Creates a CreationException containing messages. -

-

- - - - - - - - -
-Method Detail
- -

-getErrorMessages

-
-public Collection<Message> getErrorMessages()
-
-
Returns messages for the errors that caused this exception. -

-

-
-
-
-
- -

-getMessage

-
-public String getMessage()
-
-
-
Overrides:
getMessage in class Throwable
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/Exposed.html b/latest-javadoc/com/google/inject/Exposed.html deleted file mode 100644 index 19f2ebab..00000000 --- a/latest-javadoc/com/google/inject/Exposed.html +++ /dev/null @@ -1,173 +0,0 @@ - - - - - - -Exposed (Guice 1.0 API) - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.google.inject -
-Annotation Type Exposed

-
-
-
@Target(value=METHOD)
-@Retention(value=RUNTIME)
-@Documented
-public @interface Exposed
- - -

-Acccompanies a @Provides method annotation in a - private module to indicate that the provided binding is exposed. -

- -

- -

- -

- -


- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/Guice.html b/latest-javadoc/com/google/inject/Guice.html deleted file mode 100644 index 99b31c01..00000000 --- a/latest-javadoc/com/google/inject/Guice.html +++ /dev/null @@ -1,330 +0,0 @@ - - - - - - -Guice (Guice 1.0 API) - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.google.inject -
-Class Guice

-
-java.lang.Object
-  extended by com.google.inject.Guice
-
-
-
-
public final class Guice
extends Object
- - -

-The entry point to the Guice framework. Creates Injectors from - Modules. - -

Guice supports a model of development that draws clear boundaries between - APIs, Implementations of these APIs, Modules which configure these - implementations, and finally Applications which consist of a collection of - Modules. It is the Application, which typically defines your main() - method, that bootstraps the Guice Injector using the Guice class, as - in this example: -

-     public class FooApplication {
-       public static void main(String[] args) {
-         Injector injector = Guice.createInjector(
-             new ModuleA(),
-             new ModuleB(),
-             . . .
-             new FooApplicationFlagsModule(args)
-         );
-
-         // Now just bootstrap the application and you're done
-         FooStarter starter = injector.getInstance(FooStarter.class);
-         starter.runApplication();
-       }
-     }
- 
-

- -

-


- -

- - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
-static InjectorcreateInjector(Iterable<? extends Module> modules) - -
-          Creates an injector for the given set of modules.
-static InjectorcreateInjector(Module... modules) - -
-          Creates an injector for the given set of modules.
-static InjectorcreateInjector(Stage stage, - Iterable<? extends Module> modules) - -
-          Creates an injector for the given set of modules, in a given development - stage.
-static InjectorcreateInjector(Stage stage, - Module... modules) - -
-          Creates an injector for the given set of modules, in a given development - stage.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Method Detail
- -

-createInjector

-
-public static Injector createInjector(Module... modules)
-
-
Creates an injector for the given set of modules. -

-

- -
Throws: -
CreationException - if one or more errors occur during Injector - construction
-
-
-
- -

-createInjector

-
-public static Injector createInjector(Iterable<? extends Module> modules)
-
-
Creates an injector for the given set of modules. -

-

- -
Throws: -
CreationException - if one or more errors occur during Injector - construction
-
-
-
- -

-createInjector

-
-public static Injector createInjector(Stage stage,
-                                      Module... modules)
-
-
Creates an injector for the given set of modules, in a given development - stage. -

-

- -
Throws: -
CreationException - if one or more errors occur during Injector - construction
-
-
-
- -

-createInjector

-
-public static Injector createInjector(Stage stage,
-                                      Iterable<? extends Module> modules)
-
-
Creates an injector for the given set of modules, in a given development - stage. -

-

- -
Throws: -
CreationException - if one or more errors occur during Injector - construction
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/ImplementedBy.html b/latest-javadoc/com/google/inject/ImplementedBy.html deleted file mode 100644 index 114cccd5..00000000 --- a/latest-javadoc/com/google/inject/ImplementedBy.html +++ /dev/null @@ -1,213 +0,0 @@ - - - - - - -ImplementedBy (Guice 1.0 API) - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.google.inject -
-Annotation Type ImplementedBy

-
-
-
@Retention(value=RUNTIME)
-@Target(value=TYPE)
-public @interface ImplementedBy
- - -

-A pointer to the default implementation of a type. -

- -

-


- -

- - - - - - - - - - - -
-Required Element Summary
- Class<?>value - -
-          The implementation type.
-  -

- - - - - - - - -
-Element Detail
- -

-value

-
-public abstract Class<?> value
-
-
The implementation type. -

-

-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/Inject.html b/latest-javadoc/com/google/inject/Inject.html deleted file mode 100644 index ad490d8e..00000000 --- a/latest-javadoc/com/google/inject/Inject.html +++ /dev/null @@ -1,235 +0,0 @@ - - - - - - -Inject (Guice 1.0 API) - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.google.inject -
-Annotation Type Inject

-
-
-
@Target(value={METHOD,CONSTRUCTOR,FIELD})
-@Retention(value=RUNTIME)
-@Documented
-public @interface Inject
- - -

-Annotates members of your implementation class (constructors, methods - and fields) into which the Injector should inject values. - The Injector fulfills injection requests for: - -

- - In all cases, a member can be injected regardless of its Java access - specifier (private, default, protected, public). -

- -

-


- -

- - - - - - - - - - - -
-Optional Element Summary
- booleanoptional - -
-          If true, and the appropriate binding is not found, - the Injector will skip injection of this method or field rather than - produce an error.
-  -

-

-optional

-
-public abstract boolean optional
-
-
If true, and the appropriate binding is not found, - the Injector will skip injection of this method or field rather than - produce an error. When applied to a field, any default value already - assigned to the field will remain (guice will not actively null out the - field). When applied to a method, the method will only be invoked if - bindings for all parameters are found. When applied to a - constructor, an error will result upon Injector creation. -

-

-
-
-
-
-
-
Default:
false
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/Injector.html b/latest-javadoc/com/google/inject/Injector.html deleted file mode 100644 index b2e90226..00000000 --- a/latest-javadoc/com/google/inject/Injector.html +++ /dev/null @@ -1,580 +0,0 @@ - - - - - - -Injector (Guice 1.0 API) - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.google.inject -
-Interface Injector

-
-
-
public interface Injector
- - -

-Builds the graphs of objects that make up your application. The injector tracks the dependencies - for each type and uses bindings to inject them. This is the core of Guice, although you rarely - interact with it directly. This "behind-the-scenes" operation is what distinguishes dependency - injection from its cousin, the service locator pattern. - -

Contains several default bindings: - -

- - Injectors are created using the facade class Guice. - -

An injector can also inject the dependencies of - already-constructed instances. This can be used to interoperate with objects created by other - frameworks or services. - -

Injectors can be hierarchical. Child injectors inherit - the configuration of their parent injectors, but the converse does not hold. - -

The injector's internal bindings are available for introspection. This - enables tools and extensions to operate on an injector reflectively. -

- -

-


- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- InjectorcreateChildInjector(Iterable<? extends Module> modules) - -
-          Returns a new injector that inherits all state from this injector.
- InjectorcreateChildInjector(Module... modules) - -
-          Returns a new injector that inherits all state from this injector.
- - - - - -
-<T> List<Binding<T>>
-
findBindingsByType(TypeLiteral<T> type) - -
-          Returns all explicit bindings for type.
- - - - - -
-<T> Binding<T>
-
getBinding(Class<T> type) - -
-          Returns the binding for the given type.
- - - - - -
-<T> Binding<T>
-
getBinding(Key<T> key) - -
-          Returns the binding for the given injection key.
- Map<Key<?>,Binding<?>>getBindings() - -
-          Returns all explicit bindings.
- - - - - -
-<T> T
-
getInstance(Class<T> type) - -
-          Returns the appropriate instance for the given injection type; equivalent to getProvider(type).get().
- - - - - -
-<T> T
-
getInstance(Key<T> key) - -
-          Returns the appropriate instance for the given injection key; equivalent to getProvider(key).get().
- InjectorgetParent() - -
-          Returns this injector's parent, or null if this is a top-level injector.
- - - - - -
-<T> Provider<T>
-
getProvider(Class<T> type) - -
-          Returns the provider used to obtain instances for the given type.
- - - - - -
-<T> Provider<T>
-
getProvider(Key<T> key) - -
-          Returns the provider used to obtain instances for the given injection key.
- voidinjectMembers(Object instance) - -
-          Injects dependencies into the fields and methods of instance.
-  -

- - - - - - - - -
-Method Detail
- -

-injectMembers

-
-void injectMembers(Object instance)
-
-
Injects dependencies into the fields and methods of instance. Ignores the presence or - absence of an injectable constructor. - -

Whenever Guice creates an instance, it performs this injection automatically (after first - performing constructor injection), so if you're able to let Guice create all your objects for - you, you'll never need to use this method. -

-

-
-
-
-
- -

-getBindings

-
-Map<Key<?>,Binding<?>> getBindings()
-
-
Returns all explicit bindings. - -

The returned map does not include bindings inherited from a parent - injector, should one exist. - -

This method is part of the Guice SPI and is intended for use by tools and extensions. -

-

-
-
-
-
- -

-getBinding

-
-<T> Binding<T> getBinding(Key<T> key)
-
-
Returns the binding for the given injection key. This will be an explicit bindings if the key - was bound explicitly by a module, or an implicit binding otherwise. The implicit binding will - be created if necessary. - -

This method is part of the Guice SPI and is intended for use by tools and extensions. -

-

- -
Throws: -
ConfigurationException - if this injector cannot find or create the binding.
-
-
-
- -

-getBinding

-
-<T> Binding<T> getBinding(Class<T> type)
-
-
Returns the binding for the given type. This will be an explicit bindings if the injection key - was bound explicitly by a module, or an implicit binding otherwise. The implicit binding will - be created if necessary. - -

This method is part of the Guice SPI and is intended for use by tools and extensions. -

-

- -
Throws: -
ConfigurationException - if this injector cannot find or create the binding.
Since:
-
2.0
-
-
-
-
- -

-findBindingsByType

-
-<T> List<Binding<T>> findBindingsByType(TypeLiteral<T> type)
-
-
Returns all explicit bindings for type. - -

This method is part of the Guice SPI and is intended for use by tools and extensions. -

-

-
-
-
-
- -

-getProvider

-
-<T> Provider<T> getProvider(Key<T> key)
-
-
Returns the provider used to obtain instances for the given injection key. When feasible, avoid - using this method, in favor of having Guice inject your dependencies ahead of time. -

-

- -
Throws: -
ConfigurationException - if this injector cannot find or create the provider.
-
-
-
- -

-getProvider

-
-<T> Provider<T> getProvider(Class<T> type)
-
-
Returns the provider used to obtain instances for the given type. When feasible, avoid - using this method, in favor of having Guice inject your dependencies ahead of time. -

-

- -
Throws: -
ConfigurationException - if this injector cannot find or create the provider.
-
-
-
- -

-getInstance

-
-<T> T getInstance(Key<T> key)
-
-
Returns the appropriate instance for the given injection key; equivalent to getProvider(key).get(). When feasible, avoid using this method, in favor of having Guice - inject your dependencies ahead of time. -

-

- -
Throws: -
ConfigurationException - if this injector cannot find or create the provider. -
ProvisionException - if there was a runtime failure while providing an instance.
-
-
-
- -

-getInstance

-
-<T> T getInstance(Class<T> type)
-
-
Returns the appropriate instance for the given injection type; equivalent to getProvider(type).get(). When feasible, avoid using this method, in favor of having Guice - inject your dependencies ahead of time. -

-

- -
Throws: -
ConfigurationException - if this injector cannot find or create the provider. -
ProvisionException - if there was a runtime failure while providing an instance.
-
-
-
- -

-getParent

-
-Injector getParent()
-
-
Returns this injector's parent, or null if this is a top-level injector. -

-

-
Since:
-
2.0
-
-
-
-
- -

-createChildInjector

-
-Injector createChildInjector(Iterable<? extends Module> modules)
-
-
Returns a new injector that inherits all state from this injector. All bindings, scopes, - interceptors and type converters are inherited -- they are visible to the child injector. - Elements of the child injector are not visible to its parent. - -

Just-in-time bindings created for child injectors will be created in an ancestor injector - whenever possible. This allows for scoped instances to be shared between injectors. Use - explicit bindings to prevent bindings from being shared with the parent injector. - -

No key may be bound by both an injector and one of its ancestors. This includes just-in-time - bindings. The lone exception is the key for Injector.class, which is bound by each - injector to itself. -

-

-
Since:
-
2.0
-
-
-
-
- -

-createChildInjector

-
-Injector createChildInjector(Module... modules)
-
-
Returns a new injector that inherits all state from this injector. All bindings, scopes, - interceptors and type converters are inherited -- they are visible to the child injector. - Elements of the child injector are not visible to its parent. - -

Just-in-time bindings created for child injectors will be created in an ancestor injector - whenever possible. This allows for scoped instances to be shared between injectors. Use - explicit bindings to prevent bindings from being shared with the parent injector. - -

No key may be bound by both an injector and one of its ancestors. This includes just-in-time - bindings. The lone exception is the key for Injector.class, which is bound by each - injector to itself. -

-

-
Since:
-
2.0
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/Key.html b/latest-javadoc/com/google/inject/Key.html deleted file mode 100644 index 48f8adfe..00000000 --- a/latest-javadoc/com/google/inject/Key.html +++ /dev/null @@ -1,755 +0,0 @@ - - - - - - -Key (Guice 1.0 API) - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.google.inject -
-Class Key<T>

-
-java.lang.Object
-  extended by com.google.inject.Key<T>
-
-
-
All Implemented Interfaces:
Serializable
-
-
-
-
public class Key<T>
extends Object
implements Serializable
- - -

-Binding key consisting of an injection type and an optional annotation. - Matches the type and annotation at a point of injection. - -

For example, Key.get(Service.class, Transactional.class) will - match: - -

-   @Inject
-   public void setService(@Transactional Service service) {
-     ...
-   }
- 
- -

Key supports generic types via subclassing just like TypeLiteral. - -

Keys do not differentiate between primitive types (int, char, etc.) and - their correpsonding wrapper types (Integer, Character, etc.). Primitive - types will be replaced with their wrapper types when keys are created. -

- -

-

-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - - - - - - - - - - -
-Constructor Summary
-protected Key() - -
-          Constructs a new key.
-protected Key(Annotation annotation) - -
-          Constructs a new key.
-protected Key(Class<? extends Annotation> annotationType) - -
-          Constructs a new key.
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- booleanequals(Object o) - -
-           
-static - - - - -
-<T> Key<T>
-
get(Class<T> type) - -
-          Gets a key for an injection type.
-static - - - - -
-<T> Key<T>
-
get(Class<T> type, - Annotation annotation) - -
-          Gets a key for an injection type and an annotation.
-static - - - - -
-<T> Key<T>
-
get(Class<T> type, - Class<? extends Annotation> annotationType) - -
-          Gets a key for an injection type and an annotation type.
-static Key<?>get(Type type) - -
-          Gets a key for an injection type.
-static Key<?>get(Type type, - Annotation annotation) - -
-          Gets a key for an injection type and an annotation.
-static Key<?>get(Type type, - Class<? extends Annotation> annotationType) - -
-          Gets a key for an injection type and an annotation type.
-static - - - - -
-<T> Key<T>
-
get(TypeLiteral<T> typeLiteral) - -
-          Gets a key for an injection type.
-static - - - - -
-<T> Key<T>
-
get(TypeLiteral<T> typeLiteral, - Annotation annotation) - -
-          Gets a key for an injection type and an annotation.
-static - - - - -
-<T> Key<T>
-
get(TypeLiteral<T> typeLiteral, - Class<? extends Annotation> annotationType) - -
-          Gets a key for an injection type and an annotation type.
- AnnotationgetAnnotation() - -
-          Gets the annotation.
- Class<? extends Annotation>getAnnotationType() - -
-          Gets the annotation type.
- TypeLiteral<T>getTypeLiteral() - -
-          Gets the key type.
- inthashCode() - -
-           
- StringtoString() - -
-           
-protected  ObjectwriteReplace() - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-Key

-
-protected Key(Class<? extends Annotation> annotationType)
-
-
Constructs a new key. Derives the type from this class's type parameter. - -

Clients create an empty anonymous subclass. Doing so embeds the type - parameter in the anonymous class's type hierarchy so we can reconstitute it - at runtime despite erasure. - -

Example usage for a binding of type Foo annotated with - @Bar: - -

new Key<Foo>(Bar.class) {}. -

-

-
- -

-Key

-
-protected Key(Annotation annotation)
-
-
Constructs a new key. Derives the type from this class's type parameter. - -

Clients create an empty anonymous subclass. Doing so embeds the type - parameter in the anonymous class's type hierarchy so we can reconstitute it - at runtime despite erasure. - -

Example usage for a binding of type Foo annotated with - @Bar: - -

new Key<Foo>(new Bar()) {}. -

-

-
- -

-Key

-
-protected Key()
-
-
Constructs a new key. Derives the type from this class's type parameter. - -

Clients create an empty anonymous subclass. Doing so embeds the type - parameter in the anonymous class's type hierarchy so we can reconstitute it - at runtime despite erasure. - -

Example usage for a binding of type Foo: - -

new Key<Foo>() {}. -

-

- - - - - - - - -
-Method Detail
- -

-getTypeLiteral

-
-public final TypeLiteral<T> getTypeLiteral()
-
-
Gets the key type. -

-

-
-
-
-
-
-
-
- -

-getAnnotationType

-
-public final Class<? extends Annotation> getAnnotationType()
-
-
Gets the annotation type. -

-

-
-
-
-
-
-
-
- -

-getAnnotation

-
-public final Annotation getAnnotation()
-
-
Gets the annotation. -

-

-
-
-
-
-
-
-
- -

-equals

-
-public final boolean equals(Object o)
-
-
-
Overrides:
equals in class Object
-
-
-
-
-
-
- -

-hashCode

-
-public final int hashCode()
-
-
-
Overrides:
hashCode in class Object
-
-
-
-
-
-
- -

-toString

-
-public final String toString()
-
-
-
Overrides:
toString in class Object
-
-
-
-
-
-
- -

-get

-
-public static <T> Key<T> get(Class<T> type)
-
-
Gets a key for an injection type. -

-

-
-
-
-
-
-
-
- -

-get

-
-public static <T> Key<T> get(Class<T> type,
-                             Class<? extends Annotation> annotationType)
-
-
Gets a key for an injection type and an annotation type. -

-

-
-
-
-
-
-
-
- -

-get

-
-public static <T> Key<T> get(Class<T> type,
-                             Annotation annotation)
-
-
Gets a key for an injection type and an annotation. -

-

-
-
-
-
-
-
-
- -

-get

-
-public static Key<?> get(Type type)
-
-
Gets a key for an injection type. -

-

-
-
-
-
-
-
-
- -

-get

-
-public static Key<?> get(Type type,
-                         Class<? extends Annotation> annotationType)
-
-
Gets a key for an injection type and an annotation type. -

-

-
-
-
-
-
-
-
- -

-get

-
-public static Key<?> get(Type type,
-                         Annotation annotation)
-
-
Gets a key for an injection type and an annotation. -

-

-
-
-
-
-
-
-
- -

-get

-
-public static <T> Key<T> get(TypeLiteral<T> typeLiteral)
-
-
Gets a key for an injection type. -

-

-
-
-
-
-
-
-
- -

-get

-
-public static <T> Key<T> get(TypeLiteral<T> typeLiteral,
-                             Class<? extends Annotation> annotationType)
-
-
Gets a key for an injection type and an annotation type. -

-

-
-
-
-
-
-
-
- -

-get

-
-public static <T> Key<T> get(TypeLiteral<T> typeLiteral,
-                             Annotation annotation)
-
-
Gets a key for an injection type and an annotation. -

-

-
-
-
-
-
-
-
- -

-writeReplace

-
-protected final Object writeReplace()
-
-
-
-
-
-
Since:
-
2.0
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/Module.html b/latest-javadoc/com/google/inject/Module.html deleted file mode 100644 index 51b92b96..00000000 --- a/latest-javadoc/com/google/inject/Module.html +++ /dev/null @@ -1,228 +0,0 @@ - - - - - - -Module (Guice 1.0 API) - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.google.inject -
-Interface Module

-
-
All Known Implementing Classes:
AbstractModule, PrivateModule, ServletModule
-
-
-
-
public interface Module
- - -

-A module contributes configuration information, typically interface - bindings, which will be used to create an Injector. A Guice-based - application is ultimately composed of little more than a set of - Modules and some bootstrapping code. - -

Your Module classes can use a more streamlined syntax by extending - AbstractModule rather than implementing this interface directly. - -

In addition to the bindings configured via configure(com.google.inject.Binder), bindings - will be created for all methods annotated with @Provides. - Use scope and binding annotations on these methods to configure the - bindings. -

- -

-


- -

- - - - - - - - - - - - -
-Method Summary
- voidconfigure(Binder binder) - -
-          Contributes bindings and other configurations for this module to a Binder.
-  -

- - - - - - - - -
-Method Detail
- -

-configure

-
-void configure(Binder binder)
-
-
Contributes bindings and other configurations for this module to a Binder. - -

Do not invoke this method directly to install submodules. Instead use - Binder.install(Module), which ensures that provider methods are - discovered. -

-

-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/OutOfScopeException.html b/latest-javadoc/com/google/inject/OutOfScopeException.html deleted file mode 100644 index f02e516f..00000000 --- a/latest-javadoc/com/google/inject/OutOfScopeException.html +++ /dev/null @@ -1,276 +0,0 @@ - - - - - - -OutOfScopeException (Guice 1.0 API) - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.google.inject -
-Class OutOfScopeException

-
-java.lang.Object
-  extended by java.lang.Throwable
-      extended by java.lang.Exception
-          extended by java.lang.RuntimeException
-              extended by com.google.inject.OutOfScopeException
-
-
-
All Implemented Interfaces:
Serializable
-
-
-
-
public final class OutOfScopeException
extends RuntimeException
- - -

-Thrown from Provider.get() when an attempt is made to access a scoped - object while the scope in question is not currently active. -

- -

-

-
Since:
-
2.0
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - - - - - - - -
-Constructor Summary
OutOfScopeException(String message) - -
-           
OutOfScopeException(String message, - Throwable cause) - -
-           
OutOfScopeException(Throwable cause) - -
-           
-  - - - - - - - -
-Method Summary
- - - - - - - -
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-OutOfScopeException

-
-public OutOfScopeException(String message)
-
-
-
- -

-OutOfScopeException

-
-public OutOfScopeException(String message,
-                           Throwable cause)
-
-
-
- -

-OutOfScopeException

-
-public OutOfScopeException(Throwable cause)
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/PrivateModule.html b/latest-javadoc/com/google/inject/PrivateModule.html deleted file mode 100644 index a98d20d6..00000000 --- a/latest-javadoc/com/google/inject/PrivateModule.html +++ /dev/null @@ -1,904 +0,0 @@ - - - - - - -PrivateModule (Guice 1.0 API) - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.google.inject -
-Class PrivateModule

-
-java.lang.Object
-  extended by com.google.inject.PrivateModule
-
-
-
All Implemented Interfaces:
Module
-
-
-
-
public abstract class PrivateModule
extends Object
implements Module
- - -

-A module whose configuration information is hidden from its environment by default. Only bindings - that are explicitly exposed will be available to other modules and to the users of the injector. - This module may expose the bindings it creates and the bindings of the modules it installs. - -

A private module can be nested within a regular module or within another private module using - install(). Its bindings live in a new environment that inherits bindings, - type converters, scopes, and interceptors from the surrounding ("parent") environment. When you - nest multiple private modules, the result is a tree of environments where the injector's - environment is the root. - -

Guice EDSL bindings can be exposed with expose(). @Provides bindings can be exposed with the @Exposed annotation: - -

- public class FooBarBazModule extends PrivateModule {
-   protected void configurePrivateBindings() {
-     bind(Foo.class).to(RealFoo.class);
-     expose(Foo.class);
-
-     install(new TransactionalBarModule());
-     expose(Bar.class).annotatedWith(Transactional.class);
-
-     bind(SomeImplementationDetail.class);
-     install(new MoreImplementationDetailsModule());
-   }
-
-   @Provides @Exposed
-   public Baz provideBaz() {
-     return new SuperBaz();
-   }
- }
- 
- -

Private modules are implemented using parent - injectors. When it can satisfy their dependencies, just-in-time bindings will be created in the - root environment. Such bindings are shared among all environments in the tree. - -

The scope of a binding is constrained to its environment. A singleton bound in a private - module will be unique to its environment. But a binding for the same type in a different private - module will yield a different instance. - -

A shared binding that injects the Injector gets the root injector, which only has - access to bindings in the root environment. An explicit binding that injects the Injector - gets access to all bindings in the child environment. - -

To promote a just-in-time binding to an explicit binding, bind it: -

-   bind(FooImpl.class);
- 
-

- -

-


- -

- - - - - - - - - - - -
-Constructor Summary
PrivateModule() - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
-protected  voidaddError(Message message) - -
-           
-protected  voidaddError(String message, - Object... arguments) - -
-           
-protected  voidaddError(Throwable t) - -
-           
-protected - - - - -
-<T> AnnotatedBindingBuilder<T>
-
bind(Class<T> clazz) - -
-           
-protected - - - - -
-<T> LinkedBindingBuilder<T>
-
bind(Key<T> key) - -
-           
-protected - - - - -
-<T> AnnotatedBindingBuilder<T>
-
bind(TypeLiteral<T> typeLiteral) - -
-           
-protected  AnnotatedConstantBindingBuilderbindConstant() - -
-           
-protected  Binderbinder() - -
-           
-protected  voidbindInterceptor(Matcher<? super Class<?>> classMatcher, - Matcher<? super Method> methodMatcher, - MethodInterceptor... interceptors) - -
-           
-protected  voidbindScope(Class<? extends Annotation> scopeAnnotation, - Scope scope) - -
-           
-protected  voidconfigure() - -
-           
- voidconfigure(Binder binder) - -
-          Contributes bindings and other configurations for this module to a Binder.
-protected abstract  voidconfigurePrivateBindings() - -
-          Creates bindings and other configurations private to this module.
-protected  voidconvertToTypes(Matcher<? super TypeLiteral<?>> typeMatcher, - TypeConverter converter) - -
-           
-protected  StagecurrentStage() - -
-           
-protected  AnnotatedElementBuilderexpose(Class<?> type) - -
-          Makes a binding for type available to other modules and the injector.
-protected - - - - -
-<T> void
-
expose(Key<T> key) - -
-          Makes the binding for key available to other modules and the injector.
-protected  AnnotatedElementBuilderexpose(TypeLiteral<?> type) - -
-          Makes a binding for type available to other modules and the injector.
-protected - - - - -
-<T> Provider<T>
-
getProvider(Class<T> type) - -
-           
-protected - - - - -
-<T> Provider<T>
-
getProvider(Key<T> key) - -
-           
-protected  voidinstall(Module module) - -
-           
-protected  voidrequestInjection(Object... objects) - -
-           
-protected  voidrequestStaticInjection(Class<?>... types) - -
-           
-protected  voidrequireBinding(Class<?> type) - -
-           
-protected  voidrequireBinding(Key<?> key) - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-PrivateModule

-
-public PrivateModule()
-
-
- - - - - - - - -
-Method Detail
- -

-configure

-
-public final void configure(Binder binder)
-
-
Description copied from interface: Module
-
Contributes bindings and other configurations for this module to a Binder. - -

Do not invoke this method directly to install submodules. Instead use - Binder.install(Module), which ensures that provider methods are - discovered. -

-

-
Specified by:
configure in interface Module
-
-
-
-
-
-
- -

-configurePrivateBindings

-
-protected abstract void configurePrivateBindings()
-
-
Creates bindings and other configurations private to this module. Use expose() to make the bindings in this module available externally. -

-

-
-
-
-
-
-
-
- -

-expose

-
-protected final <T> void expose(Key<T> key)
-
-
Makes the binding for key available to other modules and the injector. -

-

-
-
-
-
-
-
-
- -

-expose

-
-protected final AnnotatedElementBuilder expose(Class<?> type)
-
-
Makes a binding for type available to other modules and the injector. Use annotatedWith() to expose type with a - binding annotation. -

-

-
-
-
-
-
-
-
- -

-expose

-
-protected final AnnotatedElementBuilder expose(TypeLiteral<?> type)
-
-
Makes a binding for type available to other modules and the injector. Use annotatedWith() to expose type with a - binding annotation. -

-

-
-
-
-
-
-
-
- -

-configure

-
-protected final void configure()
-
-
-
-
-
-
-
-
-
- -

-binder

-
-protected final Binder binder()
-
-
-
-
-
-
-
-
-
- -

-bindScope

-
-protected final void bindScope(Class<? extends Annotation> scopeAnnotation,
-                               Scope scope)
-
-
-
-
-
-
-
-
-
- -

-bind

-
-protected final <T> LinkedBindingBuilder<T> bind(Key<T> key)
-
-
-
-
-
-
-
-
-
- -

-bind

-
-protected final <T> AnnotatedBindingBuilder<T> bind(TypeLiteral<T> typeLiteral)
-
-
-
-
-
-
-
-
-
- -

-bind

-
-protected final <T> AnnotatedBindingBuilder<T> bind(Class<T> clazz)
-
-
-
-
-
-
-
-
-
- -

-bindConstant

-
-protected final AnnotatedConstantBindingBuilder bindConstant()
-
-
-
-
-
-
-
-
-
- -

-install

-
-protected final void install(Module module)
-
-
-
-
-
-
-
-
-
- -

-addError

-
-protected final void addError(String message,
-                              Object... arguments)
-
-
-
-
-
-
-
-
-
- -

-addError

-
-protected final void addError(Throwable t)
-
-
-
-
-
-
-
-
-
- -

-addError

-
-protected final void addError(Message message)
-
-
-
-
-
-
-
-
-
- -

-requestInjection

-
-protected final void requestInjection(Object... objects)
-
-
-
-
-
-
-
-
-
- -

-requestStaticInjection

-
-protected final void requestStaticInjection(Class<?>... types)
-
-
-
-
-
-
-
-
-
- -

-bindInterceptor

-
-protected final void bindInterceptor(Matcher<? super Class<?>> classMatcher,
-                                     Matcher<? super Method> methodMatcher,
-                                     MethodInterceptor... interceptors)
-
-
-
-
-
-
-
-
-
- -

-requireBinding

-
-protected final void requireBinding(Key<?> key)
-
-
-
-
-
-
-
-
-
- -

-requireBinding

-
-protected final void requireBinding(Class<?> type)
-
-
-
-
-
-
-
-
-
- -

-getProvider

-
-protected final <T> Provider<T> getProvider(Key<T> key)
-
-
-
-
-
-
-
-
-
- -

-getProvider

-
-protected final <T> Provider<T> getProvider(Class<T> type)
-
-
-
-
-
-
-
-
-
- -

-convertToTypes

-
-protected final void convertToTypes(Matcher<? super TypeLiteral<?>> typeMatcher,
-                                    TypeConverter converter)
-
-
-
-
-
-
-
-
-
- -

-currentStage

-
-protected final Stage currentStage()
-
-
-
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/ProvidedBy.html b/latest-javadoc/com/google/inject/ProvidedBy.html deleted file mode 100644 index ac50a4b3..00000000 --- a/latest-javadoc/com/google/inject/ProvidedBy.html +++ /dev/null @@ -1,213 +0,0 @@ - - - - - - -ProvidedBy (Guice 1.0 API) - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.google.inject -
-Annotation Type ProvidedBy

-
-
-
@Retention(value=RUNTIME)
-@Target(value=TYPE)
-public @interface ProvidedBy
- - -

-A pointer to the default provider type for a type. -

- -

-


- -

- - - - - - - - - - - -
-Required Element Summary
- Class<? extends Provider<?>>value - -
-          The implementation type.
-  -

- - - - - - - - -
-Element Detail
- -

-value

-
-public abstract Class<? extends Provider<?>> value
-
-
The implementation type. -

-

-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/Provider.html b/latest-javadoc/com/google/inject/Provider.html deleted file mode 100644 index ebeb7709..00000000 --- a/latest-javadoc/com/google/inject/Provider.html +++ /dev/null @@ -1,242 +0,0 @@ - - - - - - -Provider (Guice 1.0 API) - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.google.inject -
-Interface Provider<T>

-
-
Type Parameters:
T - the type of object this provider provides
-
-
All Known Subinterfaces:
ProviderWithDependencies<T>
-
-
-
All Known Implementing Classes:
FactoryProvider
-
-
-
-
public interface Provider<T>
- - -

-An object capable of providing instances of type T. Providers are used in numerous ways - by Guice: - -

-

- -

-


- -

- - - - - - - - - - - - -
-Method Summary
- Tget() - -
-          Provides an instance of T.
-  -

- - - - - - - - -
-Method Detail
- -

-get

-
-T get()
-
-
Provides an instance of T. Must never return null. -

-

- -
Throws: -
OutOfScopeException - when an attempt is made to access a scoped object while the scope - in question is not currently active -
ProvisionException - if an instance cannot be provided. Such exceptions include messages - and throwables to describe why provision failed.
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/Provides.html b/latest-javadoc/com/google/inject/Provides.html deleted file mode 100644 index aa18d2bb..00000000 --- a/latest-javadoc/com/google/inject/Provides.html +++ /dev/null @@ -1,177 +0,0 @@ - - - - - - -Provides (Guice 1.0 API) - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.google.inject -
-Annotation Type Provides

-
-
-
@Documented
-@Target(value=METHOD)
-@Retention(value=RUNTIME)
-public @interface Provides
- - -

-Annotates methods of a Module to create a provider method binding. The method's return - type is bound to it's returned value. Guice will pass dependencies to the method as parameters. -

- -

-

-
Since:
-
2.0
-
- -

- -

- -


- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/ProvisionException.html b/latest-javadoc/com/google/inject/ProvisionException.html deleted file mode 100644 index 4f34fc51..00000000 --- a/latest-javadoc/com/google/inject/ProvisionException.html +++ /dev/null @@ -1,329 +0,0 @@ - - - - - - -ProvisionException (Guice 1.0 API) - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.google.inject -
-Class ProvisionException

-
-java.lang.Object
-  extended by java.lang.Throwable
-      extended by java.lang.Exception
-          extended by java.lang.RuntimeException
-              extended by com.google.inject.ProvisionException
-
-
-
All Implemented Interfaces:
Serializable
-
-
-
-
public final class ProvisionException
extends RuntimeException
- - -

-Indicates that there was a runtime failure while providing an instance. -

- -

-

-
Since:
-
2.0
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - - - - - - - -
-Constructor Summary
ProvisionException(Iterable<Message> messages) - -
-          Creates a ConfigurationException containing messages.
ProvisionException(String message) - -
-           
ProvisionException(String message, - Throwable cause) - -
-           
-  - - - - - - - - - - - - - - - -
-Method Summary
- Collection<Message>getErrorMessages() - -
-          Returns messages for the errors that caused this exception.
- StringgetMessage() - -
-           
- - - - - - - -
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-ProvisionException

-
-public ProvisionException(Iterable<Message> messages)
-
-
Creates a ConfigurationException containing messages. -

-

-
- -

-ProvisionException

-
-public ProvisionException(String message,
-                          Throwable cause)
-
-
-
- -

-ProvisionException

-
-public ProvisionException(String message)
-
-
- - - - - - - - -
-Method Detail
- -

-getErrorMessages

-
-public Collection<Message> getErrorMessages()
-
-
Returns messages for the errors that caused this exception. -

-

-
-
-
-
- -

-getMessage

-
-public String getMessage()
-
-
-
Overrides:
getMessage in class Throwable
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/Scope.html b/latest-javadoc/com/google/inject/Scope.html deleted file mode 100644 index 328fd4f2..00000000 --- a/latest-javadoc/com/google/inject/Scope.html +++ /dev/null @@ -1,264 +0,0 @@ - - - - - - -Scope (Guice 1.0 API) - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.google.inject -
-Interface Scope

-
-
-
public interface Scope
- - -

-A scope is a level of visibility that instances provided by Guice may have. - By default, an instance created by the Injector has no scope, - meaning it has no state from the framework's perspective -- the - Injector creates it, injects it once into the class that required it, - and then immediately forgets it. Associating a scope with a particular - binding allows the created instance to be "remembered" and possibly used - again for other injections. - -

An example of a scope is Scopes.SINGLETON. -

- -

-


- -

- - - - - - - - - - - - - - - - -
-Method Summary
- - - - - -
-<T> Provider<T>
-
scope(Key<T> key, - Provider<T> unscoped) - -
-          Scopes a provider.
- StringtoString() - -
-          A short but useful description of this scope.
-  -

- - - - - - - - -
-Method Detail
- -

-scope

-
-<T> Provider<T> scope(Key<T> key,
-                      Provider<T> unscoped)
-
-
Scopes a provider. The returned provider returns objects from this scope. - If an object does not exist in this scope, the provider can use the given - unscoped provider to retrieve one. - -

Scope implementations are strongly encouraged to override - Object.toString() in the returned provider and include the backing - provider's toString() output. -

-

-
Parameters:
key - binding key
unscoped - locates an instance when one doesn't already exist in this - scope. -
Returns:
a new provider which only delegates to the given unscoped provider - when an instance of the requested object doesn't already exist in this - scope
-
-
-
- -

-toString

-
-String toString()
-
-
A short but useful description of this scope. For comparison, the standard - scopes that ship with guice use the descriptions - "Scopes.SINGLETON", "ServletScopes.SESSION" and - "ServletScopes.REQUEST". -

-

-
Overrides:
toString in class Object
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/ScopeAnnotation.html b/latest-javadoc/com/google/inject/ScopeAnnotation.html deleted file mode 100644 index 6b15e887..00000000 --- a/latest-javadoc/com/google/inject/ScopeAnnotation.html +++ /dev/null @@ -1,180 +0,0 @@ - - - - - - -ScopeAnnotation (Guice 1.0 API) - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.google.inject -
-Annotation Type ScopeAnnotation

-
-
-
@Target(value=ANNOTATION_TYPE)
-@Retention(value=RUNTIME)
-public @interface ScopeAnnotation
- - -

-Annotates annotations which are used for scoping. Only one such annotation - may apply to a single implementation class. You must also annotate scope - annotations with @Retention(RUNTIME). For example: - -

-   @Retention(RUNTIME)
-   @Target(TYPE)
-   @ScopeAnnotation
-   public @interface SessionScoped {}
- 
-

- -

- -

- -

- -


- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/Scopes.html b/latest-javadoc/com/google/inject/Scopes.html deleted file mode 100644 index 09a73033..00000000 --- a/latest-javadoc/com/google/inject/Scopes.html +++ /dev/null @@ -1,260 +0,0 @@ - - - - - - -Scopes (Guice 1.0 API) - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.google.inject -
-Class Scopes

-
-java.lang.Object
-  extended by com.google.inject.Scopes
-
-
-
-
public class Scopes
extends Object
- - -

-Built-in scope implementations. -

- -

-


- -

- - - - - - - - - - - - - - - -
-Field Summary
-static ScopeNO_SCOPE - -
-          No scope; the same as not applying any scope at all.
-static ScopeSINGLETON - -
-          One instance per Injector.
-  - - - - - - - -
-Method Summary
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Field Detail
- -

-SINGLETON

-
-public static final Scope SINGLETON
-
-
One instance per Injector. Also see @Singleton. -

-

-
-
-
- -

-NO_SCOPE

-
-public static final Scope NO_SCOPE
-
-
No scope; the same as not applying any scope at all. Each time the - Injector obtains an instance of an object with "no scope", it injects this - instance then immediately forgets it. When the next request for the same - binding arrives it will need to obtain the instance over again. - -

This exists only in case a class has been annotated with a scope - annotation such as @Singleton, and you need to override - this to "no scope" in your binding. -

-

-
Since:
-
2.0
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/Singleton.html b/latest-javadoc/com/google/inject/Singleton.html deleted file mode 100644 index 804d854f..00000000 --- a/latest-javadoc/com/google/inject/Singleton.html +++ /dev/null @@ -1,172 +0,0 @@ - - - - - - -Singleton (Guice 1.0 API) - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.google.inject -
-Annotation Type Singleton

-
-
-
@Target(value={TYPE,METHOD})
-@Retention(value=RUNTIME)
-public @interface Singleton
- - -

-Apply this to implementation classes when you want only one instance - (per Injector) to be reused for all injections for that binding. -

- -

- -

- -

- -


- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/Stage.html b/latest-javadoc/com/google/inject/Stage.html deleted file mode 100644 index 23241bb1..00000000 --- a/latest-javadoc/com/google/inject/Stage.html +++ /dev/null @@ -1,351 +0,0 @@ - - - - - - -Stage (Guice 1.0 API) - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.google.inject -
-Enum Stage

-
-java.lang.Object
-  extended by java.lang.Enum<Stage>
-      extended by com.google.inject.Stage
-
-
-
All Implemented Interfaces:
Serializable, Comparable<Stage>
-
-
-
-
public enum Stage
extends Enum<Stage>
- - -

-The stage we're running in. -

- -

-


- -

- - - - - - - - - - - - - - - - -
-Enum Constant Summary
DEVELOPMENT - -
-          We want fast startup times at the expense of runtime performance and some up front error - checking.
PRODUCTION - -
-          We want to catch errors as early as possible and take performance hits up front.
TOOL - -
-          We're running in a tool (an IDE plugin for example).
-  - - - - - - - - - - - - - - - -
-Method Summary
-static StagevalueOf(String name) - -
-          Returns the enum constant of this type with the specified name.
-static Stage[]values() - -
-          Returns an array containing the constants of this enum type, in -the order they are declared.
- - - - - - - -
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
- - - - - - - -
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Enum Constant Detail
- -

-TOOL

-
-public static final Stage TOOL
-
-
We're running in a tool (an IDE plugin for example). We need binding meta data but not a - functioning Injector. Do not inject members of instances. Do not load eager singletons. Do as - little as possible so our tools run nice and snappy. Injectors created in this stage cannot - be used to satisfy injections. -

-

-
-
-
- -

-DEVELOPMENT

-
-public static final Stage DEVELOPMENT
-
-
We want fast startup times at the expense of runtime performance and some up front error - checking. -

-

-
-
-
- -

-PRODUCTION

-
-public static final Stage PRODUCTION
-
-
We want to catch errors as early as possible and take performance hits up front. -

-

-
-
- - - - - - - - -
-Method Detail
- -

-values

-
-public static Stage[] values()
-
-
Returns an array containing the constants of this enum type, in -the order they are declared. This method may be used to iterate -over the constants as follows: -
-for (Stage c : Stage.values())
-    System.out.println(c);
-
-

-

- -
Returns:
an array containing the constants of this enum type, in -the order they are declared
-
-
-
- -

-valueOf

-
-public static Stage valueOf(String name)
-
-
Returns the enum constant of this type with the specified name. -The string must match exactly an identifier used to declare an -enum constant in this type. (Extraneous whitespace characters are -not permitted.) -

-

-
Parameters:
name - the name of the enum constant to be returned. -
Returns:
the enum constant with the specified name -
Throws: -
IllegalArgumentException - if this enum type has no constant -with the specified name -
NullPointerException - if the argument is null
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/TypeLiteral.html b/latest-javadoc/com/google/inject/TypeLiteral.html deleted file mode 100644 index b6065734..00000000 --- a/latest-javadoc/com/google/inject/TypeLiteral.html +++ /dev/null @@ -1,528 +0,0 @@ - - - - - - -TypeLiteral (Guice 1.0 API) - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.google.inject -
-Class TypeLiteral<T>

-
-java.lang.Object
-  extended by com.google.inject.TypeLiteral<T>
-
-
-
-
public class TypeLiteral<T>
extends Object
- - -

-Represents a generic type T. Java doesn't yet provide a way to - represent generic types, so this class does. Forces clients to create a - subclass of this class which enables retrieval the type information even at - runtime. - -

For example, to create a type literal for List<String>, you can - create an empty anonymous inner class: - -

- TypeLiteral<List<String>> list = new TypeLiteral<List<String>>() {}; - -

Assumes that type T implements Object.equals(java.lang.Object) and - Object.hashCode() as value (as opposed to identity) comparison. -

- -

-


- -

- - - - - - - - - - - - -
-Constructor Summary
-protected TypeLiteral() - -
-          Constructs a new type literal.
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- booleanequals(Object o) - -
-           
-static - - - - -
-<T> TypeLiteral<T>
-
get(Class<T> type) - -
-          Gets type literal for the given Class instance.
-static TypeLiteral<?>get(Type type) - -
-          Gets type literal for the given Type instance.
- List<TypeLiteral<?>>getExceptionTypes(Member methodOrConstructor) - -
-          Returns the resolved generic exception types thrown by constructor.
- TypeLiteral<?>getFieldType(Field field) - -
-          Returns the resolved generic type of field.
- List<TypeLiteral<?>>getParameterTypes(Member methodOrConstructor) - -
-          Returns the resolved generic parameter types of methodOrConstructor.
- Class<? super T>getRawType() - -
-          Returns the raw (non-generic) type for this type.
- TypeLiteral<?>getReturnType(Method method) - -
-          Returns the resolved generic return type of method.
- TypeLiteral<?>getSupertype(Class<?> supertype) - -
-          Returns the generic form of supertype.
- TypegetType() - -
-          Gets underlying Type instance.
- inthashCode() - -
-           
- StringtoString() - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-TypeLiteral

-
-protected TypeLiteral()
-
-
Constructs a new type literal. Derives represented class from type - parameter. - -

Clients create an empty anonymous subclass. Doing so embeds the type - parameter in the anonymous class's type hierarchy so we can reconstitute it - at runtime despite erasure. -

-

- - - - - - - - -
-Method Detail
- -

-getRawType

-
-public final Class<? super T> getRawType()
-
-
Returns the raw (non-generic) type for this type. -

-

-
-
-
-
- -

-getType

-
-public final Type getType()
-
-
Gets underlying Type instance. -

-

-
-
-
-
- -

-hashCode

-
-public final int hashCode()
-
-
-
Overrides:
hashCode in class Object
-
-
-
-
-
-
- -

-equals

-
-public final boolean equals(Object o)
-
-
-
Overrides:
equals in class Object
-
-
-
-
-
-
- -

-toString

-
-public final String toString()
-
-
-
Overrides:
toString in class Object
-
-
-
-
-
-
- -

-get

-
-public static TypeLiteral<?> get(Type type)
-
-
Gets type literal for the given Type instance. -

-

-
-
-
-
- -

-get

-
-public static <T> TypeLiteral<T> get(Class<T> type)
-
-
Gets type literal for the given Class instance. -

-

-
-
-
-
- -

-getSupertype

-
-public TypeLiteral<?> getSupertype(Class<?> supertype)
-
-
Returns the generic form of supertype. For example, if this is ArrayList<String>, this returns Iterable<String> given the input Iterable.class. -

-

-
Parameters:
supertype - a superclass of, or interface implemented by, this.
Since:
-
2.0
-
-
-
-
- -

-getFieldType

-
-public TypeLiteral<?> getFieldType(Field field)
-
-
Returns the resolved generic type of field. -

-

-
Parameters:
field - a field defined by this or any superclass.
Since:
-
2.0
-
-
-
-
- -

-getParameterTypes

-
-public List<TypeLiteral<?>> getParameterTypes(Member methodOrConstructor)
-
-
Returns the resolved generic parameter types of methodOrConstructor. -

-

-
Parameters:
methodOrConstructor - a method or constructor defined by this or any supertype.
Since:
-
2.0
-
-
-
-
- -

-getExceptionTypes

-
-public List<TypeLiteral<?>> getExceptionTypes(Member methodOrConstructor)
-
-
Returns the resolved generic exception types thrown by constructor. -

-

-
Parameters:
methodOrConstructor - a method or constructor defined by this or any supertype.
Since:
-
2.0
-
-
-
-
- -

-getReturnType

-
-public TypeLiteral<?> getReturnType(Method method)
-
-
Returns the resolved generic return type of method. -

-

-
Parameters:
method - a method defined by this or any supertype.
Since:
-
2.0
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/assistedinject/Assisted.html b/latest-javadoc/com/google/inject/assistedinject/Assisted.html deleted file mode 100644 index 3dd0540b..00000000 --- a/latest-javadoc/com/google/inject/assistedinject/Assisted.html +++ /dev/null @@ -1,206 +0,0 @@ - - - - - - -Assisted (Guice 1.0 API) - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.google.inject.assistedinject -
-Annotation Type Assisted

-
-
-
@Target(value={FIELD,PARAMETER,METHOD})
-@Retention(value=RUNTIME)
-public @interface Assisted
- - -

-Annotates an injected parameter or field whose value comes from an argument to a factory method. -

- -

-


- -

- - - - - - - - - - - -
-Optional Element Summary
- Stringvalue - -
-          The unique name for this parameter.
-  -

-

-value

-
-public abstract String value
-
-
The unique name for this parameter. This is matched to the @Assisted constructor - parameter with the same value. -

-

-
-
-
-
-
-
Default:
""
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/assistedinject/AssistedInject.html b/latest-javadoc/com/google/inject/assistedinject/AssistedInject.html deleted file mode 100644 index c69a9b5b..00000000 --- a/latest-javadoc/com/google/inject/assistedinject/AssistedInject.html +++ /dev/null @@ -1,182 +0,0 @@ - - - - - - -AssistedInject (Guice 1.0 API) - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.google.inject.assistedinject -
-Annotation Type AssistedInject

-
-Deprecated. FactoryProvider now works better with the standard @Inject - annotation. When using that annotation, parameters are matched by name and type rather than - by position. In addition, values that use the standard @Inject constructor - annotation are eligible for method interception. -

-

-
@Target(value=CONSTRUCTOR)
-@Retention(value=RUNTIME)
-@Deprecated
-public @interface AssistedInject
- - -

-

Constructors annotated with @AssistedInject indicate that will can be instantiated by - the FactoryProvider. Each constructor must exactly one corresponding factory method - within the factory interface. - -

Constructor parameters must be either supplied by the factory interface and marked with - @Assisted, or they must be injectable. -

- -

- -

- -

- -


- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/assistedinject/FactoryProvider.html b/latest-javadoc/com/google/inject/assistedinject/FactoryProvider.html deleted file mode 100644 index 8202e696..00000000 --- a/latest-javadoc/com/google/inject/assistedinject/FactoryProvider.html +++ /dev/null @@ -1,351 +0,0 @@ - - - - - - -FactoryProvider (Guice 1.0 API) - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.google.inject.assistedinject -
-Class FactoryProvider<F>

-
-java.lang.Object
-  extended by com.google.inject.assistedinject.FactoryProvider<F>
-
-
-
Type Parameters:
F - The factory interface
-
-
All Implemented Interfaces:
Provider<F>
-
-
-
-
public class FactoryProvider<F>
extends Object
implements Provider<F>
- - -

-Provides a factory that combines caller-provided parameters with injector-provided values when - constructing objects. - -

Defining a factory

- Create an interface whose methods return the constructed type, or its supertypes. The method's - parameters are the arguments required to build the constructed type. -
public interface PaymentFactory {
-   Payment create(Date startDate, Money amount);
- }
- You can name your factory methods whatever you like, such as create, createPayment - or newPayment. - -

Creating a type that accepts factory parameters

- constructedType is a concrete class with an @Inject-annotated - constructor. In addition to injector-provided parameters, the constructor should have - parameters that match each of the factory method's parameters. Each factory-provided parameter - requires an @Assisted annotation. This serves to document that the parameter - is not bound by your application's modules. -
public class RealPayment implements Payment {
-   @Inject
-   public RealPayment(
-      CreditService creditService,
-      AuthService authService,
-      @Assisted Date startDate,
-      @Assisted Money amount) {
-     ...
-   }
- }
- -

Configuring factories

- In your module, bind the factory interface to the returned - factory: -
bind(PaymentFactory.class).toProvider(
-     FactoryProvider.newFactory(PaymentFactory.class, RealPayment.class));
- As a side-effect of this binding, Guice will inject the factory to initialize it for use. The - factory cannot be used until the injector has been initialized. - -

Using the factory

- Inject your factory into your application classes. When you use the factory, your arguments - will be combined with values from the injector to produce a concrete instance. -
public class PaymentAction {
-   @Inject private PaymentFactory paymentFactory;
-
-   public void doPayment(Money amount) {
-     Payment payment = paymentFactory.create(new Date(), amount);
-     payment.apply();
-   }
- }
- -

Making parameter types distinct

- The types of the factory method's parameters must be distinct. To use multiple parameters of - the same type, use a named @Assisted annotation to disambiguate the - parameters. The names must be applied to the factory method's parameters: - -
public interface PaymentFactory {
-   Payment create(
-       @Assisted("startDate") Date startDate,
-       @Assisted("dueDate") Date dueDate,
-       Money amount);
- } 
- ...and to the concrete type's constructor parameters: -
public class RealPayment implements Payment {
-   @Inject
-   public RealPayment(
-      CreditService creditService,
-      AuthService authService,
-      @Assisted("startDate") Date startDate,
-      @Assisted("dueDate") Date dueDate,
-      @Assisted Money amount) {
-     ...
-   }
- }
- -

Values are created by Guice

- Returned factories use child injectors to create values. The values are eligible for method - interception. In addition, @Inject members will be injected before they are - returned. - -

Backwards compatibility using @AssistedInject

- Instead of the @Inject annotation, you may annotate the constructed classes with - @AssistedInject. This triggers a limited backwards-compatability mode. - -

Instead of matching factory method arguments to constructor parameters using their names, the - parameters are matched by their order. The first factory method argument is - used for the first @Assisted constructor parameter, etc.. Annotation names have no - effect. - -

Returned values are not created by Guice. These types are not eligible for - method interception. They do receive post-construction member injection. -

- -

-


- -

- - - - - - - - - - - - - - - - -
-Method Summary
- Fget() - -
-          Provides an instance of T.
-static - - - - -
-<F> Provider<F>
-
newFactory(Class<F> factoryType, - Class<?> implementationType) - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Method Detail
- -

-newFactory

-
-public static <F> Provider<F> newFactory(Class<F> factoryType,
-                                         Class<?> implementationType)
-
-
-
-
-
-
-
-
-
- -

-get

-
-public F get()
-
-
Description copied from interface: Provider
-
Provides an instance of T. Must never return null. -

-

-
Specified by:
get in interface Provider<F>
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/assistedinject/package-frame.html b/latest-javadoc/com/google/inject/assistedinject/package-frame.html deleted file mode 100644 index 93e01c69..00000000 --- a/latest-javadoc/com/google/inject/assistedinject/package-frame.html +++ /dev/null @@ -1,45 +0,0 @@ - - - - - - -com.google.inject.assistedinject (Guice 1.0 API) - - - - - - - - - - - -com.google.inject.assistedinject - - - - -
-Classes  - -
-FactoryProvider
- - - - - - -
-Annotation Types  - -
-Assisted -
-AssistedInject
- - - - diff --git a/latest-javadoc/com/google/inject/assistedinject/package-summary.html b/latest-javadoc/com/google/inject/assistedinject/package-summary.html deleted file mode 100644 index 1e0a9f8c..00000000 --- a/latest-javadoc/com/google/inject/assistedinject/package-summary.html +++ /dev/null @@ -1,190 +0,0 @@ - - - - - - -com.google.inject.assistedinject (Guice 1.0 API) - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-

-Package com.google.inject.assistedinject -

-Extension for combining factory interfaces with injection. -

-See: -
-          Description -

- - - - - - - - - -
-Class Summary
FactoryProvider<F>Provides a factory that combines caller-provided parameters with injector-provided values when - constructing objects.
-  - -

- - - - - - - - - - - - - -
-Annotation Types Summary
AssistedAnnotates an injected parameter or field whose value comes from an argument to a factory method.
AssistedInjectDeprecated. FactoryProvider now works better with the standard @Inject - annotation.
-  - -

-

-Package com.google.inject.assistedinject Description -

- -

-Extension for combining factory interfaces with injection. -

- -

-

-
-
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/assistedinject/package-tree.html b/latest-javadoc/com/google/inject/assistedinject/package-tree.html deleted file mode 100644 index f521c0a6..00000000 --- a/latest-javadoc/com/google/inject/assistedinject/package-tree.html +++ /dev/null @@ -1,159 +0,0 @@ - - - - - - -com.google.inject.assistedinject Class Hierarchy (Guice 1.0 API) - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Hierarchy For Package com.google.inject.assistedinject -

-
-
-
Package Hierarchies:
All Packages
-
-

-Class Hierarchy -

- -

-Annotation Type Hierarchy -

- -
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/binder/AnnotatedBindingBuilder.html b/latest-javadoc/com/google/inject/binder/AnnotatedBindingBuilder.html deleted file mode 100644 index 3639eb30..00000000 --- a/latest-javadoc/com/google/inject/binder/AnnotatedBindingBuilder.html +++ /dev/null @@ -1,258 +0,0 @@ - - - - - - -AnnotatedBindingBuilder (Guice 1.0 API) - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.google.inject.binder -
-Interface AnnotatedBindingBuilder<T>

-
-
All Superinterfaces:
LinkedBindingBuilder<T>, ScopedBindingBuilder
-
-
-
-
public interface AnnotatedBindingBuilder<T>
extends LinkedBindingBuilder<T>
- - -

-See the EDSL examples at Binder. -

- -

-


- -

- - - - - - - - - - - - - - - - -
-Method Summary
- LinkedBindingBuilder<T>annotatedWith(Annotation annotation) - -
-          See the EDSL examples at Binder.
- LinkedBindingBuilder<T>annotatedWith(Class<? extends Annotation> annotationType) - -
-          See the EDSL examples at Binder.
- - - - - - - -
Methods inherited from interface com.google.inject.binder.LinkedBindingBuilder
to, to, to, toInstance, toProvider, toProvider, toProvider
- - - - - - - -
Methods inherited from interface com.google.inject.binder.ScopedBindingBuilder
asEagerSingleton, in, in
-  -

- - - - - - - - -
-Method Detail
- -

-annotatedWith

-
-LinkedBindingBuilder<T> annotatedWith(Class<? extends Annotation> annotationType)
-
-
See the EDSL examples at Binder. -

-

-
-
-
-
-
-
-
- -

-annotatedWith

-
-LinkedBindingBuilder<T> annotatedWith(Annotation annotation)
-
-
See the EDSL examples at Binder. -

-

-
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/binder/AnnotatedConstantBindingBuilder.html b/latest-javadoc/com/google/inject/binder/AnnotatedConstantBindingBuilder.html deleted file mode 100644 index ef90e95f..00000000 --- a/latest-javadoc/com/google/inject/binder/AnnotatedConstantBindingBuilder.html +++ /dev/null @@ -1,231 +0,0 @@ - - - - - - -AnnotatedConstantBindingBuilder (Guice 1.0 API) - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.google.inject.binder -
-Interface AnnotatedConstantBindingBuilder

-
-
-
public interface AnnotatedConstantBindingBuilder
- - -

-See the EDSL examples at Binder. -

- -

-


- -

- - - - - - - - - - - - - - - - -
-Method Summary
- ConstantBindingBuilderannotatedWith(Annotation annotation) - -
-          See the EDSL examples at Binder.
- ConstantBindingBuilderannotatedWith(Class<? extends Annotation> annotationType) - -
-          See the EDSL examples at Binder.
-  -

- - - - - - - - -
-Method Detail
- -

-annotatedWith

-
-ConstantBindingBuilder annotatedWith(Class<? extends Annotation> annotationType)
-
-
See the EDSL examples at Binder. -

-

-
-
-
-
- -

-annotatedWith

-
-ConstantBindingBuilder annotatedWith(Annotation annotation)
-
-
See the EDSL examples at Binder. -

-

-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/binder/AnnotatedElementBuilder.html b/latest-javadoc/com/google/inject/binder/AnnotatedElementBuilder.html deleted file mode 100644 index 26a04650..00000000 --- a/latest-javadoc/com/google/inject/binder/AnnotatedElementBuilder.html +++ /dev/null @@ -1,235 +0,0 @@ - - - - - - -AnnotatedElementBuilder (Guice 1.0 API) - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.google.inject.binder -
-Interface AnnotatedElementBuilder

-
-
-
public interface AnnotatedElementBuilder
- - -

-See the EDSL examples at Binder. -

- -

-

-
Since:
-
2.0
-
-
- -

- - - - - - - - - - - - - - - - -
-Method Summary
- voidannotatedWith(Annotation annotation) - -
-          See the EDSL examples at Binder.
- voidannotatedWith(Class<? extends Annotation> annotationType) - -
-          See the EDSL examples at Binder.
-  -

- - - - - - - - -
-Method Detail
- -

-annotatedWith

-
-void annotatedWith(Class<? extends Annotation> annotationType)
-
-
See the EDSL examples at Binder. -

-

-
-
-
-
- -

-annotatedWith

-
-void annotatedWith(Annotation annotation)
-
-
See the EDSL examples at Binder. -

-

-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/binder/ConstantBindingBuilder.html b/latest-javadoc/com/google/inject/binder/ConstantBindingBuilder.html deleted file mode 100644 index d7f95a75..00000000 --- a/latest-javadoc/com/google/inject/binder/ConstantBindingBuilder.html +++ /dev/null @@ -1,408 +0,0 @@ - - - - - - -ConstantBindingBuilder (Guice 1.0 API) - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.google.inject.binder -
-Interface ConstantBindingBuilder

-
-
-
public interface ConstantBindingBuilder
- - -

-Binds to a constant value. -

- -

-


- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- voidto(boolean value) - -
-          Binds constant to the given value.
- voidto(char value) - -
-          Binds constant to the given value.
- voidto(Class<?> value) - -
-          Binds constant to the given value.
- voidto(double value) - -
-          Binds constant to the given value.
- - - - - -
-<E extends Enum<E>> -
-void
-
to(E value) - -
-          Binds constant to the given value.
- voidto(float value) - -
-          Binds constant to the given value.
- voidto(int value) - -
-          Binds constant to the given value.
- voidto(long value) - -
-          Binds constant to the given value.
- voidto(short value) - -
-          Binds constant to the given value.
- voidto(String value) - -
-          Binds constant to the given value.
-  -

- - - - - - - - -
-Method Detail
- -

-to

-
-void to(String value)
-
-
Binds constant to the given value. -

-

-
-
-
-
- -

-to

-
-void to(int value)
-
-
Binds constant to the given value. -

-

-
-
-
-
- -

-to

-
-void to(long value)
-
-
Binds constant to the given value. -

-

-
-
-
-
- -

-to

-
-void to(boolean value)
-
-
Binds constant to the given value. -

-

-
-
-
-
- -

-to

-
-void to(double value)
-
-
Binds constant to the given value. -

-

-
-
-
-
- -

-to

-
-void to(float value)
-
-
Binds constant to the given value. -

-

-
-
-
-
- -

-to

-
-void to(short value)
-
-
Binds constant to the given value. -

-

-
-
-
-
- -

-to

-
-void to(char value)
-
-
Binds constant to the given value. -

-

-
-
-
-
- -

-to

-
-void to(Class<?> value)
-
-
Binds constant to the given value. -

-

-
-
-
-
- -

-to

-
-<E extends Enum<E>> void to(E value)
-
-
Binds constant to the given value. -

-

-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/binder/LinkedBindingBuilder.html b/latest-javadoc/com/google/inject/binder/LinkedBindingBuilder.html deleted file mode 100644 index 899cc90c..00000000 --- a/latest-javadoc/com/google/inject/binder/LinkedBindingBuilder.html +++ /dev/null @@ -1,372 +0,0 @@ - - - - - - -LinkedBindingBuilder (Guice 1.0 API) - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.google.inject.binder -
-Interface LinkedBindingBuilder<T>

-
-
All Superinterfaces:
ScopedBindingBuilder
-
-
-
All Known Subinterfaces:
AnnotatedBindingBuilder<T>
-
-
-
-
public interface LinkedBindingBuilder<T>
extends ScopedBindingBuilder
- - -

-See the EDSL examples at Binder. -

- -

-


- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- ScopedBindingBuilderto(Class<? extends T> implementation) - -
-          See the EDSL examples at Binder.
- ScopedBindingBuilderto(Key<? extends T> targetKey) - -
-          See the EDSL examples at Binder.
- ScopedBindingBuilderto(TypeLiteral<? extends T> implementation) - -
-          See the EDSL examples at Binder.
- voidtoInstance(T instance) - -
-          See the EDSL examples at Binder.
- ScopedBindingBuildertoProvider(Class<? extends Provider<? extends T>> providerType) - -
-          See the EDSL examples at Binder.
- ScopedBindingBuildertoProvider(Key<? extends Provider<? extends T>> providerKey) - -
-          See the EDSL examples at Binder.
- ScopedBindingBuildertoProvider(Provider<? extends T> provider) - -
-          See the EDSL examples at Binder.
- - - - - - - -
Methods inherited from interface com.google.inject.binder.ScopedBindingBuilder
asEagerSingleton, in, in
-  -

- - - - - - - - -
-Method Detail
- -

-to

-
-ScopedBindingBuilder to(Class<? extends T> implementation)
-
-
See the EDSL examples at Binder. -

-

-
-
-
-
-
-
-
- -

-to

-
-ScopedBindingBuilder to(TypeLiteral<? extends T> implementation)
-
-
See the EDSL examples at Binder. -

-

-
-
-
-
-
-
-
- -

-to

-
-ScopedBindingBuilder to(Key<? extends T> targetKey)
-
-
See the EDSL examples at Binder. -

-

-
-
-
-
-
-
-
- -

-toInstance

-
-void toInstance(T instance)
-
-
See the EDSL examples at Binder. -

-

-
-
-
-
See Also:
Injector.injectMembers(java.lang.Object)
-
-
-
- -

-toProvider

-
-ScopedBindingBuilder toProvider(Provider<? extends T> provider)
-
-
See the EDSL examples at Binder. -

-

-
-
-
-
See Also:
Injector.injectMembers(java.lang.Object)
-
-
-
- -

-toProvider

-
-ScopedBindingBuilder toProvider(Class<? extends Provider<? extends T>> providerType)
-
-
See the EDSL examples at Binder. -

-

-
-
-
-
-
-
-
- -

-toProvider

-
-ScopedBindingBuilder toProvider(Key<? extends Provider<? extends T>> providerKey)
-
-
See the EDSL examples at Binder. -

-

-
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/binder/PrivateBinder.html b/latest-javadoc/com/google/inject/binder/PrivateBinder.html deleted file mode 100644 index 68fa0c7c..00000000 --- a/latest-javadoc/com/google/inject/binder/PrivateBinder.html +++ /dev/null @@ -1,341 +0,0 @@ - - - - - - -PrivateBinder (Guice 1.0 API) - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.google.inject.binder -
-Interface PrivateBinder

-
-
All Superinterfaces:
Binder
-
-
-
-
public interface PrivateBinder
extends Binder
- - -

-Returns a binder whose configuration information is hidden from its environment by default. See - PrivateModule for details. -

- -

-

-
Since:
-
2.0
-
-
- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- AnnotatedElementBuilderexpose(Class<?> type) - -
-          Makes a binding for type available to the enclosing environment.
- voidexpose(Key<?> type) - -
-          Makes the binding for key available to the enclosing environment
- AnnotatedElementBuilderexpose(TypeLiteral<?> type) - -
-          Makes a binding for type available to the enclosing environment.
- PrivateBinderskipSources(Class... classesToSkip) - -
-          Returns a binder that skips classesToSkip when identify the - calling code.
- PrivateBinderwithSource(Object source) - -
-          Returns a binder that uses source as the reference location for - configuration errors.
- - - - - - - -
Methods inherited from interface com.google.inject.Binder
addError, addError, addError, bind, bind, bind, bindConstant, bindInterceptor, bindScope, convertToTypes, currentStage, getProvider, getProvider, install, newPrivateBinder, requestInjection, requestStaticInjection
-  -

- - - - - - - - -
-Method Detail
- -

-expose

-
-void expose(Key<?> type)
-
-
Makes the binding for key available to the enclosing environment -

-

-
-
-
-
-
-
-
- -

-expose

-
-AnnotatedElementBuilder expose(Class<?> type)
-
-
Makes a binding for type available to the enclosing environment. Use annotatedWith() to expose type with a - binding annotation. -

-

-
-
-
-
-
-
-
- -

-expose

-
-AnnotatedElementBuilder expose(TypeLiteral<?> type)
-
-
Makes a binding for type available to the enclosing environment. Use annotatedWith() to expose type with a - binding annotation. -

-

-
-
-
-
-
-
-
- -

-withSource

-
-PrivateBinder withSource(Object source)
-
-
Description copied from interface: Binder
-
Returns a binder that uses source as the reference location for - configuration errors. This is typically a StackTraceElement - for .java source but it could any binding source, such as the - path to a .properties file. -

-

-
Specified by:
withSource in interface Binder
-
-
-
Parameters:
source - any object representing the source location and has a - concise toString() value -
Returns:
a binder that shares its configuration with this binder
-
-
-
- -

-skipSources

-
-PrivateBinder skipSources(Class... classesToSkip)
-
-
Description copied from interface: Binder
-
Returns a binder that skips classesToSkip when identify the - calling code. The caller's StackTraceElement is used to locate - the source of configuration errors. -

-

-
Specified by:
skipSources in interface Binder
-
-
-
Parameters:
classesToSkip - library classes that create bindings on behalf of - their clients. -
Returns:
a binder that shares its configuration with this binder.
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/binder/ScopedBindingBuilder.html b/latest-javadoc/com/google/inject/binder/ScopedBindingBuilder.html deleted file mode 100644 index e03a12c9..00000000 --- a/latest-javadoc/com/google/inject/binder/ScopedBindingBuilder.html +++ /dev/null @@ -1,259 +0,0 @@ - - - - - - -ScopedBindingBuilder (Guice 1.0 API) - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.google.inject.binder -
-Interface ScopedBindingBuilder

-
-
All Known Subinterfaces:
AnnotatedBindingBuilder<T>, LinkedBindingBuilder<T>
-
-
-
-
public interface ScopedBindingBuilder
- - -

-See the EDSL examples at Binder. -

- -

-


- -

- - - - - - - - - - - - - - - - - - - - -
-Method Summary
- voidasEagerSingleton() - -
-          Instructs the Injector to eagerly initialize this - singleton-scoped binding upon creation.
- voidin(Class<? extends Annotation> scopeAnnotation) - -
-          See the EDSL examples at Binder.
- voidin(Scope scope) - -
-          See the EDSL examples at Binder.
-  -

- - - - - - - - -
-Method Detail
- -

-in

-
-void in(Class<? extends Annotation> scopeAnnotation)
-
-
See the EDSL examples at Binder. -

-

-
-
-
-
- -

-in

-
-void in(Scope scope)
-
-
See the EDSL examples at Binder. -

-

-
-
-
-
- -

-asEagerSingleton

-
-void asEagerSingleton()
-
-
Instructs the Injector to eagerly initialize this - singleton-scoped binding upon creation. Useful for application - initialization logic. See the EDSL examples at - Binder. -

-

-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/binder/package-frame.html b/latest-javadoc/com/google/inject/binder/package-frame.html deleted file mode 100644 index 67c29c2d..00000000 --- a/latest-javadoc/com/google/inject/binder/package-frame.html +++ /dev/null @@ -1,44 +0,0 @@ - - - - - - -com.google.inject.binder (Guice 1.0 API) - - - - - - - - - - - -com.google.inject.binder - - - - -
-Interfaces  - -
-AnnotatedBindingBuilder -
-AnnotatedConstantBindingBuilder -
-AnnotatedElementBuilder -
-ConstantBindingBuilder -
-LinkedBindingBuilder -
-PrivateBinder -
-ScopedBindingBuilder
- - - - diff --git a/latest-javadoc/com/google/inject/binder/package-summary.html b/latest-javadoc/com/google/inject/binder/package-summary.html deleted file mode 100644 index 80b5a068..00000000 --- a/latest-javadoc/com/google/inject/binder/package-summary.html +++ /dev/null @@ -1,196 +0,0 @@ - - - - - - -com.google.inject.binder (Guice 1.0 API) - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-

-Package com.google.inject.binder -

-Interfaces which make up Binder's - expression language. -

-See: -
-          Description -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Interface Summary
AnnotatedBindingBuilder<T>See the EDSL examples at Binder.
AnnotatedConstantBindingBuilderSee the EDSL examples at Binder.
AnnotatedElementBuilderSee the EDSL examples at Binder.
ConstantBindingBuilderBinds to a constant value.
LinkedBindingBuilder<T>See the EDSL examples at Binder.
PrivateBinderReturns a binder whose configuration information is hidden from its environment by default.
ScopedBindingBuilderSee the EDSL examples at Binder.
-  - -

-

-Package com.google.inject.binder Description -

- -

-Interfaces which make up Binder's - expression language. -

- -

-

-
-
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/binder/package-tree.html b/latest-javadoc/com/google/inject/binder/package-tree.html deleted file mode 100644 index 21b0a266..00000000 --- a/latest-javadoc/com/google/inject/binder/package-tree.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - -com.google.inject.binder Class Hierarchy (Guice 1.0 API) - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Hierarchy For Package com.google.inject.binder -

-
-
-
Package Hierarchies:
All Packages
-
-

-Interface Hierarchy -

- -
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/jndi/JndiIntegration.html b/latest-javadoc/com/google/inject/jndi/JndiIntegration.html deleted file mode 100644 index e9893a8f..00000000 --- a/latest-javadoc/com/google/inject/jndi/JndiIntegration.html +++ /dev/null @@ -1,238 +0,0 @@ - - - - - - -JndiIntegration (Guice 1.0 API) - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.google.inject.jndi -
-Class JndiIntegration

-
-java.lang.Object
-  extended by com.google.inject.jndi.JndiIntegration
-
-
-
-
public class JndiIntegration
extends Object
- - -

-Integrates Guice with JNDI. Requires a binding to - Context. -

- -

-


- -

- - - - - - - - - - - - -
-Method Summary
-static - - - - -
-<T> Provider<T>
-
fromJndi(Class<T> type, - String name) - -
-          Creates a provider which looks up objects in JNDI using the given name.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Method Detail
- -

-fromJndi

-
-public static <T> Provider<T> fromJndi(Class<T> type,
-                                       String name)
-
-
Creates a provider which looks up objects in JNDI using the given name. - Example usage: - -
- bind(DataSource.class).toProvider(fromJndi(DataSource.class, "java:..."));
- 
-

-

-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/jndi/package-frame.html b/latest-javadoc/com/google/inject/jndi/package-frame.html deleted file mode 100644 index e4f10d68..00000000 --- a/latest-javadoc/com/google/inject/jndi/package-frame.html +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - -com.google.inject.jndi (Guice 1.0 API) - - - - - - - - - - - -com.google.inject.jndi - - - - -
-Classes  - -
-JndiIntegration
- - - - diff --git a/latest-javadoc/com/google/inject/jndi/package-summary.html b/latest-javadoc/com/google/inject/jndi/package-summary.html deleted file mode 100644 index 60b20d9f..00000000 --- a/latest-javadoc/com/google/inject/jndi/package-summary.html +++ /dev/null @@ -1,170 +0,0 @@ - - - - - - -com.google.inject.jndi (Guice 1.0 API) - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-

-Package com.google.inject.jndi -

-JNDI integration -

-See: -
-          Description -

- - - - - - - - - -
-Class Summary
JndiIntegrationIntegrates Guice with JNDI.
-  - -

-

-Package com.google.inject.jndi Description -

- -

-JNDI integration -

- -

-

-
-
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/jndi/package-tree.html b/latest-javadoc/com/google/inject/jndi/package-tree.html deleted file mode 100644 index 7eeb9811..00000000 --- a/latest-javadoc/com/google/inject/jndi/package-tree.html +++ /dev/null @@ -1,151 +0,0 @@ - - - - - - -com.google.inject.jndi Class Hierarchy (Guice 1.0 API) - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Hierarchy For Package com.google.inject.jndi -

-
-
-
Package Hierarchies:
All Packages
-
-

-Class Hierarchy -

- -
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/matcher/AbstractMatcher.html b/latest-javadoc/com/google/inject/matcher/AbstractMatcher.html deleted file mode 100644 index ae962a82..00000000 --- a/latest-javadoc/com/google/inject/matcher/AbstractMatcher.html +++ /dev/null @@ -1,301 +0,0 @@ - - - - - - -AbstractMatcher (Guice 1.0 API) - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.google.inject.matcher -
-Class AbstractMatcher<T>

-
-java.lang.Object
-  extended by com.google.inject.matcher.AbstractMatcher<T>
-
-
-
All Implemented Interfaces:
Matcher<T>
-
-
-
-
public abstract class AbstractMatcher<T>
extends Object
implements Matcher<T>
- - -

-Implements and() and or(). -

- -

-


- -

- - - - - - - - - - - -
-Constructor Summary
AbstractMatcher() - -
-           
-  - - - - - - - - - - - - - - - -
-Method Summary
- Matcher<T>and(Matcher<? super T> other) - -
-          Returns a new matcher which returns true if both this and the - given matcher return true.
- Matcher<T>or(Matcher<? super T> other) - -
-          Returns a new matcher which returns true if either this or the - given matcher return true.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
- - - - - - - -
Methods inherited from interface com.google.inject.matcher.Matcher
matches
-  -

- - - - - - - - -
-Constructor Detail
- -

-AbstractMatcher

-
-public AbstractMatcher()
-
-
- - - - - - - - -
-Method Detail
- -

-and

-
-public Matcher<T> and(Matcher<? super T> other)
-
-
Description copied from interface: Matcher
-
Returns a new matcher which returns true if both this and the - given matcher return true. -

-

-
Specified by:
and in interface Matcher<T>
-
-
-
-
-
-
- -

-or

-
-public Matcher<T> or(Matcher<? super T> other)
-
-
Description copied from interface: Matcher
-
Returns a new matcher which returns true if either this or the - given matcher return true. -

-

-
Specified by:
or in interface Matcher<T>
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/matcher/Matcher.html b/latest-javadoc/com/google/inject/matcher/Matcher.html deleted file mode 100644 index fce61690..00000000 --- a/latest-javadoc/com/google/inject/matcher/Matcher.html +++ /dev/null @@ -1,259 +0,0 @@ - - - - - - -Matcher (Guice 1.0 API) - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.google.inject.matcher -
-Interface Matcher<T>

-
-
All Known Implementing Classes:
AbstractMatcher
-
-
-
-
public interface Matcher<T>
- - -

-Returns true or false for a given input. -

- -

-


- -

- - - - - - - - - - - - - - - - - - - - -
-Method Summary
- Matcher<T>and(Matcher<? super T> other) - -
-          Returns a new matcher which returns true if both this and the - given matcher return true.
- booleanmatches(T t) - -
-          Returns true if this matches t, false otherwise.
- Matcher<T>or(Matcher<? super T> other) - -
-          Returns a new matcher which returns true if either this or the - given matcher return true.
-  -

- - - - - - - - -
-Method Detail
- -

-matches

-
-boolean matches(T t)
-
-
Returns true if this matches t, false otherwise. -

-

-
-
-
-
- -

-and

-
-Matcher<T> and(Matcher<? super T> other)
-
-
Returns a new matcher which returns true if both this and the - given matcher return true. -

-

-
-
-
-
- -

-or

-
-Matcher<T> or(Matcher<? super T> other)
-
-
Returns a new matcher which returns true if either this or the - given matcher return true. -

-

-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/matcher/Matchers.html b/latest-javadoc/com/google/inject/matcher/Matchers.html deleted file mode 100644 index 919ef864..00000000 --- a/latest-javadoc/com/google/inject/matcher/Matchers.html +++ /dev/null @@ -1,429 +0,0 @@ - - - - - - -Matchers (Guice 1.0 API) - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.google.inject.matcher -
-Class Matchers

-
-java.lang.Object
-  extended by com.google.inject.matcher.Matchers
-
-
-
-
public class Matchers
extends Object
- - -

-Matcher implementations. Supports matching classes and methods. -

- -

-


- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
-static Matcher<AnnotatedElement>annotatedWith(Annotation annotation) - -
-          Returns a matcher which matches elements (methods, classes, etc.) - with a given annotation.
-static Matcher<AnnotatedElement>annotatedWith(Class<? extends Annotation> annotationType) - -
-          Returns a matcher which matches elements (methods, classes, etc.) - with a given annotation.
-static Matcher<Object>any() - -
-          Returns a matcher which matches any input.
-static Matcher<Object>identicalTo(Object value) - -
-          Returns a matcher which matches only the given object.
-static Matcher<Class>inPackage(Package targetPackage) - -
-          Returns a matcher which matches classes in the given package.
-static Matcher<Class>inSubpackage(String targetPackageName) - -
-          Returns a matcher which matches classes in the given package and its subpackages.
-static - - - - -
-<T> Matcher<T>
-
not(Matcher<? super T> p) - -
-          Inverts the given matcher.
-static Matcher<Object>only(Object value) - -
-          Returns a matcher which matches objects equal to the given object.
-static Matcher<Method>returns(Matcher<? super Class<?>> returnType) - -
-          Returns a matcher which matches methods with matching return types.
-static Matcher<Class>subclassesOf(Class<?> superclass) - -
-          Returns a matcher which matches subclasses of the given type (as well as - the given type).
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Method Detail
- -

-any

-
-public static Matcher<Object> any()
-
-
Returns a matcher which matches any input. -

-

-
-
-
-
- -

-not

-
-public static <T> Matcher<T> not(Matcher<? super T> p)
-
-
Inverts the given matcher. -

-

-
-
-
-
- -

-annotatedWith

-
-public static Matcher<AnnotatedElement> annotatedWith(Class<? extends Annotation> annotationType)
-
-
Returns a matcher which matches elements (methods, classes, etc.) - with a given annotation. -

-

-
-
-
-
- -

-annotatedWith

-
-public static Matcher<AnnotatedElement> annotatedWith(Annotation annotation)
-
-
Returns a matcher which matches elements (methods, classes, etc.) - with a given annotation. -

-

-
-
-
-
- -

-subclassesOf

-
-public static Matcher<Class> subclassesOf(Class<?> superclass)
-
-
Returns a matcher which matches subclasses of the given type (as well as - the given type). -

-

-
-
-
-
- -

-only

-
-public static Matcher<Object> only(Object value)
-
-
Returns a matcher which matches objects equal to the given object. -

-

-
-
-
-
- -

-identicalTo

-
-public static Matcher<Object> identicalTo(Object value)
-
-
Returns a matcher which matches only the given object. -

-

-
-
-
-
- -

-inPackage

-
-public static Matcher<Class> inPackage(Package targetPackage)
-
-
Returns a matcher which matches classes in the given package. Packages are specific to their - classloader, so classes with the same package name may not have the same package at runtime. -

-

-
-
-
-
- -

-inSubpackage

-
-public static Matcher<Class> inSubpackage(String targetPackageName)
-
-
Returns a matcher which matches classes in the given package and its subpackages. Unlike - inPackage(), this matches classes from any classloader. -

-

-
Since:
-
2.0
-
-
-
-
- -

-returns

-
-public static Matcher<Method> returns(Matcher<? super Class<?>> returnType)
-
-
Returns a matcher which matches methods with matching return types. -

-

-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/matcher/package-frame.html b/latest-javadoc/com/google/inject/matcher/package-frame.html deleted file mode 100644 index fd61ef81..00000000 --- a/latest-javadoc/com/google/inject/matcher/package-frame.html +++ /dev/null @@ -1,45 +0,0 @@ - - - - - - -com.google.inject.matcher (Guice 1.0 API) - - - - - - - - - - - -com.google.inject.matcher - - - - -
-Interfaces  - -
-Matcher
- - - - - - -
-Classes  - -
-AbstractMatcher -
-Matchers
- - - - diff --git a/latest-javadoc/com/google/inject/matcher/package-summary.html b/latest-javadoc/com/google/inject/matcher/package-summary.html deleted file mode 100644 index de7ea9b0..00000000 --- a/latest-javadoc/com/google/inject/matcher/package-summary.html +++ /dev/null @@ -1,189 +0,0 @@ - - - - - - -com.google.inject.matcher (Guice 1.0 API) - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-

-Package com.google.inject.matcher -

-Used for matching things. -

-See: -
-          Description -

- - - - - - - - - -
-Interface Summary
Matcher<T>Returns true or false for a given input.
-  - -

- - - - - - - - - - - - - -
-Class Summary
AbstractMatcher<T>Implements and() and or().
MatchersMatcher implementations.
-  - -

-

-Package com.google.inject.matcher Description -

- -

-Used for matching things. Primarily used to pick out methods to which to - apply interceptors. -

- -

-

-
-
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/matcher/package-tree.html b/latest-javadoc/com/google/inject/matcher/package-tree.html deleted file mode 100644 index 043bc37d..00000000 --- a/latest-javadoc/com/google/inject/matcher/package-tree.html +++ /dev/null @@ -1,157 +0,0 @@ - - - - - - -com.google.inject.matcher Class Hierarchy (Guice 1.0 API) - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Hierarchy For Package com.google.inject.matcher -

-
-
-
Package Hierarchies:
All Packages
-
-

-Class Hierarchy -

- -

-Interface Hierarchy -

- -
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/multibindings/MapBinder.html b/latest-javadoc/com/google/inject/multibindings/MapBinder.html deleted file mode 100644 index 635e6130..00000000 --- a/latest-javadoc/com/google/inject/multibindings/MapBinder.html +++ /dev/null @@ -1,493 +0,0 @@ - - - - - - -MapBinder (Guice 1.0 API) - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.google.inject.multibindings -
-Class MapBinder<K,V>

-
-java.lang.Object
-  extended by com.google.inject.multibindings.MapBinder<K,V>
-
-
-
-
public abstract class MapBinder<K,V>
extends Object
- - -

-An API to bind multiple map entries separately, only to later inject them as - a complete map. MapBinder is intended for use in your application's module: -


- public class SnacksModule extends AbstractModule {
-   protected void configure() {
-     MapBinder<String, Snack> mapbinder
-         = MapBinder.newMapBinder(binder(), String.class, Snack.class);
-     mapbinder.addBinding("twix").toInstance(new Twix());
-     mapbinder.addBinding("snickers").toProvider(SnickersProvider.class);
-     mapbinder.addBinding("skittles").to(Skittles.class);
-   }
- }
- -

With this binding, a Map<String, Snack> can now be - injected: -


- class SnackMachine {
-   @Inject
-   public SnackMachine(Map<String, Snack> snacks) { ... }
- }
- -

In addition to binding Map<K, V>, a mapbinder will also bind - Map<K, Provider<V>> for lazy value provision: -


- class SnackMachine {
-   @Inject
-   public SnackMachine(Map<String, Provider<Snack>> snackProviders) { ... }
- }
- -

Creating mapbindings from different modules is supported. For example, it - is okay to have both CandyModule and ChipsModule both - create their own MapBinder<String, Snack>, and to each contribute - bindings to the snacks map. When that map is injected, it will contain - entries from both modules. - -

Values are resolved at map injection time. If a value is bound to a - provider, that provider's get method will be called each time the map is - injected (unless the binding is also scoped). - -

Annotations are be used to create different maps of the same key/value - type. Each distinct annotation gets its own independent map. - -

Keys must be distinct. If the same key is bound more than - once, map injection will fail. - -

Keys must be non-null. addBinding(null) will - throw an unchecked exception. - -

Values must be non-null to use map injection. If any - value is null, map injection will fail (although injecting a map of providers - will not). -

- -

-


- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
-abstract  LinkedBindingBuilder<V>addBinding(K key) - -
-          Returns a binding builder used to add a new entry in the map.
-static - - - - -
-<K,V> MapBinder<K,V>
-
newMapBinder(Binder binder, - Class<K> keyType, - Class<V> valueType) - -
-          Returns a new mapbinder that collects entries of keyType/valueType in a - Map that is itself bound with no binding annotation.
-static - - - - -
-<K,V> MapBinder<K,V>
-
newMapBinder(Binder binder, - Class<K> keyType, - Class<V> valueType, - Annotation annotation) - -
-          Returns a new mapbinder that collects entries of keyType/valueType in a - Map that is itself bound with annotation.
-static - - - - -
-<K,V> MapBinder<K,V>
-
newMapBinder(Binder binder, - Class<K> keyType, - Class<V> valueType, - Class<? extends Annotation> annotationType) - -
-          Returns a new mapbinder that collects entries of keyType/valueType in a - Map that is itself bound with annotationType.
-static - - - - -
-<K,V> MapBinder<K,V>
-
newMapBinder(Binder binder, - TypeLiteral<K> keyType, - TypeLiteral<V> valueType) - -
-          Returns a new mapbinder that collects entries of keyType/valueType in a - Map that is itself bound with no binding annotation.
-static - - - - -
-<K,V> MapBinder<K,V>
-
newMapBinder(Binder binder, - TypeLiteral<K> keyType, - TypeLiteral<V> valueType, - Annotation annotation) - -
-          Returns a new mapbinder that collects entries of keyType/valueType in a - Map that is itself bound with annotation.
-static - - - - -
-<K,V> MapBinder<K,V>
-
newMapBinder(Binder binder, - TypeLiteral<K> keyType, - TypeLiteral<V> valueType, - Class<? extends Annotation> annotationType) - -
-          Returns a new mapbinder that collects entries of keyType/valueType in a - Map that is itself bound with annotationType.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Method Detail
- -

-newMapBinder

-
-public static <K,V> MapBinder<K,V> newMapBinder(Binder binder,
-                                                TypeLiteral<K> keyType,
-                                                TypeLiteral<V> valueType)
-
-
Returns a new mapbinder that collects entries of keyType/valueType in a - Map that is itself bound with no binding annotation. -

-

-
-
-
-
- -

-newMapBinder

-
-public static <K,V> MapBinder<K,V> newMapBinder(Binder binder,
-                                                Class<K> keyType,
-                                                Class<V> valueType)
-
-
Returns a new mapbinder that collects entries of keyType/valueType in a - Map that is itself bound with no binding annotation. -

-

-
-
-
-
- -

-newMapBinder

-
-public static <K,V> MapBinder<K,V> newMapBinder(Binder binder,
-                                                TypeLiteral<K> keyType,
-                                                TypeLiteral<V> valueType,
-                                                Annotation annotation)
-
-
Returns a new mapbinder that collects entries of keyType/valueType in a - Map that is itself bound with annotation. -

-

-
-
-
-
- -

-newMapBinder

-
-public static <K,V> MapBinder<K,V> newMapBinder(Binder binder,
-                                                Class<K> keyType,
-                                                Class<V> valueType,
-                                                Annotation annotation)
-
-
Returns a new mapbinder that collects entries of keyType/valueType in a - Map that is itself bound with annotation. -

-

-
-
-
-
- -

-newMapBinder

-
-public static <K,V> MapBinder<K,V> newMapBinder(Binder binder,
-                                                TypeLiteral<K> keyType,
-                                                TypeLiteral<V> valueType,
-                                                Class<? extends Annotation> annotationType)
-
-
Returns a new mapbinder that collects entries of keyType/valueType in a - Map that is itself bound with annotationType. -

-

-
-
-
-
- -

-newMapBinder

-
-public static <K,V> MapBinder<K,V> newMapBinder(Binder binder,
-                                                Class<K> keyType,
-                                                Class<V> valueType,
-                                                Class<? extends Annotation> annotationType)
-
-
Returns a new mapbinder that collects entries of keyType/valueType in a - Map that is itself bound with annotationType. -

-

-
-
-
-
- -

-addBinding

-
-public abstract LinkedBindingBuilder<V> addBinding(K key)
-
-
Returns a binding builder used to add a new entry in the map. Each - key must be distinct (and non-null). Bound providers will be evaluated each - time the map is injected. - -

It is an error to call this method without also calling one of the - to methods on the returned binding builder. - -

Scoping elements independently is supported. Use the in method - to specify a binding scope. -

-

-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/multibindings/Multibinder.html b/latest-javadoc/com/google/inject/multibindings/Multibinder.html deleted file mode 100644 index 6e517a27..00000000 --- a/latest-javadoc/com/google/inject/multibindings/Multibinder.html +++ /dev/null @@ -1,470 +0,0 @@ - - - - - - -Multibinder (Guice 1.0 API) - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.google.inject.multibindings -
-Class Multibinder<T>

-
-java.lang.Object
-  extended by com.google.inject.multibindings.Multibinder<T>
-
-
-
-
public abstract class Multibinder<T>
extends Object
- - -

-An API to bind multiple values separately, only to later inject them as a - complete collection. Multibinder is intended for use in your application's - module: -


- public class SnacksModule extends AbstractModule {
-   protected void configure() {
-     Multibinder<Snack> multibinder
-         = Multibinder.newSetBinder(binder(), Snack.class);
-     multibinder.addBinding().toInstance(new Twix());
-     multibinder.addBinding().toProvider(SnickersProvider.class);
-     multibinder.addBinding().to(Skittles.class);
-   }
- }
- -

With this binding, a Set<Snack> can now be injected: -


- class SnackMachine {
-   @Inject
-   public SnackMachine(Set<Snack> snacks) { ... }
- }
- -

Create multibindings from different modules is supported. For example, it - is okay to have both CandyModule and ChipsModule to both - create their own Multibinder<Snack>, and to each contribute bindings - to the set of snacks. When that set is injected, it will contain elements - from both modules. - -

Elements are resolved at set injection time. If an element is bound to a - provider, that provider's get method will be called each time the set is - injected (unless the binding is also scoped). - -

Annotations are be used to create different sets of the same element - type. Each distinct annotation gets its own independent collection of - elements. - -

Elements must be distinct. If multiple bound elements - have the same value, set injection will fail. - -

Elements must be non-null. If any set element is null, - set injection will fail. -

- -

-


- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
-abstract  LinkedBindingBuilder<T>addBinding() - -
-          Returns a binding builder used to add a new element in the set.
-static - - - - -
-<T> Multibinder<T>
-
newSetBinder(Binder binder, - Class<T> type) - -
-          Returns a new multibinder that collects instances of type in a Set that is - itself bound with no binding annotation.
-static - - - - -
-<T> Multibinder<T>
-
newSetBinder(Binder binder, - Class<T> type, - Annotation annotation) - -
-          Returns a new multibinder that collects instances of type in a Set that is - itself bound with annotation.
-static - - - - -
-<T> Multibinder<T>
-
newSetBinder(Binder binder, - Class<T> type, - Class<? extends Annotation> annotationType) - -
-          Returns a new multibinder that collects instances of type in a Set that is - itself bound with annotationType.
-static - - - - -
-<T> Multibinder<T>
-
newSetBinder(Binder binder, - TypeLiteral<T> type) - -
-          Returns a new multibinder that collects instances of type in a Set that is - itself bound with no binding annotation.
-static - - - - -
-<T> Multibinder<T>
-
newSetBinder(Binder binder, - TypeLiteral<T> type, - Annotation annotation) - -
-          Returns a new multibinder that collects instances of type in a Set that is - itself bound with annotation.
-static - - - - -
-<T> Multibinder<T>
-
newSetBinder(Binder binder, - TypeLiteral<T> type, - Class<? extends Annotation> annotationType) - -
-          Returns a new multibinder that collects instances of type in a Set that is - itself bound with annotationType.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Method Detail
- -

-newSetBinder

-
-public static <T> Multibinder<T> newSetBinder(Binder binder,
-                                              TypeLiteral<T> type)
-
-
Returns a new multibinder that collects instances of type in a Set that is - itself bound with no binding annotation. -

-

-
-
-
-
- -

-newSetBinder

-
-public static <T> Multibinder<T> newSetBinder(Binder binder,
-                                              Class<T> type)
-
-
Returns a new multibinder that collects instances of type in a Set that is - itself bound with no binding annotation. -

-

-
-
-
-
- -

-newSetBinder

-
-public static <T> Multibinder<T> newSetBinder(Binder binder,
-                                              TypeLiteral<T> type,
-                                              Annotation annotation)
-
-
Returns a new multibinder that collects instances of type in a Set that is - itself bound with annotation. -

-

-
-
-
-
- -

-newSetBinder

-
-public static <T> Multibinder<T> newSetBinder(Binder binder,
-                                              Class<T> type,
-                                              Annotation annotation)
-
-
Returns a new multibinder that collects instances of type in a Set that is - itself bound with annotation. -

-

-
-
-
-
- -

-newSetBinder

-
-public static <T> Multibinder<T> newSetBinder(Binder binder,
-                                              TypeLiteral<T> type,
-                                              Class<? extends Annotation> annotationType)
-
-
Returns a new multibinder that collects instances of type in a Set that is - itself bound with annotationType. -

-

-
-
-
-
- -

-newSetBinder

-
-public static <T> Multibinder<T> newSetBinder(Binder binder,
-                                              Class<T> type,
-                                              Class<? extends Annotation> annotationType)
-
-
Returns a new multibinder that collects instances of type in a Set that is - itself bound with annotationType. -

-

-
-
-
-
- -

-addBinding

-
-public abstract LinkedBindingBuilder<T> addBinding()
-
-
Returns a binding builder used to add a new element in the set. Each - bound element must have a distinct value. Bound providers will be - evaluated each time the set is injected. - -

It is an error to call this method without also calling one of the - to methods on the returned binding builder. - -

Scoping elements independently is supported. Use the in method - to specify a binding scope. -

-

-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/multibindings/package-frame.html b/latest-javadoc/com/google/inject/multibindings/package-frame.html deleted file mode 100644 index 3a3ba4cd..00000000 --- a/latest-javadoc/com/google/inject/multibindings/package-frame.html +++ /dev/null @@ -1,34 +0,0 @@ - - - - - - -com.google.inject.multibindings (Guice 1.0 API) - - - - - - - - - - - -com.google.inject.multibindings - - - - -
-Classes  - -
-MapBinder -
-Multibinder
- - - - diff --git a/latest-javadoc/com/google/inject/multibindings/package-summary.html b/latest-javadoc/com/google/inject/multibindings/package-summary.html deleted file mode 100644 index 4e1e9374..00000000 --- a/latest-javadoc/com/google/inject/multibindings/package-summary.html +++ /dev/null @@ -1,176 +0,0 @@ - - - - - - -com.google.inject.multibindings (Guice 1.0 API) - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-

-Package com.google.inject.multibindings -

-Extension for binding multiple instances in a collection. -

-See: -
-          Description -

- - - - - - - - - - - - - -
-Class Summary
MapBinder<K,V>An API to bind multiple map entries separately, only to later inject them as - a complete map.
Multibinder<T>An API to bind multiple values separately, only to later inject them as a - complete collection.
-  - -

-

-Package com.google.inject.multibindings Description -

- -

-Extension for binding multiple instances in a collection. -

- -

-

-
-
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/multibindings/package-tree.html b/latest-javadoc/com/google/inject/multibindings/package-tree.html deleted file mode 100644 index b549c519..00000000 --- a/latest-javadoc/com/google/inject/multibindings/package-tree.html +++ /dev/null @@ -1,151 +0,0 @@ - - - - - - -com.google.inject.multibindings Class Hierarchy (Guice 1.0 API) - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Hierarchy For Package com.google.inject.multibindings -

-
-
-
Package Hierarchies:
All Packages
-
-

-Class Hierarchy -

- -
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/name/Named.html b/latest-javadoc/com/google/inject/name/Named.html deleted file mode 100644 index 7d441ad3..00000000 --- a/latest-javadoc/com/google/inject/name/Named.html +++ /dev/null @@ -1,211 +0,0 @@ - - - - - - -Named (Guice 1.0 API) - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.google.inject.name -
-Annotation Type Named

-
-
-
@Retention(value=RUNTIME)
-@Target(value={FIELD,PARAMETER,METHOD})
-public @interface Named
- - -

-Annotates named things. -

- -

-


- -

- - - - - - - - - - - -
-Required Element Summary
- Stringvalue - -
-           
-  -

- - - - - - - - -
-Element Detail
- -

-value

-
-public abstract String value
-
-
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/name/Names.html b/latest-javadoc/com/google/inject/name/Names.html deleted file mode 100644 index e0164eaf..00000000 --- a/latest-javadoc/com/google/inject/name/Names.html +++ /dev/null @@ -1,273 +0,0 @@ - - - - - - -Names (Guice 1.0 API) - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.google.inject.name -
-Class Names

-
-java.lang.Object
-  extended by com.google.inject.name.Names
-
-
-
-
public class Names
extends Object
- - -

-Utility methods for use with @Named. -

- -

-


- -

- - - - - - - - - - - - - - - - - - - - -
-Method Summary
-static voidbindProperties(Binder binder, - Map<String,String> properties) - -
-          Creates a constant binding to @Named(key) for each entry in - properties.
-static voidbindProperties(Binder binder, - Properties properties) - -
-          Creates a constant binding to @Named(key) for each property.
-static Namednamed(String name) - -
-          Creates a Named annotation with name as the value.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Method Detail
- -

-named

-
-public static Named named(String name)
-
-
Creates a Named annotation with name as the value. -

-

-
-
-
-
- -

-bindProperties

-
-public static void bindProperties(Binder binder,
-                                  Map<String,String> properties)
-
-
Creates a constant binding to @Named(key) for each entry in - properties. -

-

-
-
-
-
- -

-bindProperties

-
-public static void bindProperties(Binder binder,
-                                  Properties properties)
-
-
Creates a constant binding to @Named(key) for each property. This - method binds all properties including those inherited from - defaults. -

-

-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/name/package-frame.html b/latest-javadoc/com/google/inject/name/package-frame.html deleted file mode 100644 index 61115dfd..00000000 --- a/latest-javadoc/com/google/inject/name/package-frame.html +++ /dev/null @@ -1,43 +0,0 @@ - - - - - - -com.google.inject.name (Guice 1.0 API) - - - - - - - - - - - -com.google.inject.name - - - - -
-Classes  - -
-Names
- - - - - - -
-Annotation Types  - -
-Named
- - - - diff --git a/latest-javadoc/com/google/inject/name/package-summary.html b/latest-javadoc/com/google/inject/name/package-summary.html deleted file mode 100644 index afa453f8..00000000 --- a/latest-javadoc/com/google/inject/name/package-summary.html +++ /dev/null @@ -1,184 +0,0 @@ - - - - - - -com.google.inject.name (Guice 1.0 API) - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-

-Package com.google.inject.name -

-Support for binding to string-based names. -

-See: -
-          Description -

- - - - - - - - - -
-Class Summary
NamesUtility methods for use with @Named.
-  - -

- - - - - - - - - -
-Annotation Types Summary
NamedAnnotates named things.
-  - -

-

-Package com.google.inject.name Description -

- -

-Support for binding to string-based names. -

- -

-

-
-
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/name/package-tree.html b/latest-javadoc/com/google/inject/name/package-tree.html deleted file mode 100644 index adb97b66..00000000 --- a/latest-javadoc/com/google/inject/name/package-tree.html +++ /dev/null @@ -1,157 +0,0 @@ - - - - - - -com.google.inject.name Class Hierarchy (Guice 1.0 API) - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Hierarchy For Package com.google.inject.name -

-
-
-
Package Hierarchies:
All Packages
-
-

-Class Hierarchy -

- -

-Annotation Type Hierarchy -

- -
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/package-frame.html b/latest-javadoc/com/google/inject/package-frame.html deleted file mode 100644 index 0f76940a..00000000 --- a/latest-javadoc/com/google/inject/package-frame.html +++ /dev/null @@ -1,116 +0,0 @@ - - - - - - -com.google.inject (Guice 1.0 API) - - - - - - - - - - - -com.google.inject - - - - -
-Interfaces  - -
-Binder -
-Binding -
-Injector -
-Module -
-Provider -
-Scope
- - - - - - -
-Classes  - -
-AbstractModule -
-Guice -
-Key -
-PrivateModule -
-Scopes -
-TypeLiteral
- - - - - - -
-Enums  - -
-Stage
- - - - - - -
-Exceptions  - -
-ConfigurationException -
-CreationException -
-OutOfScopeException -
-ProvisionException
- - - - - - -
-Annotation Types  - -
-BindingAnnotation -
-Exposed -
-ImplementedBy -
-Inject -
-ProvidedBy -
-Provides -
-ScopeAnnotation -
-Singleton
- - - - diff --git a/latest-javadoc/com/google/inject/package-summary.html b/latest-javadoc/com/google/inject/package-summary.html deleted file mode 100644 index 2b56533c..00000000 --- a/latest-javadoc/com/google/inject/package-summary.html +++ /dev/null @@ -1,342 +0,0 @@ - - - - - - -com.google.inject (Guice 1.0 API) - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-

-Package com.google.inject -

-Google Guice (pronounced "juice") is an ultra-lightweight dependency - injection framework. -

-See: -
-          Description -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Interface Summary
BinderCollects configuration information (primarily bindings) which will be - used to create an Injector.
Binding<T>A mapping from a key (type and optional annotation) to the strategy for getting instances of the - type.
InjectorBuilds the graphs of objects that make up your application.
ModuleA module contributes configuration information, typically interface - bindings, which will be used to create an Injector.
Provider<T>An object capable of providing instances of type T.
ScopeA scope is a level of visibility that instances provided by Guice may have.
-  - -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Class Summary
AbstractModuleA support class for Modules which reduces repetition and results in - a more readable configuration.
GuiceThe entry point to the Guice framework.
Key<T>Binding key consisting of an injection type and an optional annotation.
PrivateModuleA module whose configuration information is hidden from its environment by default.
ScopesBuilt-in scope implementations.
TypeLiteral<T>Represents a generic type T.
-  - -

- - - - - - - - - -
-Enum Summary
StageThe stage we're running in.
-  - -

- - - - - - - - - - - - - - - - - - - - - -
-Exception Summary
ConfigurationExceptionThrown when a programming error such as a misplaced annotation, illegal binding, or unsupported - scope is found.
CreationExceptionThrown when errors occur while creating a Injector.
OutOfScopeExceptionThrown from Provider.get() when an attempt is made to access a scoped - object while the scope in question is not currently active.
ProvisionExceptionIndicates that there was a runtime failure while providing an instance.
-  - -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Annotation Types Summary
BindingAnnotationAnnotates annotations which are used for binding.
ExposedAcccompanies a @Provides method annotation in a - private module to indicate that the provided binding is exposed.
ImplementedByA pointer to the default implementation of a type.
InjectAnnotates members of your implementation class (constructors, methods - and fields) into which the Injector should inject values.
ProvidedByA pointer to the default provider type for a type.
ProvidesAnnotates methods of a Module to create a provider method binding.
ScopeAnnotationAnnotates annotations which are used for scoping.
SingletonApply this to implementation classes when you want only one instance - (per Injector) to be reused for all injections for that binding.
-  - -

-

-Package com.google.inject Description -

- -

-Google Guice (pronounced "juice") is an ultra-lightweight dependency - injection framework. Please refer to the Guice - User's Guide - for a gentle introduction. - -

The principal public APIs in this package are: - -

-
Inject -
The annotation you will use in your implementation classes to tell Guice - where and how it should send in ("inject") the objects you depend on - (your "dependencies"). - -
Module -
The interface you will implement in order to specify "bindings" -- - instructions for how Guice should handle injection -- for a particular - set of interfaces. - -
Binder -
The object that Guice passes into your Module - to collect these bindings. - -
Provider -
The interface you will implement when you need to customize exactly how - Guice creates instances for a particular binding. - -
-

- -

-

-
-
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/package-tree.html b/latest-javadoc/com/google/inject/package-tree.html deleted file mode 100644 index 8b8730e6..00000000 --- a/latest-javadoc/com/google/inject/package-tree.html +++ /dev/null @@ -1,191 +0,0 @@ - - - - - - -com.google.inject Class Hierarchy (Guice 1.0 API) - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Hierarchy For Package com.google.inject -

-
-
-
Package Hierarchies:
All Packages
-
-

-Class Hierarchy -

- -

-Interface Hierarchy -

- -

-Annotation Type Hierarchy -

- -

-Enum Hierarchy -

- -
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/servlet/GuiceFilter.html b/latest-javadoc/com/google/inject/servlet/GuiceFilter.html deleted file mode 100644 index 1191a8b2..00000000 --- a/latest-javadoc/com/google/inject/servlet/GuiceFilter.html +++ /dev/null @@ -1,334 +0,0 @@ - - - - - - -GuiceFilter (Guice 1.0 API) - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.google.inject.servlet -
-Class GuiceFilter

-
-java.lang.Object
-  extended by com.google.inject.servlet.GuiceFilter
-
-
-
All Implemented Interfaces:
javax.servlet.Filter
-
-
-
-
public class GuiceFilter
extends Object
implements javax.servlet.Filter
- - -

-

- Apply this filter in web.xml above all other filters (typically), to all requests where you plan - to use servlet scopes. This is also needed in order to dispatch requests to injectable filters - and servlets: -

-  <filter>
-    <filter-name>guiceFilter</filter-name>
-    <filter-class>com.google.inject.servlet.GuiceFilter</filter-class>
-  </filter>
-
-  <filter-mapping>
-    <filter-name>guiceFilter</filter-name>
-    <url-pattern>/*</url-pattern>
-  </filter-mapping>
-  
- - This filter must appear before every filter that makes use of Guice injection or servlet - scopes functionality. Typically, you will only register this filter in web.xml and register - any other filters (and servlets) using a ServletModule. -

- -

-


- -

- - - - - - - - - - - -
-Constructor Summary
GuiceFilter() - -
-           
-  - - - - - - - - - - - - - - - - - - - -
-Method Summary
- voiddestroy() - -
-           
- voiddoFilter(javax.servlet.ServletRequest servletRequest, - javax.servlet.ServletResponse servletResponse, - javax.servlet.FilterChain filterChain) - -
-           
- voidinit(javax.servlet.FilterConfig filterConfig) - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-GuiceFilter

-
-public GuiceFilter()
-
-
- - - - - - - - -
-Method Detail
- -

-doFilter

-
-public void doFilter(javax.servlet.ServletRequest servletRequest,
-                     javax.servlet.ServletResponse servletResponse,
-                     javax.servlet.FilterChain filterChain)
-              throws IOException,
-                     javax.servlet.ServletException
-
-
-
Specified by:
doFilter in interface javax.servlet.Filter
-
-
- -
Throws: -
IOException -
javax.servlet.ServletException
-
-
-
- -

-init

-
-public void init(javax.servlet.FilterConfig filterConfig)
-          throws javax.servlet.ServletException
-
-
-
Specified by:
init in interface javax.servlet.Filter
-
-
- -
Throws: -
javax.servlet.ServletException
-
-
-
- -

-destroy

-
-public void destroy()
-
-
-
Specified by:
destroy in interface javax.servlet.Filter
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/servlet/GuiceServletContextListener.html b/latest-javadoc/com/google/inject/servlet/GuiceServletContextListener.html deleted file mode 100644 index 86ec9c44..00000000 --- a/latest-javadoc/com/google/inject/servlet/GuiceServletContextListener.html +++ /dev/null @@ -1,310 +0,0 @@ - - - - - - -GuiceServletContextListener (Guice 1.0 API) - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.google.inject.servlet -
-Class GuiceServletContextListener

-
-java.lang.Object
-  extended by com.google.inject.servlet.GuiceServletContextListener
-
-
-
All Implemented Interfaces:
EventListener, javax.servlet.ServletContextListener
-
-
-
-
public abstract class GuiceServletContextListener
extends Object
implements javax.servlet.ServletContextListener
- - -

-As of Guice 2.0 you can still use (your subclasses of) GuiceServletContextListener - class as a logical place to create and configure your injector. This will ensure the injector - is created when the web application is deployed. -

- -

-


- -

- - - - - - - - - - - -
-Constructor Summary
GuiceServletContextListener() - -
-           
-  - - - - - - - - - - - - - - - - - - - -
-Method Summary
- voidcontextDestroyed(javax.servlet.ServletContextEvent servletContextEvent) - -
-           
- voidcontextInitialized(javax.servlet.ServletContextEvent servletContextEvent) - -
-           
-protected abstract  InjectorgetInjector() - -
-          Override this method to create (or otherwise obtain a reference to) your - injector.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-GuiceServletContextListener

-
-public GuiceServletContextListener()
-
-
- - - - - - - - -
-Method Detail
- -

-contextInitialized

-
-public void contextInitialized(javax.servlet.ServletContextEvent servletContextEvent)
-
-
-
Specified by:
contextInitialized in interface javax.servlet.ServletContextListener
-
-
-
-
-
-
- -

-contextDestroyed

-
-public void contextDestroyed(javax.servlet.ServletContextEvent servletContextEvent)
-
-
-
Specified by:
contextDestroyed in interface javax.servlet.ServletContextListener
-
-
-
-
-
-
- -

-getInjector

-
-protected abstract Injector getInjector()
-
-
Override this method to create (or otherwise obtain a reference to) your - injector. -

-

-
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/servlet/RequestParameters.html b/latest-javadoc/com/google/inject/servlet/RequestParameters.html deleted file mode 100644 index c8065270..00000000 --- a/latest-javadoc/com/google/inject/servlet/RequestParameters.html +++ /dev/null @@ -1,172 +0,0 @@ - - - - - - -RequestParameters (Guice 1.0 API) - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.google.inject.servlet -
-Annotation Type RequestParameters

-
-
-
@Retention(value=RUNTIME)
-@Target(value={FIELD,PARAMETER,METHOD})
-public @interface RequestParameters
- - -

-Apply this to field or parameters of type Map<String, String[]> - when you want the HTTP request parameter map to be injected. -

- -

- -

- -

- -


- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/servlet/RequestScoped.html b/latest-javadoc/com/google/inject/servlet/RequestScoped.html deleted file mode 100644 index 1c923d3e..00000000 --- a/latest-javadoc/com/google/inject/servlet/RequestScoped.html +++ /dev/null @@ -1,171 +0,0 @@ - - - - - - -RequestScoped (Guice 1.0 API) - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.google.inject.servlet -
-Annotation Type RequestScoped

-
-
-
@Target(value={TYPE,METHOD})
-@Retention(value=RUNTIME)
-public @interface RequestScoped
- - -

-Apply this to implementation classes when you want one instance per request. -

- -

- -

- -

- -


- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/servlet/ServletModule.FilterKeyBindingBuilder.html b/latest-javadoc/com/google/inject/servlet/ServletModule.FilterKeyBindingBuilder.html deleted file mode 100644 index f4c86c0f..00000000 --- a/latest-javadoc/com/google/inject/servlet/ServletModule.FilterKeyBindingBuilder.html +++ /dev/null @@ -1,268 +0,0 @@ - - - - - - -ServletModule.FilterKeyBindingBuilder (Guice 1.0 API) - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.google.inject.servlet -
-Interface ServletModule.FilterKeyBindingBuilder

-
-
Enclosing class:
ServletModule
-
-
-
-
public static interface ServletModule.FilterKeyBindingBuilder
- - -

-


- -

- - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- voidthrough(Class<? extends javax.servlet.Filter> filterKey) - -
-           
- voidthrough(Class<? extends javax.servlet.Filter> dummyFilterClass, - Map<String,String> contextParams) - -
-           
- voidthrough(Key<? extends javax.servlet.Filter> filterKey) - -
-           
- voidthrough(Key<? extends javax.servlet.Filter> dummyFilterClass, - Map<String,String> contextParams) - -
-           
-  -

- - - - - - - - -
-Method Detail
- -

-through

-
-void through(Class<? extends javax.servlet.Filter> filterKey)
-
-
-
-
-
-
- -

-through

-
-void through(Key<? extends javax.servlet.Filter> filterKey)
-
-
-
-
-
-
- -

-through

-
-void through(Class<? extends javax.servlet.Filter> dummyFilterClass,
-             Map<String,String> contextParams)
-
-
-
-
-
-
- -

-through

-
-void through(Key<? extends javax.servlet.Filter> dummyFilterClass,
-             Map<String,String> contextParams)
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/servlet/ServletModule.ServletKeyBindingBuilder.html b/latest-javadoc/com/google/inject/servlet/ServletModule.ServletKeyBindingBuilder.html deleted file mode 100644 index 6e9c1a3e..00000000 --- a/latest-javadoc/com/google/inject/servlet/ServletModule.ServletKeyBindingBuilder.html +++ /dev/null @@ -1,268 +0,0 @@ - - - - - - -ServletModule.ServletKeyBindingBuilder (Guice 1.0 API) - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.google.inject.servlet -
-Interface ServletModule.ServletKeyBindingBuilder

-
-
Enclosing class:
ServletModule
-
-
-
-
public static interface ServletModule.ServletKeyBindingBuilder
- - -

-


- -

- - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- voidwith(Class<? extends javax.servlet.http.HttpServlet> servletKey) - -
-           
- voidwith(Class<? extends javax.servlet.http.HttpServlet> servletKey, - Map<String,String> contextParams) - -
-           
- voidwith(Key<? extends javax.servlet.http.HttpServlet> servletKey) - -
-           
- voidwith(Key<? extends javax.servlet.http.HttpServlet> servletKey, - Map<String,String> contextParams) - -
-           
-  -

- - - - - - - - -
-Method Detail
- -

-with

-
-void with(Class<? extends javax.servlet.http.HttpServlet> servletKey)
-
-
-
-
-
-
- -

-with

-
-void with(Key<? extends javax.servlet.http.HttpServlet> servletKey)
-
-
-
-
-
-
- -

-with

-
-void with(Class<? extends javax.servlet.http.HttpServlet> servletKey,
-          Map<String,String> contextParams)
-
-
-
-
-
-
- -

-with

-
-void with(Key<? extends javax.servlet.http.HttpServlet> servletKey,
-          Map<String,String> contextParams)
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/servlet/ServletModule.html b/latest-javadoc/com/google/inject/servlet/ServletModule.html deleted file mode 100644 index 530fa1ca..00000000 --- a/latest-javadoc/com/google/inject/servlet/ServletModule.html +++ /dev/null @@ -1,533 +0,0 @@ - - - - - - -ServletModule (Guice 1.0 API) - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.google.inject.servlet -
-Class ServletModule

-
-java.lang.Object
-  extended by com.google.inject.AbstractModule
-      extended by com.google.inject.servlet.ServletModule
-
-
-
All Implemented Interfaces:
Module
-
-
-
-
public class ServletModule
extends AbstractModule
- - -

-Configures the servlet scopes and creates bindings for the servlet API - objects so you can inject the request, response, session, etc. - -

- - As of Guice 2.0, you can subclass this module to register servlets and - filters in the configureServlets() method. -

- -

-


- -

- - - - - - - - - - - - - - - -
-Nested Class Summary
-static interfaceServletModule.FilterKeyBindingBuilder - -
-           
-static interfaceServletModule.ServletKeyBindingBuilder - -
-           
-  - - - - - - - - - - -
-Constructor Summary
ServletModule() - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
-protected  voidconfigure() - -
-          Configures a Binder via the exposed methods.
-protected  voidconfigureServlets() - -
-          Servlet Mapping EDSL
-protected  ServletModule.FilterKeyBindingBuilderfilter(String urlPattern, - String... morePatterns) - -
-           
-protected  ServletModule.FilterKeyBindingBuilderfilterRegex(String regex, - String... regexes) - -
-           
-protected  ServletModule.ServletKeyBindingBuilderserve(String urlPattern, - String... morePatterns) - -
-           
-protected  ServletModule.ServletKeyBindingBuilderserveRegex(String regex, - String... regexes) - -
-           
- - - - - - - -
Methods inherited from class com.google.inject.AbstractModule
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindScope, configure, convertToTypes, currentStage, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBinding
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-ServletModule

-
-public ServletModule()
-
-
- - - - - - - - -
-Method Detail
- -

-configure

-
-protected final void configure()
-
-
Description copied from class: AbstractModule
-
Configures a Binder via the exposed methods. -

-

-
Specified by:
configure in class AbstractModule
-
-
-
-
-
-
- -

-configureServlets

-
-protected void configureServlets()
-
-

Servlet Mapping EDSL

- -

Part of the EDSL builder language for configuring servlets - and filters with guice-servlet. Think of this as an in-code replacement for web.xml. - Filters and servlets are configured here using simple java method calls. Here is a typical - example of registering a filter when creating your Guice injector: - -

-   Guice.createInjector(..., new ServletModule() {
-
-     @Override
-     protected void configureServlets() {
-       serve("*.html").with(MyServlet.class)
-     }
-   }
- 
- - This registers a servlet (subclass of HttpServlet) called MyServlet to service - any web pages ending in .html. You can also use a path-style syntax to register - servlets: - -
-       serve("/my/*").with(MyServlet.class)
- 
- - Every servlet is required to be a singleton and will implicitly be bound as one if it isn't - already. Mapping a servlet that is bound under any other scope is an error. - -

-

Dispatch Order

- You are free to register as many servlets and filters as you like this way. They will - be compared and dispatched in the order in which the filter methods are called: - -
-
-   Guice.createInjector(..., new ServletModule() {
-
-     @Override
-     protected void configureServlets() {
-       filter("/*").through(MyFilter.class);
-       filter("*.css").through(MyCssFilter.class);
-       // etc..
-
-       serve("*.html").with(MyServlet.class);
-       serve("/my/*").with(MyServlet.class);
-       // etc..
-      }
-    }
- 
- This will traverse down the list of rules in lexical order. For example, a url - "/my/file.js" (after it runs through the matching filters) will first - be compared against the servlet mapping: - -
-       serve("*.html").with(MyServlet.class);
- 
- And failing that, it will descend to the next servlet mapping: - -
-       serve("/my/*").with(MyServlet.class);
- 
- - Since this rule matches, Guice Servlet will dispatch to MyServlet. These - two mapping rules can also be written in more compact form using varargs syntax: - -
-       serve("*.html", "/my/*").with(MyServlet.class);
- 
- - This way you can map several URI patterns to the same servlet. A similar syntax is - also available for filter mappings. - -

-

Regular Expressions

- You can also map servlets (or filters) to URIs using regular expressions: -
-    serveRegex("(.)*ajax(.)*").with(MyAjaxServlet.class)
- 
- - This will map any URI containing the text "ajax" in it to MyAjaxServlet. Such as: -
    -
  • http://www.google.com/ajax.html
  • -
  • http://www.google.com/content/ajax/index
  • -
  • http://www.google.com/it/is_totally_ajaxian
  • -
- - -

Initialization Parameters

- - Servlets (and filters) allow you to pass in init params - using the <init-param> tag in web.xml. You can similarly pass in parameters to - Servlets and filters registered in Guice-servlet using a Map of parameter - name/value pairs. For example, to initialize MyServlet with two parameters - (name="Dhanji", site="google.com") you could write: - -
-  Map<String, String> params = new HashMap<String, String>();
-  params.put("name", "Dhanji");
-  params.put("site", "google.com");
-
-  ...
-      serve("/*").with(MyServlet.class, params)
- 
- -

-

Binding Keys

- - You can also bind keys rather than classes. This lets you hide - implementations with package-local visbility and expose them using - only a Guice module and an annotation: - -
-  ...
-      filter("/*").through(Key.get(Filter.class, Fave.class));
- 
- - Where Filter.class refers to the Servlet API interface and Fave.class is a - custom binding annotation. Elsewhere (in one of your own modules) you can bind this - filter's implementation: - -
-   bind(Filter.class).annotatedWith(Fave.class).to(MyFilterImpl.class);
- 
- - See Binder for more information on binding syntax. -

-

-
-
-
-
- -

-filter

-
-protected final ServletModule.FilterKeyBindingBuilder filter(String urlPattern,
-                                                             String... morePatterns)
-
-
-
Parameters:
urlPattern - Any Servlet-style pattern. examples: /*, /html/*, *.html, etc.
-
-
-
- -

-filterRegex

-
-protected final ServletModule.FilterKeyBindingBuilder filterRegex(String regex,
-                                                                  String... regexes)
-
-
-
Parameters:
regex - Any Java-style regular expression.
-
-
-
- -

-serve

-
-protected final ServletModule.ServletKeyBindingBuilder serve(String urlPattern,
-                                                             String... morePatterns)
-
-
-
Parameters:
urlPattern - Any Servlet-style pattern. examples: /*, /html/*, *.html, etc.
-
-
-
- -

-serveRegex

-
-protected final ServletModule.ServletKeyBindingBuilder serveRegex(String regex,
-                                                                  String... regexes)
-
-
-
Parameters:
regex - Any Java-style regular expression.
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/servlet/ServletScopes.html b/latest-javadoc/com/google/inject/servlet/ServletScopes.html deleted file mode 100644 index 8cc705cf..00000000 --- a/latest-javadoc/com/google/inject/servlet/ServletScopes.html +++ /dev/null @@ -1,251 +0,0 @@ - - - - - - -ServletScopes (Guice 1.0 API) - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.google.inject.servlet -
-Class ServletScopes

-
-java.lang.Object
-  extended by com.google.inject.servlet.ServletScopes
-
-
-
-
public class ServletScopes
extends Object
- - -

-Servlet scopes. -

- -

-


- -

- - - - - - - - - - - - - - - -
-Field Summary
-static ScopeREQUEST - -
-          HTTP servlet request scope.
-static ScopeSESSION - -
-          HTTP session scope.
-  - - - - - - - -
-Method Summary
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Field Detail
- -

-REQUEST

-
-public static final Scope REQUEST
-
-
HTTP servlet request scope. -

-

-
-
-
- -

-SESSION

-
-public static final Scope SESSION
-
-
HTTP session scope. -

-

-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/servlet/SessionScoped.html b/latest-javadoc/com/google/inject/servlet/SessionScoped.html deleted file mode 100644 index b9bac451..00000000 --- a/latest-javadoc/com/google/inject/servlet/SessionScoped.html +++ /dev/null @@ -1,173 +0,0 @@ - - - - - - -SessionScoped (Guice 1.0 API) - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.google.inject.servlet -
-Annotation Type SessionScoped

-
-
-
@Target(value={TYPE,METHOD})
-@Retention(value=RUNTIME)
-public @interface SessionScoped
- - -

-Apply this to implementation classes when you want one instance per session. -

- -

-

-
See Also:
Scopes.SINGLETON
- -

- -

- -


- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/servlet/package-frame.html b/latest-javadoc/com/google/inject/servlet/package-frame.html deleted file mode 100644 index 266bb35b..00000000 --- a/latest-javadoc/com/google/inject/servlet/package-frame.html +++ /dev/null @@ -1,66 +0,0 @@ - - - - - - -com.google.inject.servlet (Guice 1.0 API) - - - - - - - - - - - -com.google.inject.servlet - - - - -
-Interfaces  - -
-ServletModule.FilterKeyBindingBuilder -
-ServletModule.ServletKeyBindingBuilder
- - - - - - -
-Classes  - -
-GuiceFilter -
-GuiceServletContextListener -
-ServletModule -
-ServletScopes
- - - - - - -
-Annotation Types  - -
-RequestParameters -
-RequestScoped -
-SessionScoped
- - - - diff --git a/latest-javadoc/com/google/inject/servlet/package-summary.html b/latest-javadoc/com/google/inject/servlet/package-summary.html deleted file mode 100644 index 01bb1a6b..00000000 --- a/latest-javadoc/com/google/inject/servlet/package-summary.html +++ /dev/null @@ -1,229 +0,0 @@ - - - - - - -com.google.inject.servlet (Guice 1.0 API) - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-

-Package com.google.inject.servlet -

-Servlet API scopes and bindings. -

-See: -
-          Description -

- - - - - - - - - - - - - -
-Interface Summary
ServletModule.FilterKeyBindingBuilder 
ServletModule.ServletKeyBindingBuilder 
-  - -

- - - - - - - - - - - - - - - - - - - - - -
-Class Summary
GuiceFilter - Apply this filter in web.xml above all other filters (typically), to all requests where you plan - to use servlet scopes.
GuiceServletContextListenerAs of Guice 2.0 you can still use (your subclasses of) GuiceServletContextListener - class as a logical place to create and configure your injector.
ServletModuleConfigures the servlet scopes and creates bindings for the servlet API - objects so you can inject the request, response, session, etc.
ServletScopesServlet scopes.
-  - -

- - - - - - - - - - - - - - - - - -
-Annotation Types Summary
RequestParametersApply this to field or parameters of type Map<String, String[]> - when you want the HTTP request parameter map to be injected.
RequestScopedApply this to implementation classes when you want one instance per request.
SessionScopedApply this to implementation classes when you want one instance per session.
-  - -

-

-Package com.google.inject.servlet Description -

- -

-Servlet API scopes and bindings. Apply GuiceFilter to any servlets which will use the - servlet scopes. Install com.google.inject.servlet.Servlets#configure() - into your Injector to install everything at once. -

- -

-

-
-
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/servlet/package-tree.html b/latest-javadoc/com/google/inject/servlet/package-tree.html deleted file mode 100644 index 2fad4465..00000000 --- a/latest-javadoc/com/google/inject/servlet/package-tree.html +++ /dev/null @@ -1,169 +0,0 @@ - - - - - - -com.google.inject.servlet Class Hierarchy (Guice 1.0 API) - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Hierarchy For Package com.google.inject.servlet -

-
-
-
Package Hierarchies:
All Packages
-
-

-Class Hierarchy -

- -

-Interface Hierarchy -

- -

-Annotation Type Hierarchy -

- -
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/spi/BindingScopingVisitor.html b/latest-javadoc/com/google/inject/spi/BindingScopingVisitor.html deleted file mode 100644 index 2143e8ab..00000000 --- a/latest-javadoc/com/google/inject/spi/BindingScopingVisitor.html +++ /dev/null @@ -1,288 +0,0 @@ - - - - - - -BindingScopingVisitor (Guice 1.0 API) - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.google.inject.spi -
-Interface BindingScopingVisitor<V>

-
-
Type Parameters:
V - any type to be returned by the visit method. Use Void with - return null if no return type is needed.
-
-
All Known Implementing Classes:
DefaultBindingScopingVisitor
-
-
-
-
public interface BindingScopingVisitor<V>
- - -

-Visits each of the strategies used to scope an injection. -

- -

-

-
Since:
-
2.0
-
-
- -

- - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- VvisitEagerSingleton() - -
-          Visit an eager singleton or single instance.
- VvisitNoScoping() - -
-          Visit an unspecified or unscoped strategy.
- VvisitScope(Scope scope) - -
-          Visit a scope instance.
- VvisitScopeAnnotation(Class<? extends Annotation> scopeAnnotation) - -
-          Visit a scope annotation.
-  -

- - - - - - - - -
-Method Detail
- -

-visitEagerSingleton

-
-V visitEagerSingleton()
-
-
Visit an eager singleton or single instance. This scope strategy is found on both module and - injector bindings. -

-

-
-
-
-
- -

-visitScope

-
-V visitScope(Scope scope)
-
-
Visit a scope instance. This scope strategy is found on both module and injector bindings. -

-

-
-
-
-
- -

-visitScopeAnnotation

-
-V visitScopeAnnotation(Class<? extends Annotation> scopeAnnotation)
-
-
Visit a scope annotation. This scope strategy is found only on module bindings. The instance - that implements this scope is registered by Binder.bindScope(). -

-

-
-
-
-
- -

-visitNoScoping

-
-V visitNoScoping()
-
-
Visit an unspecified or unscoped strategy. On a module, this strategy indicates that the - injector should use scoping annotations to find a scope. On an injector, it indicates that - no scope is applied to the binding. An unscoped binding will behave like a scoped one when it - is linked to a scoped binding. -

-

-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/spi/BindingTargetVisitor.html b/latest-javadoc/com/google/inject/spi/BindingTargetVisitor.html deleted file mode 100644 index 89aecb79..00000000 --- a/latest-javadoc/com/google/inject/spi/BindingTargetVisitor.html +++ /dev/null @@ -1,400 +0,0 @@ - - - - - - -BindingTargetVisitor (Guice 1.0 API) - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.google.inject.spi -
-Interface BindingTargetVisitor<T,V>

-
-
Type Parameters:
V - any type to be returned by the visit method. Use Void with - return null if no return type is needed.
-
-
All Known Implementing Classes:
DefaultBindingTargetVisitor
-
-
-
-
public interface BindingTargetVisitor<T,V>
- - -

-Visits each of the strategies used to find an instance to satisfy an injection. -

- -

-

-
Since:
-
2.0
-
-
- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- VvisitConstructor(ConstructorBinding<T> binding) - -
-          Visit a constructor binding.
- VvisitConvertedConstant(ConvertedConstantBinding<T> binding) - -
-          Visit a binding created from converting a bound instance to a new type.
- VvisitExposed(ExposedBinding<T> binding) - -
-          Visit a binding to a key exposed from an enclosed private environment.
- VvisitInstance(InstanceBinding<T> binding) - -
-          Visit a instance binding.
- VvisitLinkedKey(LinkedKeyBinding<T> binding) - -
-          Visit a linked key binding.
- VvisitProviderBinding(ProviderBinding<?> binding) - -
-          Visit a binding to a Provider that delegates to the binding for the - provided type.
- VvisitProviderInstance(ProviderInstanceBinding<T> binding) - -
-          Visit a provider instance binding.
- VvisitProviderKey(ProviderKeyBinding<T> binding) - -
-          Visit a provider key binding.
- VvisitUntargetted(UntargettedBinding<T> binding) - -
-          Visit an untargetted binding.
-  -

- - - - - - - - -
-Method Detail
- -

-visitInstance

-
-V visitInstance(InstanceBinding<T> binding)
-
-
Visit a instance binding. The same instance is returned for every injection. This target is - found in both module and injector bindings. -

-

-
-
-
-
- -

-visitProviderInstance

-
-V visitProviderInstance(ProviderInstanceBinding<T> binding)
-
-
Visit a provider instance binding. The provider's get method is invoked to resolve - injections. This target is found in both module and injector bindings. -

-

-
-
-
-
- -

-visitProviderKey

-
-V visitProviderKey(ProviderKeyBinding<T> binding)
-
-
Visit a provider key binding. To resolve injections, the provider key is first resolved, then - that provider's get method is invoked. This target is found in both module and injector - bindings. -

-

-
-
-
-
- -

-visitLinkedKey

-
-V visitLinkedKey(LinkedKeyBinding<T> binding)
-
-
Visit a linked key binding. The other key's binding is used to resolve injections. This - target is found in both module and injector bindings. -

-

-
-
-
-
- -

-visitExposed

-
-V visitExposed(ExposedBinding<T> binding)
-
-
Visit a binding to a key exposed from an enclosed private environment. This target is found in - both module and injector bindings. -

-

-
-
-
-
- -

-visitUntargetted

-
-V visitUntargetted(UntargettedBinding<T> binding)
-
-
Visit an untargetted binding. This target is found only on module bindings. It indicates - that the injector should use its implicit binding strategies to resolve injections. -

-

-
-
-
-
- -

-visitConstructor

-
-V visitConstructor(ConstructorBinding<T> binding)
-
-
Visit a constructor binding. To resolve injections, an instance is instantiated by invoking - constructor. This target is found only on injector bindings. -

-

-
-
-
-
- -

-visitConvertedConstant

-
-V visitConvertedConstant(ConvertedConstantBinding<T> binding)
-
-
Visit a binding created from converting a bound instance to a new type. The source binding - has the same binding annotation but a different type. This target is found only on injector - bindings. -

-

-
-
-
-
- -

-visitProviderBinding

-
-V visitProviderBinding(ProviderBinding<?> binding)
-
-
Visit a binding to a Provider that delegates to the binding for the - provided type. This target is found only on injector bindings. -

-

-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/spi/ConstructorBinding.html b/latest-javadoc/com/google/inject/spi/ConstructorBinding.html deleted file mode 100644 index ed17c508..00000000 --- a/latest-javadoc/com/google/inject/spi/ConstructorBinding.html +++ /dev/null @@ -1,276 +0,0 @@ - - - - - - -ConstructorBinding (Guice 1.0 API) - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.google.inject.spi -
-Interface ConstructorBinding<T>

-
-
All Superinterfaces:
Binding<T>, Element, HasDependencies
-
-
-
-
public interface ConstructorBinding<T>
extends Binding<T>, HasDependencies
- - -

-A binding to the constructor of a concrete clss. To resolve injections, an instance is - instantiated by invoking the constructor. -

- -

-

-
Since:
-
2.0
-
-
- -

- - - - - - - - - - - - - - - - -
-Method Summary
- Constructor<? extends T>getConstructor() - -
-          Returns the annotated or default constructor that is invoked - for creating values.
- Set<InjectionPoint>getInjectionPoints() - -
-          Returns the constructor, field and method injection points to create and populate a new - instance.
- - - - - - - -
Methods inherited from interface com.google.inject.Binding
acceptScopingVisitor, acceptTargetVisitor, getKey, getProvider
- - - - - - - -
Methods inherited from interface com.google.inject.spi.Element
acceptVisitor, getSource
- - - - - - - -
Methods inherited from interface com.google.inject.spi.HasDependencies
getDependencies
-  -

- - - - - - - - -
-Method Detail
- -

-getConstructor

-
-Constructor<? extends T> getConstructor()
-
-
Returns the annotated or default constructor that is invoked - for creating values. -

-

-
-
-
-
-
-
-
- -

-getInjectionPoints

-
-Set<InjectionPoint> getInjectionPoints()
-
-
Returns the constructor, field and method injection points to create and populate a new - instance. The set contains exactly one constructor injection point. -

-

-
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/spi/ConvertedConstantBinding.html b/latest-javadoc/com/google/inject/spi/ConvertedConstantBinding.html deleted file mode 100644 index 1c97efe7..00000000 --- a/latest-javadoc/com/google/inject/spi/ConvertedConstantBinding.html +++ /dev/null @@ -1,264 +0,0 @@ - - - - - - -ConvertedConstantBinding (Guice 1.0 API) - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.google.inject.spi -
-Interface ConvertedConstantBinding<T>

-
-
All Superinterfaces:
Binding<T>, Element, HasDependencies
-
-
-
-
public interface ConvertedConstantBinding<T>
extends Binding<T>, HasDependencies
- - -

-A binding created from converting a bound instance to a new type. The source binding has the same - binding annotation but a different type. -

- -

-

-
Since:
-
2.0
-
-
- -

- - - - - - - - - - - - - - - - -
-Method Summary
- Set<Dependency<?>>getDependencies() - -
-          Returns a singleton set containing only the converted key.
- TgetValue() - -
-          Returns the converted value.
- - - - - - - -
Methods inherited from interface com.google.inject.Binding
acceptScopingVisitor, acceptTargetVisitor, getKey, getProvider
- - - - - - - -
Methods inherited from interface com.google.inject.spi.Element
acceptVisitor, getSource
-  -

- - - - - - - - -
-Method Detail
- -

-getValue

-
-T getValue()
-
-
Returns the converted value. -

-

-
-
-
-
-
-
-
- -

-getDependencies

-
-Set<Dependency<?>> getDependencies()
-
-
Returns a singleton set containing only the converted key. -

-

-
Specified by:
getDependencies in interface HasDependencies
-
-
- -
Returns:
a possibly empty set
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/spi/DefaultBindingScopingVisitor.html b/latest-javadoc/com/google/inject/spi/DefaultBindingScopingVisitor.html deleted file mode 100644 index a13507ee..00000000 --- a/latest-javadoc/com/google/inject/spi/DefaultBindingScopingVisitor.html +++ /dev/null @@ -1,373 +0,0 @@ - - - - - - -DefaultBindingScopingVisitor (Guice 1.0 API) - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.google.inject.spi -
-Class DefaultBindingScopingVisitor<V>

-
-java.lang.Object
-  extended by com.google.inject.spi.DefaultBindingScopingVisitor<V>
-
-
-
Type Parameters:
V - any type to be returned by the visit method. Use Void with - return null if no return type is needed.
-
-
All Implemented Interfaces:
BindingScopingVisitor<V>
-
-
-
-
public class DefaultBindingScopingVisitor<V>
extends Object
implements BindingScopingVisitor<V>
- - -

-No-op visitor for subclassing. All interface methods simply delegate to - visitOther(), returning its result. -

- -

-

-
Since:
-
2.0
-
-
- -

- - - - - - - - - - - -
-Constructor Summary
DefaultBindingScopingVisitor() - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- VvisitEagerSingleton() - -
-          Visit an eager singleton or single instance.
- VvisitNoScoping() - -
-          Visit an unspecified or unscoped strategy.
-protected  VvisitOther() - -
-           
- VvisitScope(Scope scope) - -
-          Visit a scope instance.
- VvisitScopeAnnotation(Class<? extends Annotation> scopeAnnotation) - -
-          Visit a scope annotation.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-DefaultBindingScopingVisitor

-
-public DefaultBindingScopingVisitor()
-
-
- - - - - - - - -
-Method Detail
- -

-visitOther

-
-protected V visitOther()
-
-
-
-
-
-
-
-
-
- -

-visitEagerSingleton

-
-public V visitEagerSingleton()
-
-
Description copied from interface: BindingScopingVisitor
-
Visit an eager singleton or single instance. This scope strategy is found on both module and - injector bindings. -

-

-
Specified by:
visitEagerSingleton in interface BindingScopingVisitor<V>
-
-
-
-
-
-
- -

-visitScope

-
-public V visitScope(Scope scope)
-
-
Description copied from interface: BindingScopingVisitor
-
Visit a scope instance. This scope strategy is found on both module and injector bindings. -

-

-
Specified by:
visitScope in interface BindingScopingVisitor<V>
-
-
-
-
-
-
- -

-visitScopeAnnotation

-
-public V visitScopeAnnotation(Class<? extends Annotation> scopeAnnotation)
-
-
Description copied from interface: BindingScopingVisitor
-
Visit a scope annotation. This scope strategy is found only on module bindings. The instance - that implements this scope is registered by Binder.bindScope(). -

-

-
Specified by:
visitScopeAnnotation in interface BindingScopingVisitor<V>
-
-
-
-
-
-
- -

-visitNoScoping

-
-public V visitNoScoping()
-
-
Description copied from interface: BindingScopingVisitor
-
Visit an unspecified or unscoped strategy. On a module, this strategy indicates that the - injector should use scoping annotations to find a scope. On an injector, it indicates that - no scope is applied to the binding. An unscoped binding will behave like a scoped one when it - is linked to a scoped binding. -

-

-
Specified by:
visitNoScoping in interface BindingScopingVisitor<V>
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/spi/DefaultBindingTargetVisitor.html b/latest-javadoc/com/google/inject/spi/DefaultBindingTargetVisitor.html deleted file mode 100644 index 21f80ee0..00000000 --- a/latest-javadoc/com/google/inject/spi/DefaultBindingTargetVisitor.html +++ /dev/null @@ -1,504 +0,0 @@ - - - - - - -DefaultBindingTargetVisitor (Guice 1.0 API) - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.google.inject.spi -
-Class DefaultBindingTargetVisitor<T,V>

-
-java.lang.Object
-  extended by com.google.inject.spi.DefaultBindingTargetVisitor<T,V>
-
-
-
Type Parameters:
V - any type to be returned by the visit method. Use Void with - return null if no return type is needed.
-
-
All Implemented Interfaces:
BindingTargetVisitor<T,V>
-
-
-
-
public abstract class DefaultBindingTargetVisitor<T,V>
extends Object
implements BindingTargetVisitor<T,V>
- - -

-No-op visitor for subclassing. All interface methods simply delegate to visitOther(Binding), returning its result. -

- -

-

-
Since:
-
2.0
-
-
- -

- - - - - - - - - - - -
-Constructor Summary
DefaultBindingTargetVisitor() - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- VvisitConstructor(ConstructorBinding<T> constructorBinding) - -
-          Visit a constructor binding.
- VvisitConvertedConstant(ConvertedConstantBinding<T> convertedConstantBinding) - -
-          Visit a binding created from converting a bound instance to a new type.
- VvisitExposed(ExposedBinding<T> exposedBinding) - -
-          Visit a binding to a key exposed from an enclosed private environment.
- VvisitInstance(InstanceBinding<T> instanceBinding) - -
-          Visit a instance binding.
- VvisitLinkedKey(LinkedKeyBinding<T> linkedKeyBinding) - -
-          Visit a linked key binding.
-protected  VvisitOther(Binding<T> binding) - -
-           
- VvisitProviderBinding(ProviderBinding<?> providerBinding) - -
-          Visit a binding to a Provider that delegates to the binding for the - provided type.
- VvisitProviderInstance(ProviderInstanceBinding<T> providerInstanceBinding) - -
-          Visit a provider instance binding.
- VvisitProviderKey(ProviderKeyBinding<T> providerKeyBinding) - -
-          Visit a provider key binding.
- VvisitUntargetted(UntargettedBinding<T> untargettedBinding) - -
-          Visit an untargetted binding.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-DefaultBindingTargetVisitor

-
-public DefaultBindingTargetVisitor()
-
-
- - - - - - - - -
-Method Detail
- -

-visitOther

-
-protected V visitOther(Binding<T> binding)
-
-
-
-
-
-
-
-
-
- -

-visitInstance

-
-public V visitInstance(InstanceBinding<T> instanceBinding)
-
-
Description copied from interface: BindingTargetVisitor
-
Visit a instance binding. The same instance is returned for every injection. This target is - found in both module and injector bindings. -

-

-
Specified by:
visitInstance in interface BindingTargetVisitor<T,V>
-
-
-
-
-
-
- -

-visitProviderInstance

-
-public V visitProviderInstance(ProviderInstanceBinding<T> providerInstanceBinding)
-
-
Description copied from interface: BindingTargetVisitor
-
Visit a provider instance binding. The provider's get method is invoked to resolve - injections. This target is found in both module and injector bindings. -

-

-
Specified by:
visitProviderInstance in interface BindingTargetVisitor<T,V>
-
-
-
-
-
-
- -

-visitProviderKey

-
-public V visitProviderKey(ProviderKeyBinding<T> providerKeyBinding)
-
-
Description copied from interface: BindingTargetVisitor
-
Visit a provider key binding. To resolve injections, the provider key is first resolved, then - that provider's get method is invoked. This target is found in both module and injector - bindings. -

-

-
Specified by:
visitProviderKey in interface BindingTargetVisitor<T,V>
-
-
-
-
-
-
- -

-visitLinkedKey

-
-public V visitLinkedKey(LinkedKeyBinding<T> linkedKeyBinding)
-
-
Description copied from interface: BindingTargetVisitor
-
Visit a linked key binding. The other key's binding is used to resolve injections. This - target is found in both module and injector bindings. -

-

-
Specified by:
visitLinkedKey in interface BindingTargetVisitor<T,V>
-
-
-
-
-
-
- -

-visitExposed

-
-public V visitExposed(ExposedBinding<T> exposedBinding)
-
-
Description copied from interface: BindingTargetVisitor
-
Visit a binding to a key exposed from an enclosed private environment. This target is found in - both module and injector bindings. -

-

-
Specified by:
visitExposed in interface BindingTargetVisitor<T,V>
-
-
-
-
-
-
- -

-visitUntargetted

-
-public V visitUntargetted(UntargettedBinding<T> untargettedBinding)
-
-
Description copied from interface: BindingTargetVisitor
-
Visit an untargetted binding. This target is found only on module bindings. It indicates - that the injector should use its implicit binding strategies to resolve injections. -

-

-
Specified by:
visitUntargetted in interface BindingTargetVisitor<T,V>
-
-
-
-
-
-
- -

-visitConstructor

-
-public V visitConstructor(ConstructorBinding<T> constructorBinding)
-
-
Description copied from interface: BindingTargetVisitor
-
Visit a constructor binding. To resolve injections, an instance is instantiated by invoking - constructor. This target is found only on injector bindings. -

-

-
Specified by:
visitConstructor in interface BindingTargetVisitor<T,V>
-
-
-
-
-
-
- -

-visitConvertedConstant

-
-public V visitConvertedConstant(ConvertedConstantBinding<T> convertedConstantBinding)
-
-
Description copied from interface: BindingTargetVisitor
-
Visit a binding created from converting a bound instance to a new type. The source binding - has the same binding annotation but a different type. This target is found only on injector - bindings. -

-

-
Specified by:
visitConvertedConstant in interface BindingTargetVisitor<T,V>
-
-
-
-
-
-
- -

-visitProviderBinding

-
-public V visitProviderBinding(ProviderBinding<?> providerBinding)
-
-
Description copied from interface: BindingTargetVisitor
-
Visit a binding to a Provider that delegates to the binding for the - provided type. This target is found only on injector bindings. -

-

-
Specified by:
visitProviderBinding in interface BindingTargetVisitor<T,V>
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/spi/DefaultElementVisitor.html b/latest-javadoc/com/google/inject/spi/DefaultElementVisitor.html deleted file mode 100644 index 1aa95a24..00000000 --- a/latest-javadoc/com/google/inject/spi/DefaultElementVisitor.html +++ /dev/null @@ -1,511 +0,0 @@ - - - - - - -DefaultElementVisitor (Guice 1.0 API) - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.google.inject.spi -
-Class DefaultElementVisitor<V>

-
-java.lang.Object
-  extended by com.google.inject.spi.DefaultElementVisitor<V>
-
-
-
Type Parameters:
V - any type to be returned by the visit method. Use Void with - return null if no return type is needed.
-
-
All Implemented Interfaces:
ElementVisitor<V>
-
-
-
-
public abstract class DefaultElementVisitor<V>
extends Object
implements ElementVisitor<V>
- - -

-No-op visitor for subclassing. All interface methods simply delegate to - visitElement(Element), returning its result. -

- -

-

-
Since:
-
2.0
-
-
- -

- - - - - - - - - - - -
-Constructor Summary
DefaultElementVisitor() - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- - - - - -
-<T> V
-
visitBinding(Binding<T> binding) - -
-          Visit a mapping from a key (type and optional annotation) to the strategy for getting - instances of the type.
-protected  VvisitElement(Element element) - -
-          Visit element and return a result.
- VvisitInjectionRequest(InjectionRequest injectionRequest) - -
-          Visit a request to inject the instance fields and methods of an instance.
- VvisitInterceptorBinding(InterceptorBinding interceptorBinding) - -
-          Visit a registration of interceptors for matching methods of matching classes.
- VvisitMessage(Message message) - -
-          Visit an error message and the context in which it occured.
- VvisitPrivateEnvironment(PrivateEnvironment privateEnvironment) - -
-          Visit a collection of configuration elements for a private environment.
- - - - - -
-<T> V
-
visitProviderLookup(ProviderLookup<T> providerLookup) - -
-          Visit a lookup of the provider for a type.
- VvisitScopeBinding(ScopeBinding scopeBinding) - -
-          Visit a registration of a scope annotation with the scope that implements it.
- VvisitStaticInjectionRequest(StaticInjectionRequest staticInjectionRequest) - -
-          Visit a request to inject the static fields and methods of type.
- VvisitTypeConverterBinding(TypeConverterBinding typeConverterBinding) - -
-          Visit a registration of type converters for matching target types.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-DefaultElementVisitor

-
-public DefaultElementVisitor()
-
-
- - - - - - - - -
-Method Detail
- -

-visitElement

-
-protected V visitElement(Element element)
-
-
Visit element and return a result. -

-

-
-
-
-
-
-
-
- -

-visitMessage

-
-public V visitMessage(Message message)
-
-
Description copied from interface: ElementVisitor
-
Visit an error message and the context in which it occured. -

-

-
Specified by:
visitMessage in interface ElementVisitor<V>
-
-
-
-
-
-
- -

-visitBinding

-
-public <T> V visitBinding(Binding<T> binding)
-
-
Description copied from interface: ElementVisitor
-
Visit a mapping from a key (type and optional annotation) to the strategy for getting - instances of the type. -

-

-
Specified by:
visitBinding in interface ElementVisitor<V>
-
-
-
-
-
-
- -

-visitInterceptorBinding

-
-public V visitInterceptorBinding(InterceptorBinding interceptorBinding)
-
-
Description copied from interface: ElementVisitor
-
Visit a registration of interceptors for matching methods of matching classes. -

-

-
Specified by:
visitInterceptorBinding in interface ElementVisitor<V>
-
-
-
-
-
-
- -

-visitScopeBinding

-
-public V visitScopeBinding(ScopeBinding scopeBinding)
-
-
Description copied from interface: ElementVisitor
-
Visit a registration of a scope annotation with the scope that implements it. -

-

-
Specified by:
visitScopeBinding in interface ElementVisitor<V>
-
-
-
-
-
-
- -

-visitTypeConverterBinding

-
-public V visitTypeConverterBinding(TypeConverterBinding typeConverterBinding)
-
-
Description copied from interface: ElementVisitor
-
Visit a registration of type converters for matching target types. -

-

-
Specified by:
visitTypeConverterBinding in interface ElementVisitor<V>
-
-
-
-
-
-
- -

-visitProviderLookup

-
-public <T> V visitProviderLookup(ProviderLookup<T> providerLookup)
-
-
Description copied from interface: ElementVisitor
-
Visit a lookup of the provider for a type. -

-

-
Specified by:
visitProviderLookup in interface ElementVisitor<V>
-
-
-
-
-
-
- -

-visitInjectionRequest

-
-public V visitInjectionRequest(InjectionRequest injectionRequest)
-
-
Description copied from interface: ElementVisitor
-
Visit a request to inject the instance fields and methods of an instance. -

-

-
Specified by:
visitInjectionRequest in interface ElementVisitor<V>
-
-
-
-
-
-
- -

-visitStaticInjectionRequest

-
-public V visitStaticInjectionRequest(StaticInjectionRequest staticInjectionRequest)
-
-
Description copied from interface: ElementVisitor
-
Visit a request to inject the static fields and methods of type. -

-

-
Specified by:
visitStaticInjectionRequest in interface ElementVisitor<V>
-
-
-
-
-
-
- -

-visitPrivateEnvironment

-
-public V visitPrivateEnvironment(PrivateEnvironment privateEnvironment)
-
-
Description copied from interface: ElementVisitor
-
Visit a collection of configuration elements for a private environment. -

-

-
Specified by:
visitPrivateEnvironment in interface ElementVisitor<V>
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/spi/Dependency.html b/latest-javadoc/com/google/inject/spi/Dependency.html deleted file mode 100644 index 6530543d..00000000 --- a/latest-javadoc/com/google/inject/spi/Dependency.html +++ /dev/null @@ -1,435 +0,0 @@ - - - - - - -Dependency (Guice 1.0 API) - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.google.inject.spi -
-Class Dependency<T>

-
-java.lang.Object
-  extended by com.google.inject.spi.Dependency<T>
-
-
-
All Implemented Interfaces:
Serializable
-
-
-
-
public final class Dependency<T>
extends Object
implements Serializable
- - -

-A variable that can be resolved by an injector. - -

Use get(com.google.inject.Key) to build a freestanding dependency, or InjectionPoint to build one - that's attached to a constructor, method or field. -

- -

-

-
Since:
-
2.0
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- booleanequals(Object o) - -
-           
-static Set<Dependency<?>>forInjectionPoints(Set<InjectionPoint> injectionPoints) - -
-          Returns the dependencies from the given injection points.
-static - - - - -
-<T> Dependency<T>
-
get(Key<T> key) - -
-          Returns a new dependency that is not attached to an injection point.
- InjectionPointgetInjectionPoint() - -
-          Returns the injection point to which this dependency belongs, or null if this dependency isn't - attached to a particular injection point.
- Key<T>getKey() - -
-          Returns the key to the binding that satisfies this dependency.
- intgetParameterIndex() - -
-          Returns the index of this dependency in the injection point's parameter list, or -1 if - this dependency does not belong to a parameter list.
- inthashCode() - -
-           
- booleanisNullable() - -
-          Returns true if null is a legal value for this dependency.
- StringtoString() - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Method Detail
- -

-get

-
-public static <T> Dependency<T> get(Key<T> key)
-
-
Returns a new dependency that is not attached to an injection point. The returned dependency is - nullable. -

-

-
-
-
-
-
-
-
- -

-forInjectionPoints

-
-public static Set<Dependency<?>> forInjectionPoints(Set<InjectionPoint> injectionPoints)
-
-
Returns the dependencies from the given injection points. -

-

-
-
-
-
-
-
-
- -

-getKey

-
-public Key<T> getKey()
-
-
Returns the key to the binding that satisfies this dependency. -

-

-
-
-
-
-
-
-
- -

-isNullable

-
-public boolean isNullable()
-
-
Returns true if null is a legal value for this dependency. -

-

-
-
-
-
-
-
-
- -

-getInjectionPoint

-
-public InjectionPoint getInjectionPoint()
-
-
Returns the injection point to which this dependency belongs, or null if this dependency isn't - attached to a particular injection point. -

-

-
-
-
-
-
-
-
- -

-getParameterIndex

-
-public int getParameterIndex()
-
-
Returns the index of this dependency in the injection point's parameter list, or -1 if - this dependency does not belong to a parameter list. Only method and constuctor dependencies - are elements in a parameter list. -

-

-
-
-
-
-
-
-
- -

-hashCode

-
-public int hashCode()
-
-
-
Overrides:
hashCode in class Object
-
-
-
-
-
-
- -

-equals

-
-public boolean equals(Object o)
-
-
-
Overrides:
equals in class Object
-
-
-
-
-
-
- -

-toString

-
-public String toString()
-
-
-
Overrides:
toString in class Object
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/spi/Element.html b/latest-javadoc/com/google/inject/spi/Element.html deleted file mode 100644 index 61cfc41b..00000000 --- a/latest-javadoc/com/google/inject/spi/Element.html +++ /dev/null @@ -1,260 +0,0 @@ - - - - - - -Element (Guice 1.0 API) - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.google.inject.spi -
-Interface Element

-
-
All Known Subinterfaces:
Binding<T>, ConstructorBinding<T>, ConvertedConstantBinding<T>, ExposedBinding<T>, InstanceBinding<T>, LinkedKeyBinding<T>, ProviderBinding<T>, ProviderInstanceBinding<T>, ProviderKeyBinding<T>, UntargettedBinding<T>
-
-
-
All Known Implementing Classes:
InjectionRequest, InterceptorBinding, Message, PrivateEnvironment, ProviderLookup, ScopeBinding, StaticInjectionRequest, TypeConverterBinding
-
-
-
-
public interface Element
- - -

-A core component of a module or injector. - -

The elements of a module can be inspected, validated and rewritten. Use Elements.getElements() to read the elements - from a module, and ModuleWriter to rewrite them. This can be used - for static analysis and generation of Guice modules. - -

The elements of an injector can be inspected and exercised. Use Injector.getBindings() to reflect on Guice injectors. -

- -

-

-
Since:
-
2.0
-
-
- -

- - - - - - - - - - - - - - - - -
-Method Summary
- - - - - -
-<T> T
-
acceptVisitor(ElementVisitor<T> visitor) - -
-          Accepts an element visitor.
- ObjectgetSource() - -
-          Returns an arbitrary object containing information about the "place" where this element was - configured.
-  -

- - - - - - - - -
-Method Detail
- -

-getSource

-
-Object getSource()
-
-
Returns an arbitrary object containing information about the "place" where this element was - configured. Used by Guice in the production of descriptive error messages. - -

Tools might specially handle types they know about; StackTraceElement is a good - example. Tools should simply call toString() on the source object if the type is - unfamiliar. -

-

-
-
-
-
- -

-acceptVisitor

-
-<T> T acceptVisitor(ElementVisitor<T> visitor)
-
-
Accepts an element visitor. Invokes the visitor method specific to this element's type. -

-

-
Parameters:
visitor - to call back on
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/spi/ElementVisitor.html b/latest-javadoc/com/google/inject/spi/ElementVisitor.html deleted file mode 100644 index 82afdc31..00000000 --- a/latest-javadoc/com/google/inject/spi/ElementVisitor.html +++ /dev/null @@ -1,404 +0,0 @@ - - - - - - -ElementVisitor (Guice 1.0 API) - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.google.inject.spi -
-Interface ElementVisitor<V>

-
-
Type Parameters:
V - any type to be returned by the visit method. Use Void with - return null if no return type is needed.
-
-
All Known Implementing Classes:
DefaultElementVisitor
-
-
-
-
public interface ElementVisitor<V>
- - -

-Visit elements. -

- -

-

-
Since:
-
2.0
-
-
- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- - - - - -
-<T> V
-
visitBinding(Binding<T> binding) - -
-          Visit a mapping from a key (type and optional annotation) to the strategy for getting - instances of the type.
- VvisitInjectionRequest(InjectionRequest injectionRequest) - -
-          Visit a request to inject the instance fields and methods of an instance.
- VvisitInterceptorBinding(InterceptorBinding interceptorBinding) - -
-          Visit a registration of interceptors for matching methods of matching classes.
- VvisitMessage(Message message) - -
-          Visit an error message and the context in which it occured.
- VvisitPrivateEnvironment(PrivateEnvironment privateEnvironment) - -
-          Visit a collection of configuration elements for a private environment.
- - - - - -
-<T> V
-
visitProviderLookup(ProviderLookup<T> providerLookup) - -
-          Visit a lookup of the provider for a type.
- VvisitScopeBinding(ScopeBinding scopeBinding) - -
-          Visit a registration of a scope annotation with the scope that implements it.
- VvisitStaticInjectionRequest(StaticInjectionRequest staticInjectionRequest) - -
-          Visit a request to inject the static fields and methods of type.
- VvisitTypeConverterBinding(TypeConverterBinding typeConverterBinding) - -
-          Visit a registration of type converters for matching target types.
-  -

- - - - - - - - -
-Method Detail
- -

-visitBinding

-
-<T> V visitBinding(Binding<T> binding)
-
-
Visit a mapping from a key (type and optional annotation) to the strategy for getting - instances of the type. -

-

-
-
-
-
- -

-visitInterceptorBinding

-
-V visitInterceptorBinding(InterceptorBinding interceptorBinding)
-
-
Visit a registration of interceptors for matching methods of matching classes. -

-

-
-
-
-
- -

-visitScopeBinding

-
-V visitScopeBinding(ScopeBinding scopeBinding)
-
-
Visit a registration of a scope annotation with the scope that implements it. -

-

-
-
-
-
- -

-visitTypeConverterBinding

-
-V visitTypeConverterBinding(TypeConverterBinding typeConverterBinding)
-
-
Visit a registration of type converters for matching target types. -

-

-
-
-
-
- -

-visitInjectionRequest

-
-V visitInjectionRequest(InjectionRequest injectionRequest)
-
-
Visit a request to inject the instance fields and methods of an instance. -

-

-
-
-
-
- -

-visitStaticInjectionRequest

-
-V visitStaticInjectionRequest(StaticInjectionRequest staticInjectionRequest)
-
-
Visit a request to inject the static fields and methods of type. -

-

-
-
-
-
- -

-visitProviderLookup

-
-<T> V visitProviderLookup(ProviderLookup<T> providerLookup)
-
-
Visit a lookup of the provider for a type. -

-

-
-
-
-
- -

-visitMessage

-
-V visitMessage(Message message)
-
-
Visit an error message and the context in which it occured. -

-

-
-
-
-
- -

-visitPrivateEnvironment

-
-V visitPrivateEnvironment(PrivateEnvironment privateEnvironment)
-
-
Visit a collection of configuration elements for a private environment. -

-

-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/spi/Elements.html b/latest-javadoc/com/google/inject/spi/Elements.html deleted file mode 100644 index cf709f46..00000000 --- a/latest-javadoc/com/google/inject/spi/Elements.html +++ /dev/null @@ -1,327 +0,0 @@ - - - - - - -Elements (Guice 1.0 API) - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.google.inject.spi -
-Class Elements

-
-java.lang.Object
-  extended by com.google.inject.spi.Elements
-
-
-
-
public final class Elements
extends Object
- - -

-Exposes elements of a module so they can be inspected, validated or rewritten. -

- -

-

-
Since:
-
2.0
-
-
- -

- - - - - - - - - - - -
-Constructor Summary
Elements() - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
-static List<Element>getElements(Iterable<? extends Module> modules) - -
-          Records the elements executed by modules.
-static List<Element>getElements(Module... modules) - -
-          Records the elements executed by modules.
-static List<Element>getElements(Stage stage, - Iterable<? extends Module> modules) - -
-          Records the elements executed by modules.
-static List<Element>getElements(Stage stage, - Module... modules) - -
-          Records the elements executed by modules.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-Elements

-
-public Elements()
-
-
- - - - - - - - -
-Method Detail
- -

-getElements

-
-public static List<Element> getElements(Module... modules)
-
-
Records the elements executed by modules. -

-

-
-
-
-
- -

-getElements

-
-public static List<Element> getElements(Stage stage,
-                                        Module... modules)
-
-
Records the elements executed by modules. -

-

-
-
-
-
- -

-getElements

-
-public static List<Element> getElements(Iterable<? extends Module> modules)
-
-
Records the elements executed by modules. -

-

-
-
-
-
- -

-getElements

-
-public static List<Element> getElements(Stage stage,
-                                        Iterable<? extends Module> modules)
-
-
Records the elements executed by modules. -

-

-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/spi/ExposedBinding.html b/latest-javadoc/com/google/inject/spi/ExposedBinding.html deleted file mode 100644 index 3f0f9656..00000000 --- a/latest-javadoc/com/google/inject/spi/ExposedBinding.html +++ /dev/null @@ -1,247 +0,0 @@ - - - - - - -ExposedBinding (Guice 1.0 API) - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.google.inject.spi -
-Interface ExposedBinding<T>

-
-
All Superinterfaces:
Binding<T>, Element, HasDependencies
-
-
-
-
public interface ExposedBinding<T>
extends Binding<T>, HasDependencies
- - -

-A binding to a key exposed from an enclosed private environment. -

- -

-

-
Since:
-
2.0
-
-
- -

- - - - - - - - - - - - -
-Method Summary
- PrivateEnvironmentgetPrivateEnvironment() - -
-          Returns the enclosed environment that holds the original binding.
- - - - - - - -
Methods inherited from interface com.google.inject.Binding
acceptScopingVisitor, acceptTargetVisitor, getKey, getProvider
- - - - - - - -
Methods inherited from interface com.google.inject.spi.Element
acceptVisitor, getSource
- - - - - - - -
Methods inherited from interface com.google.inject.spi.HasDependencies
getDependencies
-  -

- - - - - - - - -
-Method Detail
- -

-getPrivateEnvironment

-
-PrivateEnvironment getPrivateEnvironment()
-
-
Returns the enclosed environment that holds the original binding. -

-

-
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/spi/HasDependencies.html b/latest-javadoc/com/google/inject/spi/HasDependencies.html deleted file mode 100644 index f90f3757..00000000 --- a/latest-javadoc/com/google/inject/spi/HasDependencies.html +++ /dev/null @@ -1,220 +0,0 @@ - - - - - - -HasDependencies (Guice 1.0 API) - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.google.inject.spi -
-Interface HasDependencies

-
-
All Known Subinterfaces:
ConstructorBinding<T>, ConvertedConstantBinding<T>, ExposedBinding<T>, InstanceBinding<T>, ProviderInstanceBinding<T>, ProviderWithDependencies<T>
-
-
-
-
public interface HasDependencies
- - -

-Implemented by bindings, providers and instances that expose their dependencies explicitly. -

- -

-

-
Since:
-
2.0
-
-
- -

- - - - - - - - - - - - -
-Method Summary
- Set<Dependency<?>>getDependencies() - -
-          Returns the known dependencies for this type.
-  -

- - - - - - - - -
-Method Detail
- -

-getDependencies

-
-Set<Dependency<?>> getDependencies()
-
-
Returns the known dependencies for this type. If this has dependencies whose values are not - known statically, a dependency for the Injector will be - included in the returned set. -

-

- -
Returns:
a possibly empty set
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/spi/InjectionPoint.html b/latest-javadoc/com/google/inject/spi/InjectionPoint.html deleted file mode 100644 index 8dec559d..00000000 --- a/latest-javadoc/com/google/inject/spi/InjectionPoint.html +++ /dev/null @@ -1,534 +0,0 @@ - - - - - - -InjectionPoint (Guice 1.0 API) - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.google.inject.spi -
-Class InjectionPoint

-
-java.lang.Object
-  extended by com.google.inject.spi.InjectionPoint
-
-
-
All Implemented Interfaces:
Serializable
-
-
-
-
public final class InjectionPoint
extends Object
implements Serializable
- - -

-A constructor, field or method that can receive injections. Typically this is a member with the - @Inject annotation. For non-private, no argument constructors, the member may - omit the annotation. -

- -

-

-
Since:
-
2.0
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- booleanequals(Object o) - -
-           
-static InjectionPointforConstructorOf(Class<?> type) - -
-          Returns a new injection point for the injectable constructor of type.
-static InjectionPointforConstructorOf(TypeLiteral<?> type) - -
-          Returns a new injection point for the injectable constructor of type.
-static Set<InjectionPoint>forInstanceMethodsAndFields(Class<?> type) - -
-          Returns all instance method and field injection points on type.
-static Set<InjectionPoint>forInstanceMethodsAndFields(TypeLiteral<?> type) - -
-          Returns all instance method and field injection points on type.
-static Set<InjectionPoint>forStaticMethodsAndFields(Class<?> type) - -
-          Returns all static method and field injection points on type.
-static Set<InjectionPoint>forStaticMethodsAndFields(TypeLiteral type) - -
-          Returns all static method and field injection points on type.
- List<Dependency<?>>getDependencies() - -
-          Returns the dependencies for this injection point.
- MembergetMember() - -
-          Returns the injected constructor, field, or method.
- inthashCode() - -
-           
- booleanisOptional() - -
-          Returns true if this injection point shall be skipped if the injector cannot resolve bindings - for all required dependencies.
- StringtoString() - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Method Detail
- -

-getMember

-
-public Member getMember()
-
-
Returns the injected constructor, field, or method. -

-

-
-
-
-
-
-
-
- -

-getDependencies

-
-public List<Dependency<?>> getDependencies()
-
-
Returns the dependencies for this injection point. If the injection point is for a method or - constructor, the dependencies will correspond to that member's parameters. Field injection - points always have a single dependency for the field itself. -

-

-
-
-
- -
Returns:
a possibly-empty list
-
-
-
- -

-isOptional

-
-public boolean isOptional()
-
-
Returns true if this injection point shall be skipped if the injector cannot resolve bindings - for all required dependencies. Both explicit bindings (as specified in a module), and implicit - bindings (@ImplementedBy, default - constructors etc.) may be used to satisfy optional injection points. -

-

-
-
-
-
-
-
-
- -

-equals

-
-public boolean equals(Object o)
-
-
-
Overrides:
equals in class Object
-
-
-
-
-
-
- -

-hashCode

-
-public int hashCode()
-
-
-
Overrides:
hashCode in class Object
-
-
-
-
-
-
- -

-toString

-
-public String toString()
-
-
-
Overrides:
toString in class Object
-
-
-
-
-
-
- -

-forConstructorOf

-
-public static InjectionPoint forConstructorOf(TypeLiteral<?> type)
-
-
Returns a new injection point for the injectable constructor of type. -

-

-
-
-
-
Parameters:
type - a concrete type with exactly one constructor annotated @Inject, - or a no-arguments constructor that is not private. -
Throws: -
ConfigurationException - if there is no injectable constructor, more than one injectable - constructor, or if parameters of the injectable constructor are malformed, such as a - parameter with multiple binding annotations.
-
-
-
- -

-forConstructorOf

-
-public static InjectionPoint forConstructorOf(Class<?> type)
-
-
Returns a new injection point for the injectable constructor of type. -

-

-
-
-
-
Parameters:
type - a concrete type with exactly one constructor annotated @Inject, - or a no-arguments constructor that is not private. -
Throws: -
ConfigurationException - if there is no injectable constructor, more than one injectable - constructor, or if parameters of the injectable constructor are malformed, such as a - parameter with multiple binding annotations.
-
-
-
- -

-forStaticMethodsAndFields

-
-public static Set<InjectionPoint> forStaticMethodsAndFields(TypeLiteral type)
-
-
Returns all static method and field injection points on type. All fields are added - first, and then all methods. Within the fields, supertype fields are added before subtype - fields. Similarly, supertype methods are added before subtype methods. -

-

-
-
-
- -
Throws: -
ConfigurationException - if there is a malformed injection point on type, such as - a field with multiple binding annotations. The exception's partial value is a Set<InjectionPoint> - of the valid injection points.
-
-
-
- -

-forStaticMethodsAndFields

-
-public static Set<InjectionPoint> forStaticMethodsAndFields(Class<?> type)
-
-
Returns all static method and field injection points on type. All fields are added - first, and then all methods. Within the fields, supertype fields are added before subtype - fields. Similarly, supertype methods are added before subtype methods. -

-

-
-
-
- -
Throws: -
ConfigurationException - if there is a malformed injection point on type, such as - a field with multiple binding annotations. The exception's partial value is a Set<InjectionPoint> - of the valid injection points.
-
-
-
- -

-forInstanceMethodsAndFields

-
-public static Set<InjectionPoint> forInstanceMethodsAndFields(TypeLiteral<?> type)
-
-
Returns all instance method and field injection points on type. All fields are added - first, and then all methods. Within the fields, supertype fields are added before subtype - fields. Similarly, supertype methods are added before subtype methods. -

-

-
-
-
- -
Throws: -
ConfigurationException - if there is a malformed injection point on type, such as - a field with multiple binding annotations. The exception's partial value is a Set<InjectionPoint> - of the valid injection points.
-
-
-
- -

-forInstanceMethodsAndFields

-
-public static Set<InjectionPoint> forInstanceMethodsAndFields(Class<?> type)
-
-
Returns all instance method and field injection points on type. All fields are added - first, and then all methods. Within the fields, supertype fields are added before subtype - fields. Similarly, supertype methods are added before subtype methods. -

-

-
-
-
- -
Throws: -
ConfigurationException - if there is a malformed injection point on type, such as - a field with multiple binding annotations. The exception's partial value is a Set<InjectionPoint> - of the valid injection points.
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/spi/InjectionRequest.html b/latest-javadoc/com/google/inject/spi/InjectionRequest.html deleted file mode 100644 index 66b4205e..00000000 --- a/latest-javadoc/com/google/inject/spi/InjectionRequest.html +++ /dev/null @@ -1,332 +0,0 @@ - - - - - - -InjectionRequest (Guice 1.0 API) - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.google.inject.spi -
-Class InjectionRequest

-
-java.lang.Object
-  extended by com.google.inject.spi.InjectionRequest
-
-
-
All Implemented Interfaces:
Element
-
-
-
-
public final class InjectionRequest
extends Object
implements Element
- - -

-A request to inject the instance fields and methods of an instance. Requests are created - explicitly in a module using requestInjection() statements: -

-     requestInjection(serviceInstance);
-

- -

-

-
Since:
-
2.0
-
-
- -

- - - - - - - - - - - -
-Constructor Summary
InjectionRequest(Object source, - Object instance) - -
-           
-  - - - - - - - - - - - - - - - - - - - -
-Method Summary
- - - - - -
-<T> T
-
acceptVisitor(ElementVisitor<T> visitor) - -
-          Accepts an element visitor.
- ObjectgetInstance() - -
-           
- ObjectgetSource() - -
-          Returns an arbitrary object containing information about the "place" where this element was - configured.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-InjectionRequest

-
-public InjectionRequest(Object source,
-                        Object instance)
-
-
- - - - - - - - -
-Method Detail
- -

-getSource

-
-public Object getSource()
-
-
Description copied from interface: Element
-
Returns an arbitrary object containing information about the "place" where this element was - configured. Used by Guice in the production of descriptive error messages. - -

Tools might specially handle types they know about; StackTraceElement is a good - example. Tools should simply call toString() on the source object if the type is - unfamiliar. -

-

-
Specified by:
getSource in interface Element
-
-
-
-
-
-
- -

-getInstance

-
-public Object getInstance()
-
-
-
-
-
-
-
-
-
- -

-acceptVisitor

-
-public <T> T acceptVisitor(ElementVisitor<T> visitor)
-
-
Description copied from interface: Element
-
Accepts an element visitor. Invokes the visitor method specific to this element's type. -

-

-
Specified by:
acceptVisitor in interface Element
-
-
-
Parameters:
visitor - to call back on
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/spi/InstanceBinding.html b/latest-javadoc/com/google/inject/spi/InstanceBinding.html deleted file mode 100644 index cb278a32..00000000 --- a/latest-javadoc/com/google/inject/spi/InstanceBinding.html +++ /dev/null @@ -1,274 +0,0 @@ - - - - - - -InstanceBinding (Guice 1.0 API) - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.google.inject.spi -
-Interface InstanceBinding<T>

-
-
All Superinterfaces:
Binding<T>, Element, HasDependencies
-
-
-
-
public interface InstanceBinding<T>
extends Binding<T>, HasDependencies
- - -

-A binding to a single instance. The same instance is returned for every injection. -

- -

-

-
Since:
-
2.0
-
-
- -

- - - - - - - - - - - - - - - - -
-Method Summary
- Set<InjectionPoint>getInjectionPoints() - -
-          Returns the field and method injection points of the instance, injected at injector-creation - time only.
- TgetInstance() - -
-          Returns the user-supplied instance.
- - - - - - - -
Methods inherited from interface com.google.inject.Binding
acceptScopingVisitor, acceptTargetVisitor, getKey, getProvider
- - - - - - - -
Methods inherited from interface com.google.inject.spi.Element
acceptVisitor, getSource
- - - - - - - -
Methods inherited from interface com.google.inject.spi.HasDependencies
getDependencies
-  -

- - - - - - - - -
-Method Detail
- -

-getInstance

-
-T getInstance()
-
-
Returns the user-supplied instance. -

-

-
-
-
-
-
-
-
- -

-getInjectionPoints

-
-Set<InjectionPoint> getInjectionPoints()
-
-
Returns the field and method injection points of the instance, injected at injector-creation - time only. -

-

-
-
-
- -
Returns:
a possibly empty set
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/spi/InterceptorBinding.html b/latest-javadoc/com/google/inject/spi/InterceptorBinding.html deleted file mode 100644 index 20aa2479..00000000 --- a/latest-javadoc/com/google/inject/spi/InterceptorBinding.html +++ /dev/null @@ -1,343 +0,0 @@ - - - - - - -InterceptorBinding (Guice 1.0 API) - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.google.inject.spi -
-Class InterceptorBinding

-
-java.lang.Object
-  extended by com.google.inject.spi.InterceptorBinding
-
-
-
All Implemented Interfaces:
Element
-
-
-
-
public final class InterceptorBinding
extends Object
implements Element
- - -

-Registration of interceptors for matching methods of matching classes. Instances are created - explicitly in a module using bindInterceptor() statements: -

-     bindInterceptor(Matchers.subclassesOf(MyAction.class),
-         Matchers.annotatedWith(Transactional.class),
-         new MyTransactionInterceptor());
-

- -

-

-
Since:
-
2.0
-
-
- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- - - - - -
-<T> T
-
acceptVisitor(ElementVisitor<T> visitor) - -
-          Accepts an element visitor.
- Matcher<? super Class<?>>getClassMatcher() - -
-           
- List<MethodInterceptor>getInterceptors() - -
-           
- Matcher<? super Method>getMethodMatcher() - -
-           
- ObjectgetSource() - -
-          Returns an arbitrary object containing information about the "place" where this element was - configured.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Method Detail
- -

-getSource

-
-public Object getSource()
-
-
Description copied from interface: Element
-
Returns an arbitrary object containing information about the "place" where this element was - configured. Used by Guice in the production of descriptive error messages. - -

Tools might specially handle types they know about; StackTraceElement is a good - example. Tools should simply call toString() on the source object if the type is - unfamiliar. -

-

-
Specified by:
getSource in interface Element
-
-
-
-
-
-
- -

-getClassMatcher

-
-public Matcher<? super Class<?>> getClassMatcher()
-
-
-
-
-
-
-
-
-
- -

-getMethodMatcher

-
-public Matcher<? super Method> getMethodMatcher()
-
-
-
-
-
-
-
-
-
- -

-getInterceptors

-
-public List<MethodInterceptor> getInterceptors()
-
-
-
-
-
-
-
-
-
- -

-acceptVisitor

-
-public <T> T acceptVisitor(ElementVisitor<T> visitor)
-
-
Description copied from interface: Element
-
Accepts an element visitor. Invokes the visitor method specific to this element's type. -

-

-
Specified by:
acceptVisitor in interface Element
-
-
-
Parameters:
visitor - to call back on
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/spi/LinkedKeyBinding.html b/latest-javadoc/com/google/inject/spi/LinkedKeyBinding.html deleted file mode 100644 index b139d3fc..00000000 --- a/latest-javadoc/com/google/inject/spi/LinkedKeyBinding.html +++ /dev/null @@ -1,239 +0,0 @@ - - - - - - -LinkedKeyBinding (Guice 1.0 API) - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.google.inject.spi -
-Interface LinkedKeyBinding<T>

-
-
All Superinterfaces:
Binding<T>, Element
-
-
-
-
public interface LinkedKeyBinding<T>
extends Binding<T>
- - -

-A binding to a linked key. The other key's binding is used to resolve injections. -

- -

-

-
Since:
-
2.0
-
-
- -

- - - - - - - - - - - - -
-Method Summary
- Key<? extends T>getLinkedKey() - -
-          Returns the linked key used to resolve injections.
- - - - - - - -
Methods inherited from interface com.google.inject.Binding
acceptScopingVisitor, acceptTargetVisitor, getKey, getProvider
- - - - - - - -
Methods inherited from interface com.google.inject.spi.Element
acceptVisitor, getSource
-  -

- - - - - - - - -
-Method Detail
- -

-getLinkedKey

-
-Key<? extends T> getLinkedKey()
-
-
Returns the linked key used to resolve injections. That binding can be retrieved from an - injector using Injector.getBinding(key). -

-

-
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/spi/Message.html b/latest-javadoc/com/google/inject/spi/Message.html deleted file mode 100644 index 3ebc70db..00000000 --- a/latest-javadoc/com/google/inject/spi/Message.html +++ /dev/null @@ -1,492 +0,0 @@ - - - - - - -Message (Guice 1.0 API) - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.google.inject.spi -
-Class Message

-
-java.lang.Object
-  extended by com.google.inject.spi.Message
-
-
-
All Implemented Interfaces:
Element, Serializable
-
-
-
-
public final class Message
extends Object
implements Serializable, Element
- - -

-An error message and the context in which it occured. Messages are usually created internally by - Guice and its extensions. Messages can be created explicitly in a module using addError() statements: -

-     try {
-       bindPropertiesFromFile();
-     } catch (IOException e) {
-       addError(e);
-     }
-

- -

-

-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - - - - - - - -
-Constructor Summary
Message(List<Object> sources, - String message, - Throwable cause) - -
-           
Message(Object source, - String message) - -
-           
Message(String message) - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- - - - - -
-<T> T
-
acceptVisitor(ElementVisitor<T> visitor) - -
-          Accepts an element visitor.
- booleanequals(Object o) - -
-           
- ThrowablegetCause() - -
-          Returns the throwable that caused this message, or null if this - message was not caused by a throwable.
- StringgetMessage() - -
-          Gets the error message text.
- StringgetSource() - -
-          Returns an arbitrary object containing information about the "place" where this element was - configured.
- List<Object>getSources() - -
-           
- inthashCode() - -
-           
- StringtoString() - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-Message

-
-public Message(List<Object> sources,
-               String message,
-               Throwable cause)
-
-
-
Since:
-
2.0
-
-
-
- -

-Message

-
-public Message(Object source,
-               String message)
-
-
-
- -

-Message

-
-public Message(String message)
-
-
- - - - - - - - -
-Method Detail
- -

-getSource

-
-public String getSource()
-
-
Description copied from interface: Element
-
Returns an arbitrary object containing information about the "place" where this element was - configured. Used by Guice in the production of descriptive error messages. - -

Tools might specially handle types they know about; StackTraceElement is a good - example. Tools should simply call toString() on the source object if the type is - unfamiliar. -

-

-
Specified by:
getSource in interface Element
-
-
-
-
-
-
- -

-getSources

-
-public List<Object> getSources()
-
-
-
-
-
-
Since:
-
2.0
-
-
-
-
- -

-getMessage

-
-public String getMessage()
-
-
Gets the error message text. -

-

-
-
-
-
-
-
-
- -

-acceptVisitor

-
-public <T> T acceptVisitor(ElementVisitor<T> visitor)
-
-
Description copied from interface: Element
-
Accepts an element visitor. Invokes the visitor method specific to this element's type. -

-

-
Specified by:
acceptVisitor in interface Element
-
-
-
Parameters:
visitor - to call back on
Since:
-
2.0
-
-
-
-
- -

-getCause

-
-public Throwable getCause()
-
-
Returns the throwable that caused this message, or null if this - message was not caused by a throwable. -

-

-
-
-
-
Since:
-
2.0
-
-
-
-
- -

-toString

-
-public String toString()
-
-
-
Overrides:
toString in class Object
-
-
-
-
-
-
- -

-hashCode

-
-public int hashCode()
-
-
-
Overrides:
hashCode in class Object
-
-
-
-
-
-
- -

-equals

-
-public boolean equals(Object o)
-
-
-
Overrides:
equals in class Object
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/spi/ModuleWriter.html b/latest-javadoc/com/google/inject/spi/ModuleWriter.html deleted file mode 100644 index b4d7d6dc..00000000 --- a/latest-javadoc/com/google/inject/spi/ModuleWriter.html +++ /dev/null @@ -1,586 +0,0 @@ - - - - - - -ModuleWriter (Guice 1.0 API) - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.google.inject.spi -
-Class ModuleWriter

-
-java.lang.Object
-  extended by com.google.inject.spi.ModuleWriter
-
-
-
-
public class ModuleWriter
extends Object
- - -

-Creates a Module from a collection of component elements. -

- -

-

-
Since:
-
2.0
-
-
- -

- - - - - - - - - - - -
-Constructor Summary
ModuleWriter() - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- voidapply(Binder binder, - Iterable<? extends Element> elements) - -
-          Replays elements against binder.
-protected  voidapplyScoping(Binding<?> binding, - ScopedBindingBuilder scopedBindingBuilder) - -
-           
-protected - - - - -
-<T> ScopedBindingBuilder
-
bindKeyToTarget(Binding<T> binding, - Binder binder, - Key<T> key) - -
-          Execute this target against the linked binding builder.
- Modulecreate(Iterable<? extends Element> elements) - -
-          Returns a module that executes the specified elements using this executing visitor.
-protected  PrivateBindergetPrivateBinder(PrivateEnvironment privateEnvironment) - -
-          Returns the binder accociated with privateEnvironment.
-protected  voidsetPrivateBinder(PrivateEnvironment privateEnvironment, - PrivateBinder binder) - -
-          Associates binder with privateEnvironment.
-protected - - - - -
-<T> void
-
writeBind(Binder binder, - Binding<T> element) - -
-           
-protected  voidwriteBindInterceptor(Binder binder, - InterceptorBinding element) - -
-           
-protected  voidwriteBindScope(Binder binder, - ScopeBinding element) - -
-           
-protected  voidwriteConvertToTypes(Binder binder, - TypeConverterBinding element) - -
-           
-protected - - - - -
-<T> void
-
writeGetProvider(Binder binder, - ProviderLookup<T> element) - -
-           
-protected  voidwriteMessage(Binder binder, - Message element) - -
-           
-protected  voidwritePrivateElements(Binder binder, - PrivateEnvironment element) - -
-          Writes the elements of the private environment to a new private binder and associates the two.
-protected  voidwriteRequestInjection(Binder binder, - InjectionRequest command) - -
-           
-protected  voidwriteRequestStaticInjection(Binder binder, - StaticInjectionRequest element) - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-ModuleWriter

-
-public ModuleWriter()
-
-
- - - - - - - - -
-Method Detail
- -

-create

-
-public final Module create(Iterable<? extends Element> elements)
-
-
Returns a module that executes the specified elements using this executing visitor. -

-

-
-
-
-
- -

-apply

-
-public final void apply(Binder binder,
-                        Iterable<? extends Element> elements)
-
-
Replays elements against binder. -

-

-
-
-
-
- -

-writeMessage

-
-protected void writeMessage(Binder binder,
-                            Message element)
-
-
-
-
-
-
- -

-writeBindInterceptor

-
-protected void writeBindInterceptor(Binder binder,
-                                    InterceptorBinding element)
-
-
-
-
-
-
- -

-writeBindScope

-
-protected void writeBindScope(Binder binder,
-                              ScopeBinding element)
-
-
-
-
-
-
- -

-writeRequestInjection

-
-protected void writeRequestInjection(Binder binder,
-                                     InjectionRequest command)
-
-
-
-
-
-
- -

-writeRequestStaticInjection

-
-protected void writeRequestStaticInjection(Binder binder,
-                                           StaticInjectionRequest element)
-
-
-
-
-
-
- -

-writeConvertToTypes

-
-protected void writeConvertToTypes(Binder binder,
-                                   TypeConverterBinding element)
-
-
-
-
-
-
- -

-writeBind

-
-protected <T> void writeBind(Binder binder,
-                             Binding<T> element)
-
-
-
-
-
-
- -

-writePrivateElements

-
-protected void writePrivateElements(Binder binder,
-                                    PrivateEnvironment element)
-
-
Writes the elements of the private environment to a new private binder and associates the two. -

-

-
-
-
-
- -

-bindKeyToTarget

-
-protected <T> ScopedBindingBuilder bindKeyToTarget(Binding<T> binding,
-                                                   Binder binder,
-                                                   Key<T> key)
-
-
Execute this target against the linked binding builder. -

-

-
-
-
-
- -

-setPrivateBinder

-
-protected void setPrivateBinder(PrivateEnvironment privateEnvironment,
-                                PrivateBinder binder)
-
-
Associates binder with privateEnvironment. -

-

-
-
-
-
- -

-getPrivateBinder

-
-protected PrivateBinder getPrivateBinder(PrivateEnvironment privateEnvironment)
-
-
Returns the binder accociated with privateEnvironment. This can be used to - expose bindings to the enclosing environment. -

-

-
-
-
-
- -

-applyScoping

-
-protected void applyScoping(Binding<?> binding,
-                            ScopedBindingBuilder scopedBindingBuilder)
-
-
-
-
-
-
- -

-writeGetProvider

-
-protected <T> void writeGetProvider(Binder binder,
-                                    ProviderLookup<T> element)
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/spi/PrivateEnvironment.html b/latest-javadoc/com/google/inject/spi/PrivateEnvironment.html deleted file mode 100644 index 2e164a1f..00000000 --- a/latest-javadoc/com/google/inject/spi/PrivateEnvironment.html +++ /dev/null @@ -1,321 +0,0 @@ - - - - - - -PrivateEnvironment (Guice 1.0 API) - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.google.inject.spi -
-Class PrivateEnvironment

-
-java.lang.Object
-  extended by com.google.inject.spi.PrivateEnvironment
-
-
-
All Implemented Interfaces:
Element
-
-
-
-
public final class PrivateEnvironment
extends Object
implements Element
- - -

-A private environment whose configuration information is hidden from the enclosing environment - by default. See PrivateModule for details. -

- -

-

-
Since:
-
2.0
-
-
- -

- - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- - - - - -
-<T> T
-
acceptVisitor(ElementVisitor<T> visitor) - -
-          Accepts an element visitor.
- List<Element>getElements() - -
-          Returns the configuration information in this private environment.
- Set<Key<?>>getExposedKeys() - -
-          Returns the unique exposed keys for these private elements.
- ObjectgetSource() - -
-          Returns an arbitrary object containing information about the "place" where this element was - configured.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Method Detail
- -

-getSource

-
-public Object getSource()
-
-
Description copied from interface: Element
-
Returns an arbitrary object containing information about the "place" where this element was - configured. Used by Guice in the production of descriptive error messages. - -

Tools might specially handle types they know about; StackTraceElement is a good - example. Tools should simply call toString() on the source object if the type is - unfamiliar. -

-

-
Specified by:
getSource in interface Element
-
-
-
-
-
-
- -

-getElements

-
-public List<Element> getElements()
-
-
Returns the configuration information in this private environment. -

-

-
-
-
-
-
-
-
- -

-getExposedKeys

-
-public Set<Key<?>> getExposedKeys()
-
-
Returns the unique exposed keys for these private elements. -

-

-
-
-
-
-
-
-
- -

-acceptVisitor

-
-public <T> T acceptVisitor(ElementVisitor<T> visitor)
-
-
Description copied from interface: Element
-
Accepts an element visitor. Invokes the visitor method specific to this element's type. -

-

-
Specified by:
acceptVisitor in interface Element
-
-
-
Parameters:
visitor - to call back on
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/spi/ProviderBinding.html b/latest-javadoc/com/google/inject/spi/ProviderBinding.html deleted file mode 100644 index b331dd5e..00000000 --- a/latest-javadoc/com/google/inject/spi/ProviderBinding.html +++ /dev/null @@ -1,240 +0,0 @@ - - - - - - -ProviderBinding (Guice 1.0 API) - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.google.inject.spi -
-Interface ProviderBinding<T>

-
-
All Superinterfaces:
Binding<Provider<T>>, Element
-
-
-
-
public interface ProviderBinding<T>
extends Binding<Provider<T>>
- - -

-A binding to a Provider that delegates to the binding for the provided type. This binding - is used whenever a Provider<T> is injected (as opposed to injecting T directly). -

- -

-

-
Since:
-
2.0
-
-
- -

- - - - - - - - - - - - -
-Method Summary
- Key<? extends T>getProvidedKey() - -
-          Returns the key whose binding is used to provide instances.
- - - - - - - -
Methods inherited from interface com.google.inject.Binding
acceptScopingVisitor, acceptTargetVisitor, getKey, getProvider
- - - - - - - -
Methods inherited from interface com.google.inject.spi.Element
acceptVisitor, getSource
-  -

- - - - - - - - -
-Method Detail
- -

-getProvidedKey

-
-Key<? extends T> getProvidedKey()
-
-
Returns the key whose binding is used to provide instances. That binding - can be retrieved from an injector using Injector.getBinding(providedKey) -

-

-
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/spi/ProviderInstanceBinding.html b/latest-javadoc/com/google/inject/spi/ProviderInstanceBinding.html deleted file mode 100644 index c941d3e8..00000000 --- a/latest-javadoc/com/google/inject/spi/ProviderInstanceBinding.html +++ /dev/null @@ -1,275 +0,0 @@ - - - - - - -ProviderInstanceBinding (Guice 1.0 API) - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.google.inject.spi -
-Interface ProviderInstanceBinding<T>

-
-
All Superinterfaces:
Binding<T>, Element, HasDependencies
-
-
-
-
public interface ProviderInstanceBinding<T>
extends Binding<T>, HasDependencies
- - -

-A binding to a provider instance. The provider's get method is invoked to resolve - injections. -

- -

-

-
Since:
-
2.0
-
-
- -

- - - - - - - - - - - - - - - - -
-Method Summary
- Set<InjectionPoint>getInjectionPoints() - -
-          Returns the field and method injection points of the provider, injected at injector-creation - time only.
- Provider<? extends T>getProviderInstance() - -
-          Returns the user-supplied, unscoped provider.
- - - - - - - -
Methods inherited from interface com.google.inject.Binding
acceptScopingVisitor, acceptTargetVisitor, getKey, getProvider
- - - - - - - -
Methods inherited from interface com.google.inject.spi.Element
acceptVisitor, getSource
- - - - - - - -
Methods inherited from interface com.google.inject.spi.HasDependencies
getDependencies
-  -

- - - - - - - - -
-Method Detail
- -

-getProviderInstance

-
-Provider<? extends T> getProviderInstance()
-
-
Returns the user-supplied, unscoped provider. -

-

-
-
-
-
-
-
-
- -

-getInjectionPoints

-
-Set<InjectionPoint> getInjectionPoints()
-
-
Returns the field and method injection points of the provider, injected at injector-creation - time only. -

-

-
-
-
- -
Returns:
a possibly empty set
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/spi/ProviderKeyBinding.html b/latest-javadoc/com/google/inject/spi/ProviderKeyBinding.html deleted file mode 100644 index 43974667..00000000 --- a/latest-javadoc/com/google/inject/spi/ProviderKeyBinding.html +++ /dev/null @@ -1,240 +0,0 @@ - - - - - - -ProviderKeyBinding (Guice 1.0 API) - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.google.inject.spi -
-Interface ProviderKeyBinding<T>

-
-
All Superinterfaces:
Binding<T>, Element
-
-
-
-
public interface ProviderKeyBinding<T>
extends Binding<T>
- - -

-A binding to a provider key. To resolve injections, the provider key is first resolved, then that - provider's get method is invoked. -

- -

-

-
Since:
-
2.0
-
-
- -

- - - - - - - - - - - - -
-Method Summary
- Key<? extends Provider<? extends T>>getProviderKey() - -
-          Returns the key used to resolve the provider's binding.
- - - - - - - -
Methods inherited from interface com.google.inject.Binding
acceptScopingVisitor, acceptTargetVisitor, getKey, getProvider
- - - - - - - -
Methods inherited from interface com.google.inject.spi.Element
acceptVisitor, getSource
-  -

- - - - - - - - -
-Method Detail
- -

-getProviderKey

-
-Key<? extends Provider<? extends T>> getProviderKey()
-
-
Returns the key used to resolve the provider's binding. That binding can be retrieved from an - injector using Injector.getBinding(providerKey) -

-

-
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/spi/ProviderLookup.html b/latest-javadoc/com/google/inject/spi/ProviderLookup.html deleted file mode 100644 index 3ed80174..00000000 --- a/latest-javadoc/com/google/inject/spi/ProviderLookup.html +++ /dev/null @@ -1,345 +0,0 @@ - - - - - - -ProviderLookup (Guice 1.0 API) - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.google.inject.spi -
-Class ProviderLookup<T>

-
-java.lang.Object
-  extended by com.google.inject.spi.ProviderLookup<T>
-
-
-
All Implemented Interfaces:
Element
-
-
-
-
public final class ProviderLookup<T>
extends Object
implements Element
- - -

-A lookup of the provider for a type. Lookups are created explicitly in a module using - getProvider() statements: -

-     Provider<PaymentService> paymentServiceProvider
-         = getProvider(PaymentService.class);
-

- -

-

-
Since:
-
2.0
-
-
- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- - - - - -
-<T> T
-
acceptVisitor(ElementVisitor<T> visitor) - -
-          Accepts an element visitor.
- Provider<T>getDelegate() - -
-          Returns the delegate provider, or null if it has not yet been initialized.
- Key<T>getKey() - -
-           
- ObjectgetSource() - -
-          Returns an arbitrary object containing information about the "place" where this element was - configured.
- voidinitDelegate(Provider<T> delegate) - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Method Detail
- -

-getSource

-
-public Object getSource()
-
-
Description copied from interface: Element
-
Returns an arbitrary object containing information about the "place" where this element was - configured. Used by Guice in the production of descriptive error messages. - -

Tools might specially handle types they know about; StackTraceElement is a good - example. Tools should simply call toString() on the source object if the type is - unfamiliar. -

-

-
Specified by:
getSource in interface Element
-
-
-
-
-
-
- -

-getKey

-
-public Key<T> getKey()
-
-
-
-
-
-
-
-
-
- -

-acceptVisitor

-
-public <T> T acceptVisitor(ElementVisitor<T> visitor)
-
-
Description copied from interface: Element
-
Accepts an element visitor. Invokes the visitor method specific to this element's type. -

-

-
Specified by:
acceptVisitor in interface Element
-
-
-
Parameters:
visitor - to call back on
-
-
-
- -

-initDelegate

-
-public void initDelegate(Provider<T> delegate)
-
-
-
-
-
-
-
-
-
- -

-getDelegate

-
-public Provider<T> getDelegate()
-
-
Returns the delegate provider, or null if it has not yet been initialized. The delegate - will be initialized when this element is processed, or otherwise used to create an injector. -

-

-
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/spi/ProviderWithDependencies.html b/latest-javadoc/com/google/inject/spi/ProviderWithDependencies.html deleted file mode 100644 index 3d5804a3..00000000 --- a/latest-javadoc/com/google/inject/spi/ProviderWithDependencies.html +++ /dev/null @@ -1,206 +0,0 @@ - - - - - - -ProviderWithDependencies (Guice 1.0 API) - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.google.inject.spi -
-Interface ProviderWithDependencies<T>

-
-
All Superinterfaces:
HasDependencies, Provider<T>
-
-
-
-
public interface ProviderWithDependencies<T>
extends Provider<T>, HasDependencies
- - -

-A provider with dependencies on other injected types. If a Provider has dependencies that - aren't specified in injections, this interface should be used to expose all dependencies. -

- -

-

-
Since:
-
2.0
-
-
- -

- - - - - - - - -
-Method Summary
- - - - - - - -
Methods inherited from interface com.google.inject.Provider
get
- - - - - - - -
Methods inherited from interface com.google.inject.spi.HasDependencies
getDependencies
-  -

- -


- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/spi/ScopeBinding.html b/latest-javadoc/com/google/inject/spi/ScopeBinding.html deleted file mode 100644 index f3adcf81..00000000 --- a/latest-javadoc/com/google/inject/spi/ScopeBinding.html +++ /dev/null @@ -1,321 +0,0 @@ - - - - - - -ScopeBinding (Guice 1.0 API) - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.google.inject.spi -
-Class ScopeBinding

-
-java.lang.Object
-  extended by com.google.inject.spi.ScopeBinding
-
-
-
All Implemented Interfaces:
Element
-
-
-
-
public final class ScopeBinding
extends Object
implements Element
- - -

-Registration of a scope annotation with the scope that implements it. Instances are created - explicitly in a module using bindScope() - statements: -

-     Scope recordScope = new RecordScope();
-     bindScope(RecordScoped.class, new RecordScope());
-

- -

-

-
Since:
-
2.0
-
-
- -

- - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- - - - - -
-<T> T
-
acceptVisitor(ElementVisitor<T> visitor) - -
-          Accepts an element visitor.
- Class<? extends Annotation>getAnnotationType() - -
-           
- ScopegetScope() - -
-           
- ObjectgetSource() - -
-          Returns an arbitrary object containing information about the "place" where this element was - configured.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Method Detail
- -

-getSource

-
-public Object getSource()
-
-
Description copied from interface: Element
-
Returns an arbitrary object containing information about the "place" where this element was - configured. Used by Guice in the production of descriptive error messages. - -

Tools might specially handle types they know about; StackTraceElement is a good - example. Tools should simply call toString() on the source object if the type is - unfamiliar. -

-

-
Specified by:
getSource in interface Element
-
-
-
-
-
-
- -

-getAnnotationType

-
-public Class<? extends Annotation> getAnnotationType()
-
-
-
-
-
-
-
-
-
- -

-getScope

-
-public Scope getScope()
-
-
-
-
-
-
-
-
-
- -

-acceptVisitor

-
-public <T> T acceptVisitor(ElementVisitor<T> visitor)
-
-
Description copied from interface: Element
-
Accepts an element visitor. Invokes the visitor method specific to this element's type. -

-

-
Specified by:
acceptVisitor in interface Element
-
-
-
Parameters:
visitor - to call back on
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/spi/StaticInjectionRequest.html b/latest-javadoc/com/google/inject/spi/StaticInjectionRequest.html deleted file mode 100644 index c07e7f84..00000000 --- a/latest-javadoc/com/google/inject/spi/StaticInjectionRequest.html +++ /dev/null @@ -1,297 +0,0 @@ - - - - - - -StaticInjectionRequest (Guice 1.0 API) - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.google.inject.spi -
-Class StaticInjectionRequest

-
-java.lang.Object
-  extended by com.google.inject.spi.StaticInjectionRequest
-
-
-
All Implemented Interfaces:
Element
-
-
-
-
public final class StaticInjectionRequest
extends Object
implements Element
- - -

-A request to inject the static fields and methods of type. Requests are created - explicitly in a module using requestStaticInjection() statements: -

-     requestStaticInjection(MyLegacyService.class);
-

- -

-

-
Since:
-
2.0
-
-
- -

- - - - - - - - - - - - - - - - - - - - -
-Method Summary
- - - - - -
-<T> T
-
acceptVisitor(ElementVisitor<T> visitor) - -
-          Accepts an element visitor.
- ObjectgetSource() - -
-          Returns an arbitrary object containing information about the "place" where this element was - configured.
- Class<?>getType() - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Method Detail
- -

-getSource

-
-public Object getSource()
-
-
Description copied from interface: Element
-
Returns an arbitrary object containing information about the "place" where this element was - configured. Used by Guice in the production of descriptive error messages. - -

Tools might specially handle types they know about; StackTraceElement is a good - example. Tools should simply call toString() on the source object if the type is - unfamiliar. -

-

-
Specified by:
getSource in interface Element
-
-
-
-
-
-
- -

-getType

-
-public Class<?> getType()
-
-
-
-
-
-
-
-
-
- -

-acceptVisitor

-
-public <T> T acceptVisitor(ElementVisitor<T> visitor)
-
-
Description copied from interface: Element
-
Accepts an element visitor. Invokes the visitor method specific to this element's type. -

-

-
Specified by:
acceptVisitor in interface Element
-
-
-
Parameters:
visitor - to call back on
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/spi/TypeConverter.html b/latest-javadoc/com/google/inject/spi/TypeConverter.html deleted file mode 100644 index 17e05ee8..00000000 --- a/latest-javadoc/com/google/inject/spi/TypeConverter.html +++ /dev/null @@ -1,216 +0,0 @@ - - - - - - -TypeConverter (Guice 1.0 API) - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.google.inject.spi -
-Interface TypeConverter

-
-
-
public interface TypeConverter
- - -

-Converts constant string values to a different type. -

- -

-

-
Since:
-
2.0
-
-
- -

- - - - - - - - - - - - -
-Method Summary
- Objectconvert(String value, - TypeLiteral<?> toType) - -
-          Converts a string value.
-  -

- - - - - - - - -
-Method Detail
- -

-convert

-
-Object convert(String value,
-               TypeLiteral<?> toType)
-
-
Converts a string value. Throws an exception if a conversion error occurs. -

-

-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/spi/TypeConverterBinding.html b/latest-javadoc/com/google/inject/spi/TypeConverterBinding.html deleted file mode 100644 index c7a67bd5..00000000 --- a/latest-javadoc/com/google/inject/spi/TypeConverterBinding.html +++ /dev/null @@ -1,319 +0,0 @@ - - - - - - -TypeConverterBinding (Guice 1.0 API) - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.google.inject.spi -
-Class TypeConverterBinding

-
-java.lang.Object
-  extended by com.google.inject.spi.TypeConverterBinding
-
-
-
All Implemented Interfaces:
Element
-
-
-
-
public final class TypeConverterBinding
extends Object
implements Element
- - -

-Registration of type converters for matching target types. Instances are created - explicitly in a module using convertToTypes() statements: -

-     convertToTypes(Matchers.only(DateTime.class), new DateTimeConverter());
-

- -

-

-
Since:
-
2.0
-
-
- -

- - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- - - - - -
-<T> T
-
acceptVisitor(ElementVisitor<T> visitor) - -
-          Accepts an element visitor.
- ObjectgetSource() - -
-          Returns an arbitrary object containing information about the "place" where this element was - configured.
- TypeConvertergetTypeConverter() - -
-           
- Matcher<? super TypeLiteral<?>>getTypeMatcher() - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Method Detail
- -

-getSource

-
-public Object getSource()
-
-
Description copied from interface: Element
-
Returns an arbitrary object containing information about the "place" where this element was - configured. Used by Guice in the production of descriptive error messages. - -

Tools might specially handle types they know about; StackTraceElement is a good - example. Tools should simply call toString() on the source object if the type is - unfamiliar. -

-

-
Specified by:
getSource in interface Element
-
-
-
-
-
-
- -

-getTypeMatcher

-
-public Matcher<? super TypeLiteral<?>> getTypeMatcher()
-
-
-
-
-
-
-
-
-
- -

-getTypeConverter

-
-public TypeConverter getTypeConverter()
-
-
-
-
-
-
-
-
-
- -

-acceptVisitor

-
-public <T> T acceptVisitor(ElementVisitor<T> visitor)
-
-
Description copied from interface: Element
-
Accepts an element visitor. Invokes the visitor method specific to this element's type. -

-

-
Specified by:
acceptVisitor in interface Element
-
-
-
Parameters:
visitor - to call back on
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/spi/UntargettedBinding.html b/latest-javadoc/com/google/inject/spi/UntargettedBinding.html deleted file mode 100644 index 646f8fcb..00000000 --- a/latest-javadoc/com/google/inject/spi/UntargettedBinding.html +++ /dev/null @@ -1,206 +0,0 @@ - - - - - - -UntargettedBinding (Guice 1.0 API) - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.google.inject.spi -
-Interface UntargettedBinding<T>

-
-
All Superinterfaces:
Binding<T>, Element
-
-
-
-
public interface UntargettedBinding<T>
extends Binding<T>
- - -

-An untargetted binding. This binding indicates that the injector should use its implicit binding - strategies to resolve injections. -

- -

-

-
Since:
-
2.0
-
-
- -

- - - - - - - - -
-Method Summary
- - - - - - - -
Methods inherited from interface com.google.inject.Binding
acceptScopingVisitor, acceptTargetVisitor, getKey, getProvider
- - - - - - - -
Methods inherited from interface com.google.inject.spi.Element
acceptVisitor, getSource
-  -

- -


- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/spi/package-frame.html b/latest-javadoc/com/google/inject/spi/package-frame.html deleted file mode 100644 index 1bc1d213..00000000 --- a/latest-javadoc/com/google/inject/spi/package-frame.html +++ /dev/null @@ -1,101 +0,0 @@ - - - - - - -com.google.inject.spi (Guice 1.0 API) - - - - - - - - - - - -com.google.inject.spi - - - - -
-Interfaces  - -
-BindingScopingVisitor -
-BindingTargetVisitor -
-ConstructorBinding -
-ConvertedConstantBinding -
-Element -
-ElementVisitor -
-ExposedBinding -
-HasDependencies -
-InstanceBinding -
-LinkedKeyBinding -
-ProviderBinding -
-ProviderInstanceBinding -
-ProviderKeyBinding -
-ProviderWithDependencies -
-TypeConverter -
-UntargettedBinding
- - - - - - -
-Classes  - -
-DefaultBindingScopingVisitor -
-DefaultBindingTargetVisitor -
-DefaultElementVisitor -
-Dependency -
-Elements -
-InjectionPoint -
-InjectionRequest -
-InterceptorBinding -
-Message -
-ModuleWriter -
-PrivateEnvironment -
-ProviderLookup -
-ScopeBinding -
-StaticInjectionRequest -
-TypeConverterBinding
- - - - diff --git a/latest-javadoc/com/google/inject/spi/package-summary.html b/latest-javadoc/com/google/inject/spi/package-summary.html deleted file mode 100644 index f519dd04..00000000 --- a/latest-javadoc/com/google/inject/spi/package-summary.html +++ /dev/null @@ -1,301 +0,0 @@ - - - - - - -com.google.inject.spi (Guice 1.0 API) - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-

-Package com.google.inject.spi -

-Guice service provider interface -

-See: -
-          Description -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Interface Summary
BindingScopingVisitor<V>Visits each of the strategies used to scope an injection.
BindingTargetVisitor<T,V>Visits each of the strategies used to find an instance to satisfy an injection.
ConstructorBinding<T>A binding to the constructor of a concrete clss.
ConvertedConstantBinding<T>A binding created from converting a bound instance to a new type.
ElementA core component of a module or injector.
ElementVisitor<V>Visit elements.
ExposedBinding<T>A binding to a key exposed from an enclosed private environment.
HasDependenciesImplemented by bindings, providers and instances that expose their dependencies explicitly.
InstanceBinding<T>A binding to a single instance.
LinkedKeyBinding<T>A binding to a linked key.
ProviderBinding<T>A binding to a Provider that delegates to the binding for the provided type.
ProviderInstanceBinding<T>A binding to a provider instance.
ProviderKeyBinding<T>A binding to a provider key.
ProviderWithDependencies<T>A provider with dependencies on other injected types.
TypeConverterConverts constant string values to a different type.
UntargettedBinding<T>An untargetted binding.
-  - -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Class Summary
DefaultBindingScopingVisitor<V>No-op visitor for subclassing.
DefaultBindingTargetVisitor<T,V>No-op visitor for subclassing.
DefaultElementVisitor<V>No-op visitor for subclassing.
Dependency<T>A variable that can be resolved by an injector.
ElementsExposes elements of a module so they can be inspected, validated or rewritten.
InjectionPointA constructor, field or method that can receive injections.
InjectionRequestA request to inject the instance fields and methods of an instance.
InterceptorBindingRegistration of interceptors for matching methods of matching classes.
MessageAn error message and the context in which it occured.
ModuleWriterCreates a Module from a collection of component elements.
PrivateEnvironmentA private environment whose configuration information is hidden from the enclosing environment - by default.
ProviderLookup<T>A lookup of the provider for a type.
ScopeBindingRegistration of a scope annotation with the scope that implements it.
StaticInjectionRequestA request to inject the static fields and methods of type.
TypeConverterBindingRegistration of type converters for matching target types.
-  - -

-

-Package com.google.inject.spi Description -

- -

-Guice service provider interface -

- -

-

-
-
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/spi/package-tree.html b/latest-javadoc/com/google/inject/spi/package-tree.html deleted file mode 100644 index 73d27764..00000000 --- a/latest-javadoc/com/google/inject/spi/package-tree.html +++ /dev/null @@ -1,189 +0,0 @@ - - - - - - -com.google.inject.spi Class Hierarchy (Guice 1.0 API) - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Hierarchy For Package com.google.inject.spi -

-
-
-
Package Hierarchies:
All Packages
-
-

-Class Hierarchy -

- -

-Interface Hierarchy -

- -
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/spring/SpringIntegration.html b/latest-javadoc/com/google/inject/spring/SpringIntegration.html deleted file mode 100644 index f5dcef26..00000000 --- a/latest-javadoc/com/google/inject/spring/SpringIntegration.html +++ /dev/null @@ -1,264 +0,0 @@ - - - - - - -SpringIntegration (Guice 1.0 API) - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.google.inject.spring -
-Class SpringIntegration

-
-java.lang.Object
-  extended by com.google.inject.spring.SpringIntegration
-
-
-
-
public class SpringIntegration
extends Object
- - -

-Integrates Guice with Spring. -

- -

-


- -

- - - - - - - - - - - - - - - - -
-Method Summary
-static voidbindAll(Binder binder, - org.springframework.beans.factory.ListableBeanFactory beanFactory) - -
-          Binds all Spring beans from the given factory by name.
-static - - - - -
-<T> Provider<T>
-
fromSpring(Class<T> type, - String name) - -
-          Creates a provider which looks up objects from Spring using the given name.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Method Detail
- -

-fromSpring

-
-public static <T> Provider<T> fromSpring(Class<T> type,
-                                         String name)
-
-
Creates a provider which looks up objects from Spring using the given name. - Expects a binding to BeanFactory. Example usage: - -
- bind(DataSource.class)
-   .toProvider(fromSpring(DataSource.class, "dataSource"));
- 
-

-

-
-
-
-
- -

-bindAll

-
-public static void bindAll(Binder binder,
-                           org.springframework.beans.factory.ListableBeanFactory beanFactory)
-
-
Binds all Spring beans from the given factory by name. For a Spring bean - named "foo", this method creates a binding to the bean's type and - @Named("foo"). -

-

-
See Also:
Named, -Names.named(String)
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/spring/package-frame.html b/latest-javadoc/com/google/inject/spring/package-frame.html deleted file mode 100644 index d3a8428f..00000000 --- a/latest-javadoc/com/google/inject/spring/package-frame.html +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - -com.google.inject.spring (Guice 1.0 API) - - - - - - - - - - - -com.google.inject.spring - - - - -
-Classes  - -
-SpringIntegration
- - - - diff --git a/latest-javadoc/com/google/inject/spring/package-summary.html b/latest-javadoc/com/google/inject/spring/package-summary.html deleted file mode 100644 index acfc425e..00000000 --- a/latest-javadoc/com/google/inject/spring/package-summary.html +++ /dev/null @@ -1,170 +0,0 @@ - - - - - - -com.google.inject.spring (Guice 1.0 API) - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-

-Package com.google.inject.spring -

-Spring integration -

-See: -
-          Description -

- - - - - - - - - -
-Class Summary
SpringIntegrationIntegrates Guice with Spring.
-  - -

-

-Package com.google.inject.spring Description -

- -

-Spring integration -

- -

-

-
-
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/spring/package-tree.html b/latest-javadoc/com/google/inject/spring/package-tree.html deleted file mode 100644 index 9ca26e7d..00000000 --- a/latest-javadoc/com/google/inject/spring/package-tree.html +++ /dev/null @@ -1,151 +0,0 @@ - - - - - - -com.google.inject.spring Class Hierarchy (Guice 1.0 API) - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Hierarchy For Package com.google.inject.spring -

-
-
-
Package Hierarchies:
All Packages
-
-

-Class Hierarchy -

- -
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/throwingproviders/ThrowingProvider.html b/latest-javadoc/com/google/inject/throwingproviders/ThrowingProvider.html deleted file mode 100644 index 34732358..00000000 --- a/latest-javadoc/com/google/inject/throwingproviders/ThrowingProvider.html +++ /dev/null @@ -1,222 +0,0 @@ - - - - - - -ThrowingProvider (Guice 1.0 API) - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.google.inject.throwingproviders -
-Interface ThrowingProvider<T,E extends Exception>

-
-
-
public interface ThrowingProvider<T,E extends Exception>
- - -

-Alternative to the Guice Provider that throws - a checked Exception. Users may not inject T directly. - -

This interface must be extended to use application-specific exception types. - Such subinterfaces may not define new methods: -

- public interface RemoteProvider<T> extends ThrowingProvider<T, RemoteException> { }
- 
- -

When this type is bound using ThrowingProviderBinder, the value returned - or exception thrown by get() will be scoped. As a consequence, get() - will invoked at most once within each scope. -

- -

-


- -

- - - - - - - - - - - - -
-Method Summary
- Tget() - -
-           
-  -

- - - - - - - - -
-Method Detail
- -

-get

-
-T get()
-      throws E extends Exception
-
-
- -
Throws: -
E extends Exception
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/throwingproviders/ThrowingProviderBinder.SecondaryBinder.html b/latest-javadoc/com/google/inject/throwingproviders/ThrowingProviderBinder.SecondaryBinder.html deleted file mode 100644 index 8754da02..00000000 --- a/latest-javadoc/com/google/inject/throwingproviders/ThrowingProviderBinder.SecondaryBinder.html +++ /dev/null @@ -1,331 +0,0 @@ - - - - - - -ThrowingProviderBinder.SecondaryBinder (Guice 1.0 API) - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.google.inject.throwingproviders -
-Class ThrowingProviderBinder.SecondaryBinder<P extends ThrowingProvider>

-
-java.lang.Object
-  extended by com.google.inject.throwingproviders.ThrowingProviderBinder.SecondaryBinder<P>
-
-
-
Enclosing class:
ThrowingProviderBinder
-
-
-
-
public class ThrowingProviderBinder.SecondaryBinder<P extends ThrowingProvider>
extends Object
- - -

-


- -

- - - - - - - - - - - -
-Constructor Summary
ThrowingProviderBinder.SecondaryBinder(Class<P> interfaceType, - Type valueType) - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- ThrowingProviderBinder.SecondaryBinder<P>annotatedWith(Annotation annotation) - -
-           
- ThrowingProviderBinder.SecondaryBinder<P>annotatedWith(Class<? extends Annotation> annotationType) - -
-           
- ScopedBindingBuilderto(Class<? extends P> targetType) - -
-           
- ScopedBindingBuilderto(Key<? extends P> targetKey) - -
-           
- ScopedBindingBuilderto(P target) - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-ThrowingProviderBinder.SecondaryBinder

-
-public ThrowingProviderBinder.SecondaryBinder(Class<P> interfaceType,
-                                              Type valueType)
-
-
- - - - - - - - -
-Method Detail
- -

-annotatedWith

-
-public ThrowingProviderBinder.SecondaryBinder<P> annotatedWith(Class<? extends Annotation> annotationType)
-
-
-
-
-
-
- -

-annotatedWith

-
-public ThrowingProviderBinder.SecondaryBinder<P> annotatedWith(Annotation annotation)
-
-
-
-
-
-
- -

-to

-
-public ScopedBindingBuilder to(P target)
-
-
-
-
-
-
- -

-to

-
-public ScopedBindingBuilder to(Class<? extends P> targetType)
-
-
-
-
-
-
- -

-to

-
-public ScopedBindingBuilder to(Key<? extends P> targetKey)
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/throwingproviders/ThrowingProviderBinder.html b/latest-javadoc/com/google/inject/throwingproviders/ThrowingProviderBinder.html deleted file mode 100644 index 924b9848..00000000 --- a/latest-javadoc/com/google/inject/throwingproviders/ThrowingProviderBinder.html +++ /dev/null @@ -1,273 +0,0 @@ - - - - - - -ThrowingProviderBinder (Guice 1.0 API) - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.google.inject.throwingproviders -
-Class ThrowingProviderBinder

-
-java.lang.Object
-  extended by com.google.inject.throwingproviders.ThrowingProviderBinder
-
-
-
-
public class ThrowingProviderBinder
extends Object
- - -

-

Builds a binding for an ThrowingProvider using a fluent API: -

ThrowingProviderBinder.create(binder())
-    .bind(RemoteProvider.class, Customer.class)
-    .to(RemoteCustomerProvider.class)
-    .in(RequestScope.class);
- 
-

- -

-


- -

- - - - - - - - - - - -
-Nested Class Summary
- classThrowingProviderBinder.SecondaryBinder<P extends ThrowingProvider> - -
-           
-  - - - - - - - - - - - - - - - -
-Method Summary
- - - - - -
-<P extends ThrowingProvider> -
-ThrowingProviderBinder.SecondaryBinder<P>
-
bind(Class<P> interfaceType, - Type valueType) - -
-           
-static ThrowingProviderBindercreate(Binder binder) - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Method Detail
- -

-create

-
-public static ThrowingProviderBinder create(Binder binder)
-
-
-
-
-
-
- -

-bind

-
-public <P extends ThrowingProvider> ThrowingProviderBinder.SecondaryBinder<P> bind(Class<P> interfaceType,
-                                                                                   Type valueType)
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/throwingproviders/package-frame.html b/latest-javadoc/com/google/inject/throwingproviders/package-frame.html deleted file mode 100644 index 201954cf..00000000 --- a/latest-javadoc/com/google/inject/throwingproviders/package-frame.html +++ /dev/null @@ -1,43 +0,0 @@ - - - - - - -com.google.inject.throwingproviders (Guice 1.0 API) - - - - - - - - - - - -com.google.inject.throwingproviders - - - - -
-Interfaces  - -
-ThrowingProvider
- - - - - - -
-Classes  - -
-ThrowingProviderBinder
- - - - diff --git a/latest-javadoc/com/google/inject/throwingproviders/package-summary.html b/latest-javadoc/com/google/inject/throwingproviders/package-summary.html deleted file mode 100644 index 57d191f1..00000000 --- a/latest-javadoc/com/google/inject/throwingproviders/package-summary.html +++ /dev/null @@ -1,185 +0,0 @@ - - - - - - -com.google.inject.throwingproviders (Guice 1.0 API) - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-

-Package com.google.inject.throwingproviders -

-Extension for injecting objects that may throw at provision time. -

-See: -
-          Description -

- - - - - - - - - -
-Interface Summary
ThrowingProvider<T,E extends Exception>Alternative to the Guice Provider that throws - a checked Exception.
-  - -

- - - - - - - - - -
-Class Summary
ThrowingProviderBinderBuilds a binding for an ThrowingProvider using a fluent API:
-  - -

-

-Package com.google.inject.throwingproviders Description -

- -

-Extension for injecting objects that may throw at provision time. -

- -

-

-
-
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/throwingproviders/package-tree.html b/latest-javadoc/com/google/inject/throwingproviders/package-tree.html deleted file mode 100644 index ee135941..00000000 --- a/latest-javadoc/com/google/inject/throwingproviders/package-tree.html +++ /dev/null @@ -1,156 +0,0 @@ - - - - - - -com.google.inject.throwingproviders Class Hierarchy (Guice 1.0 API) - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Hierarchy For Package com.google.inject.throwingproviders -

-
-
-
Package Hierarchies:
All Packages
-
-

-Class Hierarchy -

- -

-Interface Hierarchy -

- -
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/tools/jmx/ManagedBindingMBean.html b/latest-javadoc/com/google/inject/tools/jmx/ManagedBindingMBean.html deleted file mode 100644 index b290f45f..00000000 --- a/latest-javadoc/com/google/inject/tools/jmx/ManagedBindingMBean.html +++ /dev/null @@ -1,252 +0,0 @@ - - - - - - -ManagedBindingMBean (Guice 1.0 API) - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.google.inject.tools.jmx -
-Interface ManagedBindingMBean

-
-
-
public interface ManagedBindingMBean
- - -

-JMX interface to bindings. -

- -

-


- -

- - - - - - - - - - - - - - - - - - - - -
-Method Summary
- StringgetKey() - -
-          Gets the binding key.
- StringgetProvider() - -
-          Gets the provider to which this binding is bound.
- StringgetSource() - -
-          Gets the source of this binding.
-  -

- - - - - - - - -
-Method Detail
- -

-getSource

-
-String getSource()
-
-
Gets the source of this binding. -

-

-
-
-
-
- -

-getProvider

-
-String getProvider()
-
-
Gets the provider to which this binding is bound. -

-

-
-
-
-
- -

-getKey

-
-String getKey()
-
-
Gets the binding key. -

-

-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/tools/jmx/Manager.html b/latest-javadoc/com/google/inject/tools/jmx/Manager.html deleted file mode 100644 index 38a9f58d..00000000 --- a/latest-javadoc/com/google/inject/tools/jmx/Manager.html +++ /dev/null @@ -1,309 +0,0 @@ - - - - - - -Manager (Guice 1.0 API) - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.google.inject.tools.jmx -
-Class Manager

-
-java.lang.Object
-  extended by com.google.inject.tools.jmx.Manager
-
-
-
-
public class Manager
extends Object
- - -

-Provides a JMX interface to Guice. -

- -

-


- -

- - - - - - - - - - - -
-Constructor Summary
Manager() - -
-           
-  - - - - - - - - - - - - - - - - - - - -
-Method Summary
-static voidmain(String[] args) - -
-          Run with no arguments for usage instructions.
-static voidmanage(MBeanServer server, - String domain, - Injector injector) - -
-          Registers all the bindings of an Injector with the given MBean server.
-static voidmanage(String domain, - Injector injector) - -
-          Registers all the bindings of an Injector with the platform MBean server.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Constructor Detail
- -

-Manager

-
-public Manager()
-
-
- - - - - - - - -
-Method Detail
- -

-manage

-
-public static void manage(String domain,
-                          Injector injector)
-
-
Registers all the bindings of an Injector with the platform MBean server. - Consider using the name of your root Module class as the domain. -

-

-
-
-
-
- -

-manage

-
-public static void manage(MBeanServer server,
-                          String domain,
-                          Injector injector)
-
-
Registers all the bindings of an Injector with the given MBean server. - Consider using the name of your root Module class as the domain. -

-

-
-
-
-
- -

-main

-
-public static void main(String[] args)
-                 throws Exception
-
-
Run with no arguments for usage instructions. -

-

- -
Throws: -
Exception
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/tools/jmx/package-frame.html b/latest-javadoc/com/google/inject/tools/jmx/package-frame.html deleted file mode 100644 index 03f13b72..00000000 --- a/latest-javadoc/com/google/inject/tools/jmx/package-frame.html +++ /dev/null @@ -1,43 +0,0 @@ - - - - - - -com.google.inject.tools.jmx (Guice 1.0 API) - - - - - - - - - - - -com.google.inject.tools.jmx - - - - -
-Interfaces  - -
-ManagedBindingMBean
- - - - - - -
-Classes  - -
-Manager
- - - - diff --git a/latest-javadoc/com/google/inject/tools/jmx/package-summary.html b/latest-javadoc/com/google/inject/tools/jmx/package-summary.html deleted file mode 100644 index 21ae7e82..00000000 --- a/latest-javadoc/com/google/inject/tools/jmx/package-summary.html +++ /dev/null @@ -1,184 +0,0 @@ - - - - - - -com.google.inject.tools.jmx (Guice 1.0 API) - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-

-Package com.google.inject.tools.jmx -

-JMX integration -

-See: -
-          Description -

- - - - - - - - - -
-Interface Summary
ManagedBindingMBeanJMX interface to bindings.
-  - -

- - - - - - - - - -
-Class Summary
ManagerProvides a JMX interface to Guice.
-  - -

-

-Package com.google.inject.tools.jmx Description -

- -

-JMX integration -

- -

-

-
-
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/tools/jmx/package-tree.html b/latest-javadoc/com/google/inject/tools/jmx/package-tree.html deleted file mode 100644 index 53b8ce18..00000000 --- a/latest-javadoc/com/google/inject/tools/jmx/package-tree.html +++ /dev/null @@ -1,156 +0,0 @@ - - - - - - -com.google.inject.tools.jmx Class Hierarchy (Guice 1.0 API) - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Hierarchy For Package com.google.inject.tools.jmx -

-
-
-
Package Hierarchies:
All Packages
-
-

-Class Hierarchy -

- -

-Interface Hierarchy -

- -
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/util/Modules.OverriddenModuleBuilder.html b/latest-javadoc/com/google/inject/util/Modules.OverriddenModuleBuilder.html deleted file mode 100644 index b3ec33be..00000000 --- a/latest-javadoc/com/google/inject/util/Modules.OverriddenModuleBuilder.html +++ /dev/null @@ -1,234 +0,0 @@ - - - - - - -Modules.OverriddenModuleBuilder (Guice 1.0 API) - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.google.inject.util -
-Interface Modules.OverriddenModuleBuilder

-
-
Enclosing class:
Modules
-
-
-
-
public static interface Modules.OverriddenModuleBuilder
- - -

-See the EDSL example at override(). -

- -

-


- -

- - - - - - - - - - - - - - - - -
-Method Summary
- Modulewith(Iterable<? extends Module> overrides) - -
-          See the EDSL example at override().
- Modulewith(Module... overrides) - -
-          See the EDSL example at override().
-  -

- - - - - - - - -
-Method Detail
- -

-with

-
-Module with(Module... overrides)
-
-
See the EDSL example at override(). -

-

-
-
-
-
- -

-with

-
-Module with(Iterable<? extends Module> overrides)
-
-
See the EDSL example at override(). -

-

-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/util/Modules.html b/latest-javadoc/com/google/inject/util/Modules.html deleted file mode 100644 index cafc6624..00000000 --- a/latest-javadoc/com/google/inject/util/Modules.html +++ /dev/null @@ -1,361 +0,0 @@ - - - - - - -Modules (Guice 1.0 API) - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.google.inject.util -
-Class Modules

-
-java.lang.Object
-  extended by com.google.inject.util.Modules
-
-
-
-
public final class Modules
extends Object
- - -

-Static utility methods for creating and working with instances of Module. -

- -

-

-
Since:
-
2.0
-
-
- -

- - - - - - - - - - - -
-Nested Class Summary
-static interfaceModules.OverriddenModuleBuilder - -
-          See the EDSL example at override().
- - - - - - - - - - -
-Field Summary
-static ModuleEMPTY_MODULE - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
-static Modulecombine(Iterable<? extends Module> modules) - -
-          Returns a new module that installs all of modules.
-static Modulecombine(Module... modules) - -
-          Returns a new module that installs all of modules.
-static Modules.OverriddenModuleBuilderoverride(Iterable<? extends Module> modules) - -
-          Returns a builder that creates a module that overlays override modules over the given - modules.
-static Modules.OverriddenModuleBuilderoverride(Module... modules) - -
-          Returns a builder that creates a module that overlays override modules over the given - modules.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Field Detail
- -

-EMPTY_MODULE

-
-public static final Module EMPTY_MODULE
-
-
-
-
- - - - - - - - -
-Method Detail
- -

-override

-
-public static Modules.OverriddenModuleBuilder override(Module... modules)
-
-
Returns a builder that creates a module that overlays override modules over the given - modules. If a key is bound in both sets of modules, only the binding from the override modules - is kept. This can be used to replace the bindings of a production module with test bindings: -
- Module functionalTestModule
-     = Modules.override(new ProductionModule()).with(new TestModule());
- 
- -

Prefer to write smaller modules that can be reused and tested without overrides. -

-

-
Parameters:
modules - the modules whose bindings are open to be overridden
-
-
-
- -

-override

-
-public static Modules.OverriddenModuleBuilder override(Iterable<? extends Module> modules)
-
-
Returns a builder that creates a module that overlays override modules over the given - modules. If a key is bound in both sets of modules, only the binding from the override modules - is kept. This can be used to replace the bindings of a production module with test bindings: -
- Module functionalTestModule
-     = Modules.override(getProductionModules()).with(getTestModules());
- 
- -

Prefer to write smaller modules that can be reused and tested without overrides. -

-

-
Parameters:
modules - the modules whose bindings are open to be overridden
-
-
-
- -

-combine

-
-public static Module combine(Module... modules)
-
-
Returns a new module that installs all of modules. -

-

-
-
-
-
- -

-combine

-
-public static Module combine(Iterable<? extends Module> modules)
-
-
Returns a new module that installs all of modules. -

-

-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/util/Providers.html b/latest-javadoc/com/google/inject/util/Providers.html deleted file mode 100644 index 515b6716..00000000 --- a/latest-javadoc/com/google/inject/util/Providers.html +++ /dev/null @@ -1,239 +0,0 @@ - - - - - - -Providers (Guice 1.0 API) - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.google.inject.util -
-Class Providers

-
-java.lang.Object
-  extended by com.google.inject.util.Providers
-
-
-
-
public final class Providers
extends Object
- - -

-Static utility methods for creating and working with instances of - Provider. -

- -

-

-
Since:
-
2.0
-
-
- -

- - - - - - - - - - - - -
-Method Summary
-static - - - - -
-<T> Provider<T>
-
of(T instance) - -
-          Returns a provider which always provides instance.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Method Detail
- -

-of

-
-public static <T> Provider<T> of(T instance)
-
-
Returns a provider which always provides instance. This should not - be necessary to use in your application, but is helpful for several types - of unit tests. -

-

-
Parameters:
instance - the instance that should always be provided. This is also - permitted to be null, to enable aggressive testing, although in real - life a Guice-supplied Provider will never return null.
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/util/Types.html b/latest-javadoc/com/google/inject/util/Types.html deleted file mode 100644 index 26beca78..00000000 --- a/latest-javadoc/com/google/inject/util/Types.html +++ /dev/null @@ -1,424 +0,0 @@ - - - - - - -Types (Guice 1.0 API) - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.google.inject.util -
-Class Types

-
-java.lang.Object
-  extended by com.google.inject.util.Types
-
-
-
-
public final class Types
extends Object
- - -

-Static methods for working with types. -

- -

-

-
Since:
-
2.0
-
-
- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
-static GenericArrayTypearrayOf(Type componentType) - -
-          Returns an array type whose elements are all instances of - componentType.
-static ParameterizedTypelistOf(Type elementType) - -
-          Returns a type modelling a List whose elements are of type - elementType.
-static ParameterizedTypemapOf(Type keyType, - Type valueType) - -
-          Returns a type modelling a Map whose keys are of type - keyType and whose values are of type valueType.
-static ParameterizedTypenewParameterizedType(Type rawType, - Type... typeArguments) - -
-          Returns a new parameterized type, applying typeArguments to - rawType.
-static ParameterizedTypenewParameterizedTypeWithOwner(Type ownerType, - Type rawType, - Type... typeArguments) - -
-          Returns a new parameterized type, applying typeArguments to - rawType and enclosed by ownerType.
-static ParameterizedTypeproviderOf(Type providedType) - -
-          Returns a type modelling a Provider that provides elements of type - elementType.
-static ParameterizedTypesetOf(Type elementType) - -
-          Returns a type modelling a Set whose elements are of type - elementType.
-static WildcardTypesubtypeOf(Type bound) - -
-          Returns a type that represents an unknown type that extends bound.
-static WildcardTypesupertypeOf(Type bound) - -
-          Returns a type that represents an unknown supertype of bound.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Method Detail
- -

-newParameterizedType

-
-public static ParameterizedType newParameterizedType(Type rawType,
-                                                     Type... typeArguments)
-
-
Returns a new parameterized type, applying typeArguments to - rawType. The returned type does not have an owner type. -

-

- -
Returns:
a serializable parameterized type.
-
-
-
- -

-newParameterizedTypeWithOwner

-
-public static ParameterizedType newParameterizedTypeWithOwner(Type ownerType,
-                                                              Type rawType,
-                                                              Type... typeArguments)
-
-
Returns a new parameterized type, applying typeArguments to - rawType and enclosed by ownerType. -

-

- -
Returns:
a serializable parameterized type.
-
-
-
- -

-arrayOf

-
-public static GenericArrayType arrayOf(Type componentType)
-
-
Returns an array type whose elements are all instances of - componentType. -

-

- -
Returns:
a serializable generic array type.
-
-
-
- -

-subtypeOf

-
-public static WildcardType subtypeOf(Type bound)
-
-
Returns a type that represents an unknown type that extends bound. -

-

-
-
-
-
- -

-supertypeOf

-
-public static WildcardType supertypeOf(Type bound)
-
-
Returns a type that represents an unknown supertype of bound. -

-

-
-
-
-
- -

-listOf

-
-public static ParameterizedType listOf(Type elementType)
-
-
Returns a type modelling a List whose elements are of type - elementType. -

-

- -
Returns:
a serializable parameterized type.
-
-
-
- -

-setOf

-
-public static ParameterizedType setOf(Type elementType)
-
-
Returns a type modelling a Set whose elements are of type - elementType. -

-

- -
Returns:
a serializable parameterized type.
-
-
-
- -

-mapOf

-
-public static ParameterizedType mapOf(Type keyType,
-                                      Type valueType)
-
-
Returns a type modelling a Map whose keys are of type - keyType and whose values are of type valueType. -

-

- -
Returns:
a serializable parameterized type.
-
-
-
- -

-providerOf

-
-public static ParameterizedType providerOf(Type providedType)
-
-
Returns a type modelling a Provider that provides elements of type - elementType. -

-

- -
Returns:
a serializable parameterized type.
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/util/package-frame.html b/latest-javadoc/com/google/inject/util/package-frame.html deleted file mode 100644 index 53df49d5..00000000 --- a/latest-javadoc/com/google/inject/util/package-frame.html +++ /dev/null @@ -1,47 +0,0 @@ - - - - - - -com.google.inject.util (Guice 1.0 API) - - - - - - - - - - - -com.google.inject.util - - - - -
-Interfaces  - -
-Modules.OverriddenModuleBuilder
- - - - - - -
-Classes  - -
-Modules -
-Providers -
-Types
- - - - diff --git a/latest-javadoc/com/google/inject/util/package-summary.html b/latest-javadoc/com/google/inject/util/package-summary.html deleted file mode 100644 index 00417802..00000000 --- a/latest-javadoc/com/google/inject/util/package-summary.html +++ /dev/null @@ -1,178 +0,0 @@ - - - - - - -com.google.inject.util (Guice 1.0 API) - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-

-Package com.google.inject.util -

- - - - - - - - - -
-Interface Summary
Modules.OverriddenModuleBuilderSee the EDSL example at override().
-  - -

- - - - - - - - - - - - - - - - - -
-Class Summary
ModulesStatic utility methods for creating and working with instances of Module.
ProvidersStatic utility methods for creating and working with instances of - Provider.
TypesStatic methods for working with types.
-  - -

-

-
-
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/util/package-tree.html b/latest-javadoc/com/google/inject/util/package-tree.html deleted file mode 100644 index 88f80686..00000000 --- a/latest-javadoc/com/google/inject/util/package-tree.html +++ /dev/null @@ -1,156 +0,0 @@ - - - - - - -com.google.inject.util Class Hierarchy (Guice 1.0 API) - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Hierarchy For Package com.google.inject.util -

-
-
-
Package Hierarchies:
All Packages
-
-

-Class Hierarchy -

- -

-Interface Hierarchy -

- -
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/constant-values.html b/latest-javadoc/constant-values.html deleted file mode 100644 index 0e63f53b..00000000 --- a/latest-javadoc/constant-values.html +++ /dev/null @@ -1,144 +0,0 @@ - - - - - - -Constant Field Values (Guice 1.0 API) - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Constant Field Values

-
-
-Contents - -
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/deprecated-list.html b/latest-javadoc/deprecated-list.html deleted file mode 100644 index 7f28aae9..00000000 --- a/latest-javadoc/deprecated-list.html +++ /dev/null @@ -1,162 +0,0 @@ - - - - - - -Deprecated List (Guice 1.0 API) - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Deprecated API

-
-
-Contents - - - - - - - - - -
-Deprecated Annotation Types
com.google.inject.assistedinject.AssistedInject -
-          FactoryProvider now works better with the standard @Inject - annotation. When using that annotation, parameters are matched by name and type rather than - by position. In addition, values that use the standard @Inject constructor - annotation are eligible for method interception. 
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/help-doc.html b/latest-javadoc/help-doc.html deleted file mode 100644 index a37391b0..00000000 --- a/latest-javadoc/help-doc.html +++ /dev/null @@ -1,217 +0,0 @@ - - - - - - -API Help (Guice 1.0 API) - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-How This API Document Is Organized

-
-This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar, described as follows.

-Overview

-
- -

-The Overview page is the front page of this API document and provides a list of all packages with a summary for each. This page can also contain an overall description of the set of packages.

-

-Package

-
- -

-Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain four categories:

    -
  • Interfaces (italic)
  • Classes
  • Enums
  • Exceptions
  • Errors
  • Annotation Types
-
-

-Class/Interface

-
- -

-Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:

    -
  • Class inheritance diagram
  • Direct Subclasses
  • All Known Subinterfaces
  • All Known Implementing Classes
  • Class/interface declaration
  • Class/interface description -

    -

  • Nested Class Summary
  • Field Summary
  • Constructor Summary
  • Method Summary -

    -

  • Field Detail
  • Constructor Detail
  • Method Detail
-Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.
- -

-Annotation Type

-
- -

-Each annotation type has its own separate page with the following sections:

    -
  • Annotation Type declaration
  • Annotation Type description
  • Required Element Summary
  • Optional Element Summary
  • Element Detail
-
- -

-Enum

-
- -

-Each enum has its own separate page with the following sections:

    -
  • Enum declaration
  • Enum description
  • Enum Constant Summary
  • Enum Constant Detail
-
-

-Tree (Class Hierarchy)

-
-There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with java.lang.Object. The interfaces do not inherit from java.lang.Object.
    -
  • When viewing the Overview page, clicking on "Tree" displays the hierarchy for all packages.
  • When viewing a particular package, class or interface page, clicking "Tree" displays the hierarchy for only that package.
-
-

-Deprecated API

-
-The Deprecated API page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.
-

-Index

-
-The Index contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.
-

-Prev/Next

-These links take you to the next or previous class, interface, package, or related page.

-Frames/No Frames

-These links show and hide the HTML frames. All pages are available with or without frames. -

-

-Serialized Form

-Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description. -

-

-Constant Field Values

-The Constant Field Values page lists the static final fields and their values. -

- - -This help file applies to API documentation generated using the standard doclet. - -
-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/index-all.html b/latest-javadoc/index-all.html deleted file mode 100644 index a0c8291e..00000000 --- a/latest-javadoc/index-all.html +++ /dev/null @@ -1,1576 +0,0 @@ - - - - - - -Index (Guice 1.0 API) - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -A B C D E F G H I J K L M N O P R S T U V W
-

-A

-
-
AbstractMatcher<T> - Class in com.google.inject.matcher
Implements and() and or().
AbstractMatcher() - -Constructor for class com.google.inject.matcher.AbstractMatcher -
  -
AbstractModule - Class in com.google.inject
A support class for Modules which reduces repetition and results in - a more readable configuration.
AbstractModule() - -Constructor for class com.google.inject.AbstractModule -
  -
acceptScopingVisitor(BindingScopingVisitor<V>) - -Method in interface com.google.inject.Binding -
Accepts a scoping visitor. -
acceptTargetVisitor(BindingTargetVisitor<T, V>) - -Method in interface com.google.inject.Binding -
Accepts a target visitor. -
acceptVisitor(ElementVisitor<T>) - -Method in interface com.google.inject.spi.Element -
Accepts an element visitor. -
acceptVisitor(ElementVisitor<T>) - -Method in class com.google.inject.spi.InjectionRequest -
  -
acceptVisitor(ElementVisitor<T>) - -Method in class com.google.inject.spi.InterceptorBinding -
  -
acceptVisitor(ElementVisitor<T>) - -Method in class com.google.inject.spi.Message -
  -
acceptVisitor(ElementVisitor<T>) - -Method in class com.google.inject.spi.PrivateEnvironment -
  -
acceptVisitor(ElementVisitor<T>) - -Method in class com.google.inject.spi.ProviderLookup -
  -
acceptVisitor(ElementVisitor<T>) - -Method in class com.google.inject.spi.ScopeBinding -
  -
acceptVisitor(ElementVisitor<T>) - -Method in class com.google.inject.spi.StaticInjectionRequest -
  -
acceptVisitor(ElementVisitor<T>) - -Method in class com.google.inject.spi.TypeConverterBinding -
  -
addBinding(K) - -Method in class com.google.inject.multibindings.MapBinder -
Returns a binding builder used to add a new entry in the map. -
addBinding() - -Method in class com.google.inject.multibindings.Multibinder -
Returns a binding builder used to add a new element in the set. -
addError(String, Object...) - -Method in class com.google.inject.AbstractModule -
  -
addError(Throwable) - -Method in class com.google.inject.AbstractModule -
  -
addError(Message) - -Method in class com.google.inject.AbstractModule -
  -
addError(String, Object...) - -Method in interface com.google.inject.Binder -
Records an error message which will be presented to the user at a later - time. -
addError(Throwable) - -Method in interface com.google.inject.Binder -
Records an exception, the full details of which will be logged, and the - message of which will be presented to the user at a later - time. -
addError(Message) - -Method in interface com.google.inject.Binder -
Records an error message to be presented to the user at a later time. -
addError(String, Object...) - -Method in class com.google.inject.PrivateModule -
  -
addError(Throwable) - -Method in class com.google.inject.PrivateModule -
  -
addError(Message) - -Method in class com.google.inject.PrivateModule -
  -
and(Matcher<? super T>) - -Method in class com.google.inject.matcher.AbstractMatcher -
  -
and(Matcher<? super T>) - -Method in interface com.google.inject.matcher.Matcher -
Returns a new matcher which returns true if both this and the - given matcher return true. -
AnnotatedBindingBuilder<T> - Interface in com.google.inject.binder
See the EDSL examples at Binder.
AnnotatedConstantBindingBuilder - Interface in com.google.inject.binder
See the EDSL examples at Binder.
AnnotatedElementBuilder - Interface in com.google.inject.binder
See the EDSL examples at Binder.
annotatedWith(Class<? extends Annotation>) - -Method in interface com.google.inject.binder.AnnotatedBindingBuilder -
See the EDSL examples at Binder. -
annotatedWith(Annotation) - -Method in interface com.google.inject.binder.AnnotatedBindingBuilder -
See the EDSL examples at Binder. -
annotatedWith(Class<? extends Annotation>) - -Method in interface com.google.inject.binder.AnnotatedConstantBindingBuilder -
See the EDSL examples at Binder. -
annotatedWith(Annotation) - -Method in interface com.google.inject.binder.AnnotatedConstantBindingBuilder -
See the EDSL examples at Binder. -
annotatedWith(Class<? extends Annotation>) - -Method in interface com.google.inject.binder.AnnotatedElementBuilder -
See the EDSL examples at Binder. -
annotatedWith(Annotation) - -Method in interface com.google.inject.binder.AnnotatedElementBuilder -
See the EDSL examples at Binder. -
annotatedWith(Class<? extends Annotation>) - -Static method in class com.google.inject.matcher.Matchers -
Returns a matcher which matches elements (methods, classes, etc.) - with a given annotation. -
annotatedWith(Annotation) - -Static method in class com.google.inject.matcher.Matchers -
Returns a matcher which matches elements (methods, classes, etc.) - with a given annotation. -
annotatedWith(Class<? extends Annotation>) - -Method in class com.google.inject.throwingproviders.ThrowingProviderBinder.SecondaryBinder -
  -
annotatedWith(Annotation) - -Method in class com.google.inject.throwingproviders.ThrowingProviderBinder.SecondaryBinder -
  -
any() - -Static method in class com.google.inject.matcher.Matchers -
Returns a matcher which matches any input. -
apply(Binder, Iterable<? extends Element>) - -Method in class com.google.inject.spi.ModuleWriter -
Replays elements against binder. -
applyScoping(Binding<?>, ScopedBindingBuilder) - -Method in class com.google.inject.spi.ModuleWriter -
  -
arrayOf(Type) - -Static method in class com.google.inject.util.Types -
Returns an array type whose elements are all instances of - componentType. -
asEagerSingleton() - -Method in interface com.google.inject.binder.ScopedBindingBuilder -
Instructs the Injector to eagerly initialize this - singleton-scoped binding upon creation. -
Assisted - Annotation Type in com.google.inject.assistedinject
Annotates an injected parameter or field whose value comes from an argument to a factory method.
AssistedInject - Annotation Type in com.google.inject.assistedinject
Deprecated. FactoryProvider now works better with the standard @Inject - annotation. When using that annotation, parameters are matched by name and type rather than - by position. In addition, values that use the standard @Inject constructor - annotation are eligible for method interception.
-
-

-B

-
-
bind(Key<T>) - -Method in class com.google.inject.AbstractModule -
  -
bind(TypeLiteral<T>) - -Method in class com.google.inject.AbstractModule -
  -
bind(Class<T>) - -Method in class com.google.inject.AbstractModule -
  -
bind(Key<T>) - -Method in interface com.google.inject.Binder -
See the EDSL examples at Binder. -
bind(TypeLiteral<T>) - -Method in interface com.google.inject.Binder -
See the EDSL examples at Binder. -
bind(Class<T>) - -Method in interface com.google.inject.Binder -
See the EDSL examples at Binder. -
bind(Key<T>) - -Method in class com.google.inject.PrivateModule -
  -
bind(TypeLiteral<T>) - -Method in class com.google.inject.PrivateModule -
  -
bind(Class<T>) - -Method in class com.google.inject.PrivateModule -
  -
bind(Class<P>, Type) - -Method in class com.google.inject.throwingproviders.ThrowingProviderBinder -
  -
bindAll(Binder, ListableBeanFactory) - -Static method in class com.google.inject.spring.SpringIntegration -
Binds all Spring beans from the given factory by name. -
bindConstant() - -Method in class com.google.inject.AbstractModule -
  -
bindConstant() - -Method in interface com.google.inject.Binder -
See the EDSL examples at Binder. -
bindConstant() - -Method in class com.google.inject.PrivateModule -
  -
binder() - -Method in class com.google.inject.AbstractModule -
Gets direct access to the underlying Binder. -
Binder - Interface in com.google.inject
Collects configuration information (primarily bindings) which will be - used to create an Injector.
binder() - -Method in class com.google.inject.PrivateModule -
  -
Binding<T> - Interface in com.google.inject
A mapping from a key (type and optional annotation) to the strategy for getting instances of the - type.
BindingAnnotation - Annotation Type in com.google.inject
Annotates annotations which are used for binding.
BindingScopingVisitor<V> - Interface in com.google.inject.spi
Visits each of the strategies used to scope an injection.
BindingTargetVisitor<T,V> - Interface in com.google.inject.spi
Visits each of the strategies used to find an instance to satisfy an injection.
bindInterceptor(Matcher<? super Class<?>>, Matcher<? super Method>, MethodInterceptor...) - -Method in class com.google.inject.AbstractModule -
  -
bindInterceptor(Matcher<? super Class<?>>, Matcher<? super Method>, MethodInterceptor...) - -Method in interface com.google.inject.Binder -
Binds a method interceptor to methods matched by class and method - matchers. -
bindInterceptor(Matcher<? super Class<?>>, Matcher<? super Method>, MethodInterceptor...) - -Method in class com.google.inject.PrivateModule -
  -
bindKeyToTarget(Binding<T>, Binder, Key<T>) - -Method in class com.google.inject.spi.ModuleWriter -
Execute this target against the linked binding builder. -
bindProperties(Binder, Map<String, String>) - -Static method in class com.google.inject.name.Names -
Creates a constant binding to @Named(key) for each entry in - properties. -
bindProperties(Binder, Properties) - -Static method in class com.google.inject.name.Names -
Creates a constant binding to @Named(key) for each property. -
bindScope(Class<? extends Annotation>, Scope) - -Method in class com.google.inject.AbstractModule -
  -
bindScope(Class<? extends Annotation>, Scope) - -Method in interface com.google.inject.Binder -
Binds a scope to an annotation. -
bindScope(Class<? extends Annotation>, Scope) - -Method in class com.google.inject.PrivateModule -
  -
-
-

-C

-
-
com.google.inject - package com.google.inject
Google Guice (pronounced "juice") is an ultra-lightweight dependency - injection framework.
com.google.inject.assistedinject - package com.google.inject.assistedinject
Extension for combining factory interfaces with injection.
com.google.inject.binder - package com.google.inject.binder
Interfaces which make up Binder's - expression language.
com.google.inject.jndi - package com.google.inject.jndi
JNDI integration
com.google.inject.matcher - package com.google.inject.matcher
Used for matching things.
com.google.inject.multibindings - package com.google.inject.multibindings
Extension for binding multiple instances in a collection.
com.google.inject.name - package com.google.inject.name
Support for binding to string-based names.
com.google.inject.servlet - package com.google.inject.servlet
Servlet API scopes and bindings.
com.google.inject.spi - package com.google.inject.spi
Guice service provider interface
com.google.inject.spring - package com.google.inject.spring
Spring integration
com.google.inject.throwingproviders - package com.google.inject.throwingproviders
Extension for injecting objects that may throw at provision time.
com.google.inject.tools.jmx - package com.google.inject.tools.jmx
JMX integration
com.google.inject.util - package com.google.inject.util
 
combine(Module...) - -Static method in class com.google.inject.util.Modules -
Returns a new module that installs all of modules. -
combine(Iterable<? extends Module>) - -Static method in class com.google.inject.util.Modules -
Returns a new module that installs all of modules. -
ConfigurationException - Exception in com.google.inject
Thrown when a programming error such as a misplaced annotation, illegal binding, or unsupported - scope is found.
ConfigurationException(Iterable<Message>) - -Constructor for exception com.google.inject.ConfigurationException -
Creates a ConfigurationException containing messages. -
configure(Binder) - -Method in class com.google.inject.AbstractModule -
  -
configure() - -Method in class com.google.inject.AbstractModule -
Configures a Binder via the exposed methods. -
configure(Binder) - -Method in interface com.google.inject.Module -
Contributes bindings and other configurations for this module to a Binder. -
configure(Binder) - -Method in class com.google.inject.PrivateModule -
  -
configure() - -Method in class com.google.inject.PrivateModule -
  -
configure() - -Method in class com.google.inject.servlet.ServletModule -
  -
configurePrivateBindings() - -Method in class com.google.inject.PrivateModule -
Creates bindings and other configurations private to this module. -
configureServlets() - -Method in class com.google.inject.servlet.ServletModule -
Servlet Mapping EDSL -
ConstantBindingBuilder - Interface in com.google.inject.binder
Binds to a constant value.
ConstructorBinding<T> - Interface in com.google.inject.spi
A binding to the constructor of a concrete clss.
contextDestroyed(ServletContextEvent) - -Method in class com.google.inject.servlet.GuiceServletContextListener -
  -
contextInitialized(ServletContextEvent) - -Method in class com.google.inject.servlet.GuiceServletContextListener -
  -
convert(String, TypeLiteral<?>) - -Method in interface com.google.inject.spi.TypeConverter -
Converts a string value. -
ConvertedConstantBinding<T> - Interface in com.google.inject.spi
A binding created from converting a bound instance to a new type.
convertToTypes(Matcher<? super TypeLiteral<?>>, TypeConverter) - -Method in class com.google.inject.AbstractModule -
  -
convertToTypes(Matcher<? super TypeLiteral<?>>, TypeConverter) - -Method in interface com.google.inject.Binder -
Binds a type converter. -
convertToTypes(Matcher<? super TypeLiteral<?>>, TypeConverter) - -Method in class com.google.inject.PrivateModule -
  -
create(Iterable<? extends Element>) - -Method in class com.google.inject.spi.ModuleWriter -
Returns a module that executes the specified elements using this executing visitor. -
create(Binder) - -Static method in class com.google.inject.throwingproviders.ThrowingProviderBinder -
  -
createChildInjector(Iterable<? extends Module>) - -Method in interface com.google.inject.Injector -
Returns a new injector that inherits all state from this injector. -
createChildInjector(Module...) - -Method in interface com.google.inject.Injector -
Returns a new injector that inherits all state from this injector. -
createInjector(Module...) - -Static method in class com.google.inject.Guice -
Creates an injector for the given set of modules. -
createInjector(Iterable<? extends Module>) - -Static method in class com.google.inject.Guice -
Creates an injector for the given set of modules. -
createInjector(Stage, Module...) - -Static method in class com.google.inject.Guice -
Creates an injector for the given set of modules, in a given development - stage. -
createInjector(Stage, Iterable<? extends Module>) - -Static method in class com.google.inject.Guice -
Creates an injector for the given set of modules, in a given development - stage. -
CreationException - Exception in com.google.inject
Thrown when errors occur while creating a Injector.
CreationException(Iterable<Message>) - -Constructor for exception com.google.inject.CreationException -
Creates a CreationException containing messages. -
currentStage() - -Method in class com.google.inject.AbstractModule -
  -
currentStage() - -Method in interface com.google.inject.Binder -
Gets the current stage. -
currentStage() - -Method in class com.google.inject.PrivateModule -
  -
-
-

-D

-
-
DefaultBindingScopingVisitor<V> - Class in com.google.inject.spi
No-op visitor for subclassing.
DefaultBindingScopingVisitor() - -Constructor for class com.google.inject.spi.DefaultBindingScopingVisitor -
  -
DefaultBindingTargetVisitor<T,V> - Class in com.google.inject.spi
No-op visitor for subclassing.
DefaultBindingTargetVisitor() - -Constructor for class com.google.inject.spi.DefaultBindingTargetVisitor -
  -
DefaultElementVisitor<V> - Class in com.google.inject.spi
No-op visitor for subclassing.
DefaultElementVisitor() - -Constructor for class com.google.inject.spi.DefaultElementVisitor -
  -
Dependency<T> - Class in com.google.inject.spi
A variable that can be resolved by an injector.
destroy() - -Method in class com.google.inject.servlet.GuiceFilter -
  -
doFilter(ServletRequest, ServletResponse, FilterChain) - -Method in class com.google.inject.servlet.GuiceFilter -
  -
-
-

-E

-
-
Element - Interface in com.google.inject.spi
A core component of a module or injector.
Elements - Class in com.google.inject.spi
Exposes elements of a module so they can be inspected, validated or rewritten.
Elements() - -Constructor for class com.google.inject.spi.Elements -
  -
ElementVisitor<V> - Interface in com.google.inject.spi
Visit elements.
EMPTY_MODULE - -Static variable in class com.google.inject.util.Modules -
  -
equals(Object) - -Method in class com.google.inject.Key -
  -
equals(Object) - -Method in class com.google.inject.spi.Dependency -
  -
equals(Object) - -Method in class com.google.inject.spi.InjectionPoint -
  -
equals(Object) - -Method in class com.google.inject.spi.Message -
  -
equals(Object) - -Method in class com.google.inject.TypeLiteral -
  -
expose(Key<?>) - -Method in interface com.google.inject.binder.PrivateBinder -
Makes the binding for key available to the enclosing environment -
expose(Class<?>) - -Method in interface com.google.inject.binder.PrivateBinder -
Makes a binding for type available to the enclosing environment. -
expose(TypeLiteral<?>) - -Method in interface com.google.inject.binder.PrivateBinder -
Makes a binding for type available to the enclosing environment. -
expose(Key<T>) - -Method in class com.google.inject.PrivateModule -
Makes the binding for key available to other modules and the injector. -
expose(Class<?>) - -Method in class com.google.inject.PrivateModule -
Makes a binding for type available to other modules and the injector. -
expose(TypeLiteral<?>) - -Method in class com.google.inject.PrivateModule -
Makes a binding for type available to other modules and the injector. -
Exposed - Annotation Type in com.google.inject
Acccompanies a @Provides method annotation in a - private module to indicate that the provided binding is exposed.
ExposedBinding<T> - Interface in com.google.inject.spi
A binding to a key exposed from an enclosed private environment.
-
-

-F

-
-
FactoryProvider<F> - Class in com.google.inject.assistedinject
Provides a factory that combines caller-provided parameters with injector-provided values when - constructing objects.
filter(String, String...) - -Method in class com.google.inject.servlet.ServletModule -
  -
filterRegex(String, String...) - -Method in class com.google.inject.servlet.ServletModule -
  -
findBindingsByType(TypeLiteral<T>) - -Method in interface com.google.inject.Injector -
Returns all explicit bindings for type. -
forConstructorOf(TypeLiteral<?>) - -Static method in class com.google.inject.spi.InjectionPoint -
Returns a new injection point for the injectable constructor of type. -
forConstructorOf(Class<?>) - -Static method in class com.google.inject.spi.InjectionPoint -
Returns a new injection point for the injectable constructor of type. -
forInjectionPoints(Set<InjectionPoint>) - -Static method in class com.google.inject.spi.Dependency -
Returns the dependencies from the given injection points. -
forInstanceMethodsAndFields(TypeLiteral<?>) - -Static method in class com.google.inject.spi.InjectionPoint -
Returns all instance method and field injection points on type. -
forInstanceMethodsAndFields(Class<?>) - -Static method in class com.google.inject.spi.InjectionPoint -
Returns all instance method and field injection points on type. -
forStaticMethodsAndFields(TypeLiteral) - -Static method in class com.google.inject.spi.InjectionPoint -
Returns all static method and field injection points on type. -
forStaticMethodsAndFields(Class<?>) - -Static method in class com.google.inject.spi.InjectionPoint -
Returns all static method and field injection points on type. -
fromJndi(Class<T>, String) - -Static method in class com.google.inject.jndi.JndiIntegration -
Creates a provider which looks up objects in JNDI using the given name. -
fromSpring(Class<T>, String) - -Static method in class com.google.inject.spring.SpringIntegration -
Creates a provider which looks up objects from Spring using the given name. -
-
-

-G

-
-
get() - -Method in class com.google.inject.assistedinject.FactoryProvider -
  -
get(Class<T>) - -Static method in class com.google.inject.Key -
Gets a key for an injection type. -
get(Class<T>, Class<? extends Annotation>) - -Static method in class com.google.inject.Key -
Gets a key for an injection type and an annotation type. -
get(Class<T>, Annotation) - -Static method in class com.google.inject.Key -
Gets a key for an injection type and an annotation. -
get(Type) - -Static method in class com.google.inject.Key -
Gets a key for an injection type. -
get(Type, Class<? extends Annotation>) - -Static method in class com.google.inject.Key -
Gets a key for an injection type and an annotation type. -
get(Type, Annotation) - -Static method in class com.google.inject.Key -
Gets a key for an injection type and an annotation. -
get(TypeLiteral<T>) - -Static method in class com.google.inject.Key -
Gets a key for an injection type. -
get(TypeLiteral<T>, Class<? extends Annotation>) - -Static method in class com.google.inject.Key -
Gets a key for an injection type and an annotation type. -
get(TypeLiteral<T>, Annotation) - -Static method in class com.google.inject.Key -
Gets a key for an injection type and an annotation. -
get() - -Method in interface com.google.inject.Provider -
Provides an instance of T. -
get(Key<T>) - -Static method in class com.google.inject.spi.Dependency -
Returns a new dependency that is not attached to an injection point. -
get() - -Method in interface com.google.inject.throwingproviders.ThrowingProvider -
  -
get(Type) - -Static method in class com.google.inject.TypeLiteral -
Gets type literal for the given Type instance. -
get(Class<T>) - -Static method in class com.google.inject.TypeLiteral -
Gets type literal for the given Class instance. -
getAnnotation() - -Method in class com.google.inject.Key -
Gets the annotation. -
getAnnotationType() - -Method in class com.google.inject.Key -
Gets the annotation type. -
getAnnotationType() - -Method in class com.google.inject.spi.ScopeBinding -
  -
getBinding(Key<T>) - -Method in interface com.google.inject.Injector -
Returns the binding for the given injection key. -
getBinding(Class<T>) - -Method in interface com.google.inject.Injector -
Returns the binding for the given type. -
getBindings() - -Method in interface com.google.inject.Injector -
Returns all explicit bindings. -
getCause() - -Method in class com.google.inject.spi.Message -
Returns the throwable that caused this message, or null if this - message was not caused by a throwable. -
getClassMatcher() - -Method in class com.google.inject.spi.InterceptorBinding -
  -
getConstructor() - -Method in interface com.google.inject.spi.ConstructorBinding -
Returns the annotated or default constructor that is invoked - for creating values. -
getDelegate() - -Method in class com.google.inject.spi.ProviderLookup -
Returns the delegate provider, or null if it has not yet been initialized. -
getDependencies() - -Method in interface com.google.inject.spi.ConvertedConstantBinding -
Returns a singleton set containing only the converted key. -
getDependencies() - -Method in interface com.google.inject.spi.HasDependencies -
Returns the known dependencies for this type. -
getDependencies() - -Method in class com.google.inject.spi.InjectionPoint -
Returns the dependencies for this injection point. -
getElements(Module...) - -Static method in class com.google.inject.spi.Elements -
Records the elements executed by modules. -
getElements(Stage, Module...) - -Static method in class com.google.inject.spi.Elements -
Records the elements executed by modules. -
getElements(Iterable<? extends Module>) - -Static method in class com.google.inject.spi.Elements -
Records the elements executed by modules. -
getElements(Stage, Iterable<? extends Module>) - -Static method in class com.google.inject.spi.Elements -
Records the elements executed by modules. -
getElements() - -Method in class com.google.inject.spi.PrivateEnvironment -
Returns the configuration information in this private environment. -
getErrorMessages() - -Method in exception com.google.inject.ConfigurationException -
Returns messages for the errors that caused this exception. -
getErrorMessages() - -Method in exception com.google.inject.CreationException -
Returns messages for the errors that caused this exception. -
getErrorMessages() - -Method in exception com.google.inject.ProvisionException -
Returns messages for the errors that caused this exception. -
getExceptionTypes(Member) - -Method in class com.google.inject.TypeLiteral -
Returns the resolved generic exception types thrown by constructor. -
getExposedKeys() - -Method in class com.google.inject.spi.PrivateEnvironment -
Returns the unique exposed keys for these private elements. -
getFieldType(Field) - -Method in class com.google.inject.TypeLiteral -
Returns the resolved generic type of field. -
getInjectionPoint() - -Method in class com.google.inject.spi.Dependency -
Returns the injection point to which this dependency belongs, or null if this dependency isn't - attached to a particular injection point. -
getInjectionPoints() - -Method in interface com.google.inject.spi.ConstructorBinding -
Returns the constructor, field and method injection points to create and populate a new - instance. -
getInjectionPoints() - -Method in interface com.google.inject.spi.InstanceBinding -
Returns the field and method injection points of the instance, injected at injector-creation - time only. -
getInjectionPoints() - -Method in interface com.google.inject.spi.ProviderInstanceBinding -
Returns the field and method injection points of the provider, injected at injector-creation - time only. -
getInjector() - -Method in class com.google.inject.servlet.GuiceServletContextListener -
Override this method to create (or otherwise obtain a reference to) your - injector. -
getInstance(Key<T>) - -Method in interface com.google.inject.Injector -
Returns the appropriate instance for the given injection key; equivalent to getProvider(key).get(). -
getInstance(Class<T>) - -Method in interface com.google.inject.Injector -
Returns the appropriate instance for the given injection type; equivalent to getProvider(type).get(). -
getInstance() - -Method in class com.google.inject.spi.InjectionRequest -
  -
getInstance() - -Method in interface com.google.inject.spi.InstanceBinding -
Returns the user-supplied instance. -
getInterceptors() - -Method in class com.google.inject.spi.InterceptorBinding -
  -
getKey() - -Method in interface com.google.inject.Binding -
Returns the key for this binding. -
getKey() - -Method in class com.google.inject.spi.Dependency -
Returns the key to the binding that satisfies this dependency. -
getKey() - -Method in class com.google.inject.spi.ProviderLookup -
  -
getKey() - -Method in interface com.google.inject.tools.jmx.ManagedBindingMBean -
Gets the binding key. -
getLinkedKey() - -Method in interface com.google.inject.spi.LinkedKeyBinding -
Returns the linked key used to resolve injections. -
getMember() - -Method in class com.google.inject.spi.InjectionPoint -
Returns the injected constructor, field, or method. -
getMessage() - -Method in exception com.google.inject.ConfigurationException -
  -
getMessage() - -Method in exception com.google.inject.CreationException -
  -
getMessage() - -Method in exception com.google.inject.ProvisionException -
  -
getMessage() - -Method in class com.google.inject.spi.Message -
Gets the error message text. -
getMethodMatcher() - -Method in class com.google.inject.spi.InterceptorBinding -
  -
getParameterIndex() - -Method in class com.google.inject.spi.Dependency -
Returns the index of this dependency in the injection point's parameter list, or -1 if - this dependency does not belong to a parameter list. -
getParameterTypes(Member) - -Method in class com.google.inject.TypeLiteral -
Returns the resolved generic parameter types of methodOrConstructor. -
getParent() - -Method in interface com.google.inject.Injector -
Returns this injector's parent, or null if this is a top-level injector. -
getPartialValue() - -Method in exception com.google.inject.ConfigurationException -
Returns a value that was only partially computed due to this exception. -
getPrivateBinder(PrivateEnvironment) - -Method in class com.google.inject.spi.ModuleWriter -
Returns the binder accociated with privateEnvironment. -
getPrivateEnvironment() - -Method in interface com.google.inject.spi.ExposedBinding -
Returns the enclosed environment that holds the original binding. -
getProvidedKey() - -Method in interface com.google.inject.spi.ProviderBinding -
Returns the key whose binding is used to provide instances. -
getProvider(Key<T>) - -Method in class com.google.inject.AbstractModule -
  -
getProvider(Class<T>) - -Method in class com.google.inject.AbstractModule -
  -
getProvider(Key<T>) - -Method in interface com.google.inject.Binder -
Returns the provider used to obtain instances for the given injection key. -
getProvider(Class<T>) - -Method in interface com.google.inject.Binder -
Returns the provider used to obtain instances for the given injection type. -
getProvider() - -Method in interface com.google.inject.Binding -
Returns the scoped provider guice uses to fulfill requests for this - binding. -
getProvider(Key<T>) - -Method in interface com.google.inject.Injector -
Returns the provider used to obtain instances for the given injection key. -
getProvider(Class<T>) - -Method in interface com.google.inject.Injector -
Returns the provider used to obtain instances for the given type. -
getProvider(Key<T>) - -Method in class com.google.inject.PrivateModule -
  -
getProvider(Class<T>) - -Method in class com.google.inject.PrivateModule -
  -
getProvider() - -Method in interface com.google.inject.tools.jmx.ManagedBindingMBean -
Gets the provider to which this binding is bound. -
getProviderInstance() - -Method in interface com.google.inject.spi.ProviderInstanceBinding -
Returns the user-supplied, unscoped provider. -
getProviderKey() - -Method in interface com.google.inject.spi.ProviderKeyBinding -
Returns the key used to resolve the provider's binding. -
getRawType() - -Method in class com.google.inject.TypeLiteral -
Returns the raw (non-generic) type for this type. -
getReturnType(Method) - -Method in class com.google.inject.TypeLiteral -
Returns the resolved generic return type of method. -
getScope() - -Method in class com.google.inject.spi.ScopeBinding -
  -
getSource() - -Method in interface com.google.inject.spi.Element -
Returns an arbitrary object containing information about the "place" where this element was - configured. -
getSource() - -Method in class com.google.inject.spi.InjectionRequest -
  -
getSource() - -Method in class com.google.inject.spi.InterceptorBinding -
  -
getSource() - -Method in class com.google.inject.spi.Message -
  -
getSource() - -Method in class com.google.inject.spi.PrivateEnvironment -
  -
getSource() - -Method in class com.google.inject.spi.ProviderLookup -
  -
getSource() - -Method in class com.google.inject.spi.ScopeBinding -
  -
getSource() - -Method in class com.google.inject.spi.StaticInjectionRequest -
  -
getSource() - -Method in class com.google.inject.spi.TypeConverterBinding -
  -
getSource() - -Method in interface com.google.inject.tools.jmx.ManagedBindingMBean -
Gets the source of this binding. -
getSources() - -Method in class com.google.inject.spi.Message -
  -
getSupertype(Class<?>) - -Method in class com.google.inject.TypeLiteral -
Returns the generic form of supertype. -
getType() - -Method in class com.google.inject.spi.StaticInjectionRequest -
  -
getType() - -Method in class com.google.inject.TypeLiteral -
Gets underlying Type instance. -
getTypeConverter() - -Method in class com.google.inject.spi.TypeConverterBinding -
  -
getTypeLiteral() - -Method in class com.google.inject.Key -
Gets the key type. -
getTypeMatcher() - -Method in class com.google.inject.spi.TypeConverterBinding -
  -
getValue() - -Method in interface com.google.inject.spi.ConvertedConstantBinding -
Returns the converted value. -
Guice - Class in com.google.inject
The entry point to the Guice framework.
GuiceFilter - Class in com.google.inject.servlet
- Apply this filter in web.xml above all other filters (typically), to all requests where you plan - to use servlet scopes.
GuiceFilter() - -Constructor for class com.google.inject.servlet.GuiceFilter -
  -
GuiceServletContextListener - Class in com.google.inject.servlet
As of Guice 2.0 you can still use (your subclasses of) GuiceServletContextListener - class as a logical place to create and configure your injector.
GuiceServletContextListener() - -Constructor for class com.google.inject.servlet.GuiceServletContextListener -
  -
-
-

-H

-
-
HasDependencies - Interface in com.google.inject.spi
Implemented by bindings, providers and instances that expose their dependencies explicitly.
hashCode() - -Method in class com.google.inject.Key -
  -
hashCode() - -Method in class com.google.inject.spi.Dependency -
  -
hashCode() - -Method in class com.google.inject.spi.InjectionPoint -
  -
hashCode() - -Method in class com.google.inject.spi.Message -
  -
hashCode() - -Method in class com.google.inject.TypeLiteral -
  -
-
-

-I

-
-
identicalTo(Object) - -Static method in class com.google.inject.matcher.Matchers -
Returns a matcher which matches only the given object. -
ImplementedBy - Annotation Type in com.google.inject
A pointer to the default implementation of a type.
in(Class<? extends Annotation>) - -Method in interface com.google.inject.binder.ScopedBindingBuilder -
See the EDSL examples at Binder. -
in(Scope) - -Method in interface com.google.inject.binder.ScopedBindingBuilder -
See the EDSL examples at Binder. -
init(FilterConfig) - -Method in class com.google.inject.servlet.GuiceFilter -
  -
initDelegate(Provider<T>) - -Method in class com.google.inject.spi.ProviderLookup -
  -
Inject - Annotation Type in com.google.inject
Annotates members of your implementation class (constructors, methods - and fields) into which the Injector should inject values.
InjectionPoint - Class in com.google.inject.spi
A constructor, field or method that can receive injections.
InjectionRequest - Class in com.google.inject.spi
A request to inject the instance fields and methods of an instance.
InjectionRequest(Object, Object) - -Constructor for class com.google.inject.spi.InjectionRequest -
  -
injectMembers(Object) - -Method in interface com.google.inject.Injector -
Injects dependencies into the fields and methods of instance. -
Injector - Interface in com.google.inject
Builds the graphs of objects that make up your application.
inPackage(Package) - -Static method in class com.google.inject.matcher.Matchers -
Returns a matcher which matches classes in the given package. -
install(Module) - -Method in class com.google.inject.AbstractModule -
  -
install(Module) - -Method in interface com.google.inject.Binder -
Uses the given module to configure more bindings. -
install(Module) - -Method in class com.google.inject.PrivateModule -
  -
InstanceBinding<T> - Interface in com.google.inject.spi
A binding to a single instance.
inSubpackage(String) - -Static method in class com.google.inject.matcher.Matchers -
Returns a matcher which matches classes in the given package and its subpackages. -
InterceptorBinding - Class in com.google.inject.spi
Registration of interceptors for matching methods of matching classes.
isNullable() - -Method in class com.google.inject.spi.Dependency -
Returns true if null is a legal value for this dependency. -
isOptional() - -Method in class com.google.inject.spi.InjectionPoint -
Returns true if this injection point shall be skipped if the injector cannot resolve bindings - for all required dependencies. -
-
-

-J

-
-
JndiIntegration - Class in com.google.inject.jndi
Integrates Guice with JNDI.
-
-

-K

-
-
Key<T> - Class in com.google.inject
Binding key consisting of an injection type and an optional annotation.
Key(Class<? extends Annotation>) - -Constructor for class com.google.inject.Key -
Constructs a new key. -
Key(Annotation) - -Constructor for class com.google.inject.Key -
Constructs a new key. -
Key() - -Constructor for class com.google.inject.Key -
Constructs a new key. -
-
-

-L

-
-
LinkedBindingBuilder<T> - Interface in com.google.inject.binder
See the EDSL examples at Binder.
LinkedKeyBinding<T> - Interface in com.google.inject.spi
A binding to a linked key.
listOf(Type) - -Static method in class com.google.inject.util.Types -
Returns a type modelling a List whose elements are of type - elementType. -
-
-

-M

-
-
main(String[]) - -Static method in class com.google.inject.tools.jmx.Manager -
Run with no arguments for usage instructions. -
manage(String, Injector) - -Static method in class com.google.inject.tools.jmx.Manager -
Registers all the bindings of an Injector with the platform MBean server. -
manage(MBeanServer, String, Injector) - -Static method in class com.google.inject.tools.jmx.Manager -
Registers all the bindings of an Injector with the given MBean server. -
ManagedBindingMBean - Interface in com.google.inject.tools.jmx
JMX interface to bindings.
Manager - Class in com.google.inject.tools.jmx
Provides a JMX interface to Guice.
Manager() - -Constructor for class com.google.inject.tools.jmx.Manager -
  -
MapBinder<K,V> - Class in com.google.inject.multibindings
An API to bind multiple map entries separately, only to later inject them as - a complete map.
mapOf(Type, Type) - -Static method in class com.google.inject.util.Types -
Returns a type modelling a Map whose keys are of type - keyType and whose values are of type valueType. -
Matcher<T> - Interface in com.google.inject.matcher
Returns true or false for a given input.
Matchers - Class in com.google.inject.matcher
Matcher implementations.
matches(T) - -Method in interface com.google.inject.matcher.Matcher -
Returns true if this matches t, false otherwise. -
Message - Class in com.google.inject.spi
An error message and the context in which it occured.
Message(List<Object>, String, Throwable) - -Constructor for class com.google.inject.spi.Message -
  -
Message(Object, String) - -Constructor for class com.google.inject.spi.Message -
  -
Message(String) - -Constructor for class com.google.inject.spi.Message -
  -
Module - Interface in com.google.inject
A module contributes configuration information, typically interface - bindings, which will be used to create an Injector.
Modules - Class in com.google.inject.util
Static utility methods for creating and working with instances of Module.
Modules.OverriddenModuleBuilder - Interface in com.google.inject.util
See the EDSL example at override().
ModuleWriter - Class in com.google.inject.spi
Creates a Module from a collection of component elements.
ModuleWriter() - -Constructor for class com.google.inject.spi.ModuleWriter -
  -
Multibinder<T> - Class in com.google.inject.multibindings
An API to bind multiple values separately, only to later inject them as a - complete collection.
-
-

-N

-
-
Named - Annotation Type in com.google.inject.name
Annotates named things.
named(String) - -Static method in class com.google.inject.name.Names -
Creates a Named annotation with name as the value. -
Names - Class in com.google.inject.name
Utility methods for use with @Named.
newFactory(Class<F>, Class<?>) - -Static method in class com.google.inject.assistedinject.FactoryProvider -
  -
newMapBinder(Binder, TypeLiteral<K>, TypeLiteral<V>) - -Static method in class com.google.inject.multibindings.MapBinder -
Returns a new mapbinder that collects entries of keyType/valueType in a - Map that is itself bound with no binding annotation. -
newMapBinder(Binder, Class<K>, Class<V>) - -Static method in class com.google.inject.multibindings.MapBinder -
Returns a new mapbinder that collects entries of keyType/valueType in a - Map that is itself bound with no binding annotation. -
newMapBinder(Binder, TypeLiteral<K>, TypeLiteral<V>, Annotation) - -Static method in class com.google.inject.multibindings.MapBinder -
Returns a new mapbinder that collects entries of keyType/valueType in a - Map that is itself bound with annotation. -
newMapBinder(Binder, Class<K>, Class<V>, Annotation) - -Static method in class com.google.inject.multibindings.MapBinder -
Returns a new mapbinder that collects entries of keyType/valueType in a - Map that is itself bound with annotation. -
newMapBinder(Binder, TypeLiteral<K>, TypeLiteral<V>, Class<? extends Annotation>) - -Static method in class com.google.inject.multibindings.MapBinder -
Returns a new mapbinder that collects entries of keyType/valueType in a - Map that is itself bound with annotationType. -
newMapBinder(Binder, Class<K>, Class<V>, Class<? extends Annotation>) - -Static method in class com.google.inject.multibindings.MapBinder -
Returns a new mapbinder that collects entries of keyType/valueType in a - Map that is itself bound with annotationType. -
newParameterizedType(Type, Type...) - -Static method in class com.google.inject.util.Types -
Returns a new parameterized type, applying typeArguments to - rawType. -
newParameterizedTypeWithOwner(Type, Type, Type...) - -Static method in class com.google.inject.util.Types -
Returns a new parameterized type, applying typeArguments to - rawType and enclosed by ownerType. -
newPrivateBinder() - -Method in interface com.google.inject.Binder -
Creates a new private child environment for bindings and other configuration. -
newSetBinder(Binder, TypeLiteral<T>) - -Static method in class com.google.inject.multibindings.Multibinder -
Returns a new multibinder that collects instances of type in a Set that is - itself bound with no binding annotation. -
newSetBinder(Binder, Class<T>) - -Static method in class com.google.inject.multibindings.Multibinder -
Returns a new multibinder that collects instances of type in a Set that is - itself bound with no binding annotation. -
newSetBinder(Binder, TypeLiteral<T>, Annotation) - -Static method in class com.google.inject.multibindings.Multibinder -
Returns a new multibinder that collects instances of type in a Set that is - itself bound with annotation. -
newSetBinder(Binder, Class<T>, Annotation) - -Static method in class com.google.inject.multibindings.Multibinder -
Returns a new multibinder that collects instances of type in a Set that is - itself bound with annotation. -
newSetBinder(Binder, TypeLiteral<T>, Class<? extends Annotation>) - -Static method in class com.google.inject.multibindings.Multibinder -
Returns a new multibinder that collects instances of type in a Set that is - itself bound with annotationType. -
newSetBinder(Binder, Class<T>, Class<? extends Annotation>) - -Static method in class com.google.inject.multibindings.Multibinder -
Returns a new multibinder that collects instances of type in a Set that is - itself bound with annotationType. -
NO_SCOPE - -Static variable in class com.google.inject.Scopes -
No scope; the same as not applying any scope at all. -
not(Matcher<? super T>) - -Static method in class com.google.inject.matcher.Matchers -
Inverts the given matcher. -
-
-

-O

-
-
of(T) - -Static method in class com.google.inject.util.Providers -
Returns a provider which always provides instance. -
only(Object) - -Static method in class com.google.inject.matcher.Matchers -
Returns a matcher which matches objects equal to the given object. -
or(Matcher<? super T>) - -Method in class com.google.inject.matcher.AbstractMatcher -
  -
or(Matcher<? super T>) - -Method in interface com.google.inject.matcher.Matcher -
Returns a new matcher which returns true if either this or the - given matcher return true. -
OutOfScopeException - Exception in com.google.inject
Thrown from Provider.get() when an attempt is made to access a scoped - object while the scope in question is not currently active.
OutOfScopeException(String) - -Constructor for exception com.google.inject.OutOfScopeException -
  -
OutOfScopeException(String, Throwable) - -Constructor for exception com.google.inject.OutOfScopeException -
  -
OutOfScopeException(Throwable) - -Constructor for exception com.google.inject.OutOfScopeException -
  -
override(Module...) - -Static method in class com.google.inject.util.Modules -
Returns a builder that creates a module that overlays override modules over the given - modules. -
override(Iterable<? extends Module>) - -Static method in class com.google.inject.util.Modules -
Returns a builder that creates a module that overlays override modules over the given - modules. -
-
-

-P

-
-
PrivateBinder - Interface in com.google.inject.binder
Returns a binder whose configuration information is hidden from its environment by default.
PrivateEnvironment - Class in com.google.inject.spi
A private environment whose configuration information is hidden from the enclosing environment - by default.
PrivateModule - Class in com.google.inject
A module whose configuration information is hidden from its environment by default.
PrivateModule() - -Constructor for class com.google.inject.PrivateModule -
  -
ProvidedBy - Annotation Type in com.google.inject
A pointer to the default provider type for a type.
Provider<T> - Interface in com.google.inject
An object capable of providing instances of type T.
ProviderBinding<T> - Interface in com.google.inject.spi
A binding to a Provider that delegates to the binding for the provided type.
ProviderInstanceBinding<T> - Interface in com.google.inject.spi
A binding to a provider instance.
ProviderKeyBinding<T> - Interface in com.google.inject.spi
A binding to a provider key.
ProviderLookup<T> - Class in com.google.inject.spi
A lookup of the provider for a type.
providerOf(Type) - -Static method in class com.google.inject.util.Types -
Returns a type modelling a Provider that provides elements of type - elementType. -
Providers - Class in com.google.inject.util
Static utility methods for creating and working with instances of - Provider.
ProviderWithDependencies<T> - Interface in com.google.inject.spi
A provider with dependencies on other injected types.
Provides - Annotation Type in com.google.inject
Annotates methods of a Module to create a provider method binding.
ProvisionException - Exception in com.google.inject
Indicates that there was a runtime failure while providing an instance.
ProvisionException(Iterable<Message>) - -Constructor for exception com.google.inject.ProvisionException -
Creates a ConfigurationException containing messages. -
ProvisionException(String, Throwable) - -Constructor for exception com.google.inject.ProvisionException -
  -
ProvisionException(String) - -Constructor for exception com.google.inject.ProvisionException -
  -
-
-

-R

-
-
REQUEST - -Static variable in class com.google.inject.servlet.ServletScopes -
HTTP servlet request scope. -
requestInjection(Object...) - -Method in class com.google.inject.AbstractModule -
  -
requestInjection(Object...) - -Method in interface com.google.inject.Binder -
Upon successful creation, the Injector will inject instance fields - and methods of the given objects. -
requestInjection(Object...) - -Method in class com.google.inject.PrivateModule -
  -
RequestParameters - Annotation Type in com.google.inject.servlet
Apply this to field or parameters of type Map<String, String[]> - when you want the HTTP request parameter map to be injected.
RequestScoped - Annotation Type in com.google.inject.servlet
Apply this to implementation classes when you want one instance per request.
requestStaticInjection(Class<?>...) - -Method in class com.google.inject.AbstractModule -
  -
requestStaticInjection(Class<?>...) - -Method in interface com.google.inject.Binder -
Upon successful creation, the Injector will inject static fields - and methods in the given classes. -
requestStaticInjection(Class<?>...) - -Method in class com.google.inject.PrivateModule -
  -
requireBinding(Key<?>) - -Method in class com.google.inject.AbstractModule -
Adds a dependency from this module to key. -
requireBinding(Class<?>) - -Method in class com.google.inject.AbstractModule -
Adds a dependency from this module to type. -
requireBinding(Key<?>) - -Method in class com.google.inject.PrivateModule -
  -
requireBinding(Class<?>) - -Method in class com.google.inject.PrivateModule -
  -
returns(Matcher<? super Class<?>>) - -Static method in class com.google.inject.matcher.Matchers -
Returns a matcher which matches methods with matching return types. -
-
-

-S

-
-
Scope - Interface in com.google.inject
A scope is a level of visibility that instances provided by Guice may have.
scope(Key<T>, Provider<T>) - -Method in interface com.google.inject.Scope -
Scopes a provider. -
ScopeAnnotation - Annotation Type in com.google.inject
Annotates annotations which are used for scoping.
ScopeBinding - Class in com.google.inject.spi
Registration of a scope annotation with the scope that implements it.
ScopedBindingBuilder - Interface in com.google.inject.binder
See the EDSL examples at Binder.
Scopes - Class in com.google.inject
Built-in scope implementations.
serve(String, String...) - -Method in class com.google.inject.servlet.ServletModule -
  -
serveRegex(String, String...) - -Method in class com.google.inject.servlet.ServletModule -
  -
ServletModule - Class in com.google.inject.servlet
Configures the servlet scopes and creates bindings for the servlet API - objects so you can inject the request, response, session, etc.
ServletModule() - -Constructor for class com.google.inject.servlet.ServletModule -
  -
ServletModule.FilterKeyBindingBuilder - Interface in com.google.inject.servlet
 
ServletModule.ServletKeyBindingBuilder - Interface in com.google.inject.servlet
 
ServletScopes - Class in com.google.inject.servlet
Servlet scopes.
SESSION - -Static variable in class com.google.inject.servlet.ServletScopes -
HTTP session scope. -
SessionScoped - Annotation Type in com.google.inject.servlet
Apply this to implementation classes when you want one instance per session.
setOf(Type) - -Static method in class com.google.inject.util.Types -
Returns a type modelling a Set whose elements are of type - elementType. -
setPrivateBinder(PrivateEnvironment, PrivateBinder) - -Method in class com.google.inject.spi.ModuleWriter -
Associates binder with privateEnvironment. -
SINGLETON - -Static variable in class com.google.inject.Scopes -
One instance per Injector. -
Singleton - Annotation Type in com.google.inject
Apply this to implementation classes when you want only one instance - (per Injector) to be reused for all injections for that binding.
skipSources(Class...) - -Method in interface com.google.inject.binder.PrivateBinder -
  -
skipSources(Class...) - -Method in interface com.google.inject.Binder -
Returns a binder that skips classesToSkip when identify the - calling code. -
SpringIntegration - Class in com.google.inject.spring
Integrates Guice with Spring.
Stage - Enum in com.google.inject
The stage we're running in.
StaticInjectionRequest - Class in com.google.inject.spi
A request to inject the static fields and methods of type.
subclassesOf(Class<?>) - -Static method in class com.google.inject.matcher.Matchers -
Returns a matcher which matches subclasses of the given type (as well as - the given type). -
subtypeOf(Type) - -Static method in class com.google.inject.util.Types -
Returns a type that represents an unknown type that extends bound. -
supertypeOf(Type) - -Static method in class com.google.inject.util.Types -
Returns a type that represents an unknown supertype of bound. -
-
-

-T

-
-
through(Class<? extends Filter>) - -Method in interface com.google.inject.servlet.ServletModule.FilterKeyBindingBuilder -
  -
through(Key<? extends Filter>) - -Method in interface com.google.inject.servlet.ServletModule.FilterKeyBindingBuilder -
  -
through(Class<? extends Filter>, Map<String, String>) - -Method in interface com.google.inject.servlet.ServletModule.FilterKeyBindingBuilder -
  -
through(Key<? extends Filter>, Map<String, String>) - -Method in interface com.google.inject.servlet.ServletModule.FilterKeyBindingBuilder -
  -
ThrowingProvider<T,E extends Exception> - Interface in com.google.inject.throwingproviders
Alternative to the Guice Provider that throws - a checked Exception.
ThrowingProviderBinder - Class in com.google.inject.throwingproviders
Builds a binding for an ThrowingProvider using a fluent API:
ThrowingProviderBinder.SecondaryBinder<P extends ThrowingProvider> - Class in com.google.inject.throwingproviders
 
ThrowingProviderBinder.SecondaryBinder(Class<P>, Type) - -Constructor for class com.google.inject.throwingproviders.ThrowingProviderBinder.SecondaryBinder -
  -
to(String) - -Method in interface com.google.inject.binder.ConstantBindingBuilder -
Binds constant to the given value. -
to(int) - -Method in interface com.google.inject.binder.ConstantBindingBuilder -
Binds constant to the given value. -
to(long) - -Method in interface com.google.inject.binder.ConstantBindingBuilder -
Binds constant to the given value. -
to(boolean) - -Method in interface com.google.inject.binder.ConstantBindingBuilder -
Binds constant to the given value. -
to(double) - -Method in interface com.google.inject.binder.ConstantBindingBuilder -
Binds constant to the given value. -
to(float) - -Method in interface com.google.inject.binder.ConstantBindingBuilder -
Binds constant to the given value. -
to(short) - -Method in interface com.google.inject.binder.ConstantBindingBuilder -
Binds constant to the given value. -
to(char) - -Method in interface com.google.inject.binder.ConstantBindingBuilder -
Binds constant to the given value. -
to(Class<?>) - -Method in interface com.google.inject.binder.ConstantBindingBuilder -
Binds constant to the given value. -
to(E) - -Method in interface com.google.inject.binder.ConstantBindingBuilder -
Binds constant to the given value. -
to(Class<? extends T>) - -Method in interface com.google.inject.binder.LinkedBindingBuilder -
See the EDSL examples at Binder. -
to(TypeLiteral<? extends T>) - -Method in interface com.google.inject.binder.LinkedBindingBuilder -
See the EDSL examples at Binder. -
to(Key<? extends T>) - -Method in interface com.google.inject.binder.LinkedBindingBuilder -
See the EDSL examples at Binder. -
to(P) - -Method in class com.google.inject.throwingproviders.ThrowingProviderBinder.SecondaryBinder -
  -
to(Class<? extends P>) - -Method in class com.google.inject.throwingproviders.ThrowingProviderBinder.SecondaryBinder -
  -
to(Key<? extends P>) - -Method in class com.google.inject.throwingproviders.ThrowingProviderBinder.SecondaryBinder -
  -
toInstance(T) - -Method in interface com.google.inject.binder.LinkedBindingBuilder -
See the EDSL examples at Binder. -
toProvider(Provider<? extends T>) - -Method in interface com.google.inject.binder.LinkedBindingBuilder -
See the EDSL examples at Binder. -
toProvider(Class<? extends Provider<? extends T>>) - -Method in interface com.google.inject.binder.LinkedBindingBuilder -
See the EDSL examples at Binder. -
toProvider(Key<? extends Provider<? extends T>>) - -Method in interface com.google.inject.binder.LinkedBindingBuilder -
See the EDSL examples at Binder. -
toString() - -Method in class com.google.inject.Key -
  -
toString() - -Method in interface com.google.inject.Scope -
A short but useful description of this scope. -
toString() - -Method in class com.google.inject.spi.Dependency -
  -
toString() - -Method in class com.google.inject.spi.InjectionPoint -
  -
toString() - -Method in class com.google.inject.spi.Message -
  -
toString() - -Method in class com.google.inject.TypeLiteral -
  -
TypeConverter - Interface in com.google.inject.spi
Converts constant string values to a different type.
TypeConverterBinding - Class in com.google.inject.spi
Registration of type converters for matching target types.
TypeLiteral<T> - Class in com.google.inject
Represents a generic type T.
TypeLiteral() - -Constructor for class com.google.inject.TypeLiteral -
Constructs a new type literal. -
Types - Class in com.google.inject.util
Static methods for working with types.
-
-

-U

-
-
UntargettedBinding<T> - Interface in com.google.inject.spi
An untargetted binding.
-
-

-V

-
-
valueOf(String) - -Static method in enum com.google.inject.Stage -
Returns the enum constant of this type with the specified name. -
values() - -Static method in enum com.google.inject.Stage -
Returns an array containing the constants of this enum type, in -the order they are declared. -
visitBinding(Binding<T>) - -Method in class com.google.inject.spi.DefaultElementVisitor -
  -
visitBinding(Binding<T>) - -Method in interface com.google.inject.spi.ElementVisitor -
Visit a mapping from a key (type and optional annotation) to the strategy for getting - instances of the type. -
visitConstructor(ConstructorBinding<T>) - -Method in interface com.google.inject.spi.BindingTargetVisitor -
Visit a constructor binding. -
visitConstructor(ConstructorBinding<T>) - -Method in class com.google.inject.spi.DefaultBindingTargetVisitor -
  -
visitConvertedConstant(ConvertedConstantBinding<T>) - -Method in interface com.google.inject.spi.BindingTargetVisitor -
Visit a binding created from converting a bound instance to a new type. -
visitConvertedConstant(ConvertedConstantBinding<T>) - -Method in class com.google.inject.spi.DefaultBindingTargetVisitor -
  -
visitEagerSingleton() - -Method in interface com.google.inject.spi.BindingScopingVisitor -
Visit an eager singleton or single instance. -
visitEagerSingleton() - -Method in class com.google.inject.spi.DefaultBindingScopingVisitor -
  -
visitElement(Element) - -Method in class com.google.inject.spi.DefaultElementVisitor -
Visit element and return a result. -
visitExposed(ExposedBinding<T>) - -Method in interface com.google.inject.spi.BindingTargetVisitor -
Visit a binding to a key exposed from an enclosed private environment. -
visitExposed(ExposedBinding<T>) - -Method in class com.google.inject.spi.DefaultBindingTargetVisitor -
  -
visitInjectionRequest(InjectionRequest) - -Method in class com.google.inject.spi.DefaultElementVisitor -
  -
visitInjectionRequest(InjectionRequest) - -Method in interface com.google.inject.spi.ElementVisitor -
Visit a request to inject the instance fields and methods of an instance. -
visitInstance(InstanceBinding<T>) - -Method in interface com.google.inject.spi.BindingTargetVisitor -
Visit a instance binding. -
visitInstance(InstanceBinding<T>) - -Method in class com.google.inject.spi.DefaultBindingTargetVisitor -
  -
visitInterceptorBinding(InterceptorBinding) - -Method in class com.google.inject.spi.DefaultElementVisitor -
  -
visitInterceptorBinding(InterceptorBinding) - -Method in interface com.google.inject.spi.ElementVisitor -
Visit a registration of interceptors for matching methods of matching classes. -
visitLinkedKey(LinkedKeyBinding<T>) - -Method in interface com.google.inject.spi.BindingTargetVisitor -
Visit a linked key binding. -
visitLinkedKey(LinkedKeyBinding<T>) - -Method in class com.google.inject.spi.DefaultBindingTargetVisitor -
  -
visitMessage(Message) - -Method in class com.google.inject.spi.DefaultElementVisitor -
  -
visitMessage(Message) - -Method in interface com.google.inject.spi.ElementVisitor -
Visit an error message and the context in which it occured. -
visitNoScoping() - -Method in interface com.google.inject.spi.BindingScopingVisitor -
Visit an unspecified or unscoped strategy. -
visitNoScoping() - -Method in class com.google.inject.spi.DefaultBindingScopingVisitor -
  -
visitOther() - -Method in class com.google.inject.spi.DefaultBindingScopingVisitor -
  -
visitOther(Binding<T>) - -Method in class com.google.inject.spi.DefaultBindingTargetVisitor -
  -
visitPrivateEnvironment(PrivateEnvironment) - -Method in class com.google.inject.spi.DefaultElementVisitor -
  -
visitPrivateEnvironment(PrivateEnvironment) - -Method in interface com.google.inject.spi.ElementVisitor -
Visit a collection of configuration elements for a private environment. -
visitProviderBinding(ProviderBinding<?>) - -Method in interface com.google.inject.spi.BindingTargetVisitor -
Visit a binding to a Provider that delegates to the binding for the - provided type. -
visitProviderBinding(ProviderBinding<?>) - -Method in class com.google.inject.spi.DefaultBindingTargetVisitor -
  -
visitProviderInstance(ProviderInstanceBinding<T>) - -Method in interface com.google.inject.spi.BindingTargetVisitor -
Visit a provider instance binding. -
visitProviderInstance(ProviderInstanceBinding<T>) - -Method in class com.google.inject.spi.DefaultBindingTargetVisitor -
  -
visitProviderKey(ProviderKeyBinding<T>) - -Method in interface com.google.inject.spi.BindingTargetVisitor -
Visit a provider key binding. -
visitProviderKey(ProviderKeyBinding<T>) - -Method in class com.google.inject.spi.DefaultBindingTargetVisitor -
  -
visitProviderLookup(ProviderLookup<T>) - -Method in class com.google.inject.spi.DefaultElementVisitor -
  -
visitProviderLookup(ProviderLookup<T>) - -Method in interface com.google.inject.spi.ElementVisitor -
Visit a lookup of the provider for a type. -
visitScope(Scope) - -Method in interface com.google.inject.spi.BindingScopingVisitor -
Visit a scope instance. -
visitScope(Scope) - -Method in class com.google.inject.spi.DefaultBindingScopingVisitor -
  -
visitScopeAnnotation(Class<? extends Annotation>) - -Method in interface com.google.inject.spi.BindingScopingVisitor -
Visit a scope annotation. -
visitScopeAnnotation(Class<? extends Annotation>) - -Method in class com.google.inject.spi.DefaultBindingScopingVisitor -
  -
visitScopeBinding(ScopeBinding) - -Method in class com.google.inject.spi.DefaultElementVisitor -
  -
visitScopeBinding(ScopeBinding) - -Method in interface com.google.inject.spi.ElementVisitor -
Visit a registration of a scope annotation with the scope that implements it. -
visitStaticInjectionRequest(StaticInjectionRequest) - -Method in class com.google.inject.spi.DefaultElementVisitor -
  -
visitStaticInjectionRequest(StaticInjectionRequest) - -Method in interface com.google.inject.spi.ElementVisitor -
Visit a request to inject the static fields and methods of type. -
visitTypeConverterBinding(TypeConverterBinding) - -Method in class com.google.inject.spi.DefaultElementVisitor -
  -
visitTypeConverterBinding(TypeConverterBinding) - -Method in interface com.google.inject.spi.ElementVisitor -
Visit a registration of type converters for matching target types. -
visitUntargetted(UntargettedBinding<T>) - -Method in interface com.google.inject.spi.BindingTargetVisitor -
Visit an untargetted binding. -
visitUntargetted(UntargettedBinding<T>) - -Method in class com.google.inject.spi.DefaultBindingTargetVisitor -
  -
-
-

-W

-
-
with(Class<? extends HttpServlet>) - -Method in interface com.google.inject.servlet.ServletModule.ServletKeyBindingBuilder -
  -
with(Key<? extends HttpServlet>) - -Method in interface com.google.inject.servlet.ServletModule.ServletKeyBindingBuilder -
  -
with(Class<? extends HttpServlet>, Map<String, String>) - -Method in interface com.google.inject.servlet.ServletModule.ServletKeyBindingBuilder -
  -
with(Key<? extends HttpServlet>, Map<String, String>) - -Method in interface com.google.inject.servlet.ServletModule.ServletKeyBindingBuilder -
  -
with(Module...) - -Method in interface com.google.inject.util.Modules.OverriddenModuleBuilder -
See the EDSL example at override(). -
with(Iterable<? extends Module>) - -Method in interface com.google.inject.util.Modules.OverriddenModuleBuilder -
See the EDSL example at override(). -
withPartialValue(Object) - -Method in exception com.google.inject.ConfigurationException -
Returns a copy of this configuration exception with the specified partial value. -
withSource(Object) - -Method in interface com.google.inject.binder.PrivateBinder -
  -
withSource(Object) - -Method in interface com.google.inject.Binder -
Returns a binder that uses source as the reference location for - configuration errors. -
writeBind(Binder, Binding<T>) - -Method in class com.google.inject.spi.ModuleWriter -
  -
writeBindInterceptor(Binder, InterceptorBinding) - -Method in class com.google.inject.spi.ModuleWriter -
  -
writeBindScope(Binder, ScopeBinding) - -Method in class com.google.inject.spi.ModuleWriter -
  -
writeConvertToTypes(Binder, TypeConverterBinding) - -Method in class com.google.inject.spi.ModuleWriter -
  -
writeGetProvider(Binder, ProviderLookup<T>) - -Method in class com.google.inject.spi.ModuleWriter -
  -
writeMessage(Binder, Message) - -Method in class com.google.inject.spi.ModuleWriter -
  -
writePrivateElements(Binder, PrivateEnvironment) - -Method in class com.google.inject.spi.ModuleWriter -
Writes the elements of the private environment to a new private binder and associates the two. -
writeReplace() - -Method in class com.google.inject.Key -
  -
writeRequestInjection(Binder, InjectionRequest) - -Method in class com.google.inject.spi.ModuleWriter -
  -
writeRequestStaticInjection(Binder, StaticInjectionRequest) - -Method in class com.google.inject.spi.ModuleWriter -
  -
-
-A B C D E F G H I J K L M N O P R S T U V W - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/index.html b/latest-javadoc/index.html deleted file mode 100644 index 62cab1af..00000000 --- a/latest-javadoc/index.html +++ /dev/null @@ -1,39 +0,0 @@ - - - - - - -Guice 1.0 API - - - - - - - - - - - -<H2> -Frame Alert</H2> - -<P> -This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. -<BR> -Link to<A HREF="overview-summary.html">Non-frame version.</A> - - - diff --git a/latest-javadoc/overview-frame.html b/latest-javadoc/overview-frame.html deleted file mode 100644 index 55702bc9..00000000 --- a/latest-javadoc/overview-frame.html +++ /dev/null @@ -1,66 +0,0 @@ - - - - - - -Overview List (Guice 1.0 API) - - - - - - - - - - - - - - - -
-
- - - - - -
All Classes -

- -Packages -
-com.google.inject -
-com.google.inject.assistedinject -
-com.google.inject.binder -
-com.google.inject.jndi -
-com.google.inject.matcher -
-com.google.inject.multibindings -
-com.google.inject.name -
-com.google.inject.servlet -
-com.google.inject.spi -
-com.google.inject.spring -
-com.google.inject.throwingproviders -
-com.google.inject.tools.jmx -
-com.google.inject.util -
-

- -

-  - - diff --git a/latest-javadoc/overview-summary.html b/latest-javadoc/overview-summary.html deleted file mode 100644 index adffe907..00000000 --- a/latest-javadoc/overview-summary.html +++ /dev/null @@ -1,199 +0,0 @@ - - - - - - -Overview (Guice 1.0 API) - - - - - - - - - - - - -


- - - - - - - - - - - - - - - -
- -
- - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Packages
com.google.injectGoogle Guice (pronounced "juice") is an ultra-lightweight dependency - injection framework.
com.google.inject.assistedinjectExtension for combining factory interfaces with injection.
com.google.inject.binderInterfaces which make up Binder's - expression language.
com.google.inject.jndiJNDI integration
com.google.inject.matcherUsed for matching things.
com.google.inject.multibindingsExtension for binding multiple instances in a collection.
com.google.inject.nameSupport for binding to string-based names.
com.google.inject.servletServlet API scopes and bindings.
com.google.inject.spiGuice service provider interface
com.google.inject.springSpring integration
com.google.inject.throwingprovidersExtension for injecting objects that may throw at provision time.
com.google.inject.tools.jmxJMX integration
com.google.inject.util 
- -


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/overview-tree.html b/latest-javadoc/overview-tree.html deleted file mode 100644 index 16fe8152..00000000 --- a/latest-javadoc/overview-tree.html +++ /dev/null @@ -1,244 +0,0 @@ - - - - - - -Class Hierarchy (Guice 1.0 API) - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Hierarchy For All Packages

-
-
-
Package Hierarchies:
com.google.inject, com.google.inject.assistedinject, com.google.inject.binder, com.google.inject.jndi, com.google.inject.matcher, com.google.inject.multibindings, com.google.inject.name, com.google.inject.servlet, com.google.inject.spi, com.google.inject.spring, com.google.inject.throwingproviders, com.google.inject.tools.jmx, com.google.inject.util
-
-

-Class Hierarchy -

- -

-Interface Hierarchy -

- -

-Annotation Type Hierarchy -

- -

-Enum Hierarchy -

- -
- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/package-list b/latest-javadoc/package-list deleted file mode 100644 index 20926308..00000000 --- a/latest-javadoc/package-list +++ /dev/null @@ -1,13 +0,0 @@ -com.google.inject -com.google.inject.assistedinject -com.google.inject.binder -com.google.inject.jndi -com.google.inject.matcher -com.google.inject.multibindings -com.google.inject.name -com.google.inject.servlet -com.google.inject.spi -com.google.inject.spring -com.google.inject.throwingproviders -com.google.inject.tools.jmx -com.google.inject.util diff --git a/latest-javadoc/resources/inherit.gif b/latest-javadoc/resources/inherit.gif deleted file mode 100644 index c814867a..00000000 Binary files a/latest-javadoc/resources/inherit.gif and /dev/null differ diff --git a/latest-javadoc/serialized-form.html b/latest-javadoc/serialized-form.html deleted file mode 100644 index 388ac096..00000000 --- a/latest-javadoc/serialized-form.html +++ /dev/null @@ -1,517 +0,0 @@ - - - - - - -Serialized Form (Guice 1.0 API) - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Serialized Form

-
-
- - - - - -
-Package com.google.inject
- -

- - - - - -
-Class com.google.inject.ConfigurationException extends RuntimeException implements Serializable
- -

-serialVersionUID: 0L - -

- - - - - -
-Serialized Fields
- -

-messages

-
-com.google.common.collect.ImmutableSet<E> messages
-
-
-
-
-
-

-partialValue

-
-Object partialValue
-
-
-
-
- -

- - - - - -
-Class com.google.inject.CreationException extends RuntimeException implements Serializable
- -

-serialVersionUID: 0L - -

- - - - - -
-Serialized Fields
- -

-messages

-
-com.google.common.collect.ImmutableSet<E> messages
-
-
-
-
- -

- - - - - -
-Class com.google.inject.Key extends Object implements Serializable
- -

- - - - - -
-Serialization Methods
- -

-

-readObject

-
-private void readObject(ObjectInputStream stream)
-                 throws InvalidObjectException
-
-
- -
Throws: -
InvalidObjectException
-
-
-
-

-writeReplace

-
-protected final Object writeReplace()
-
-
-
Since:
-
2.0
-
-
- - - - - - -
-Serialized Fields
- -

-annotationStrategy

-
-com.google.inject.Key.AnnotationStrategy annotationStrategy
-
-
-
-
-
-

-typeLiteral

-
-TypeLiteral<T> typeLiteral
-
-
-
-
-
-

-hashCode

-
-int hashCode
-
-
-
-
- -

- - - - - -
-Class com.google.inject.OutOfScopeException extends RuntimeException implements Serializable
- -

- -

- - - - - -
-Class com.google.inject.ProvisionException extends RuntimeException implements Serializable
- -

-serialVersionUID: 0L - -

- - - - - -
-Serialized Fields
- -

-messages

-
-com.google.common.collect.ImmutableSet<E> messages
-
-
-
-
-
- - - - - -
-Package com.google.inject.spi
- -

- - - - - -
-Class com.google.inject.spi.Dependency extends Object implements Serializable
- -

-serialVersionUID: 0L - -

- - - - - -
-Serialized Fields
- -

-injectionPoint

-
-InjectionPoint injectionPoint
-
-
-
-
-
-

-key

-
-Key<T> key
-
-
-
-
-
-

-nullable

-
-boolean nullable
-
-
-
-
-
-

-parameterIndex

-
-int parameterIndex
-
-
-
-
- -

- - - - - -
-Class com.google.inject.spi.InjectionPoint extends Object implements Serializable
- -

-serialVersionUID: 0L - -

- - - - - -
-Serialization Methods
- -

-

-writeReplace

-
-private Object writeReplace()
-                     throws ObjectStreamException
-
-
- -
Throws: -
ObjectStreamException
-
-
- - - - - -
-Serialized Fields
- -

-optional

-
-boolean optional
-
-
-
-
-
-

-member

-
-Member member
-
-
-
-
-
-

-dependencies

-
-com.google.common.collect.ImmutableList<E> dependencies
-
-
-
-
- -

- - - - - -
-Class com.google.inject.spi.Message extends Object implements Serializable
- -

- - - - - -
-Serialized Fields
- -

-message

-
-String message
-
-
-
-
-
-

-cause

-
-Throwable cause
-
-
-
-
-
-

-sources

-
-List<E> sources
-
-
-
-
- -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/stylesheet.css b/latest-javadoc/stylesheet.css deleted file mode 100644 index 6ea9e516..00000000 --- a/latest-javadoc/stylesheet.css +++ /dev/null @@ -1,29 +0,0 @@ -/* Javadoc style sheet */ - -/* Define colors, fonts and other style attributes here to override the defaults */ - -/* Page background color */ -body { background-color: #FFFFFF; color:#000000 } - -/* Headings */ -h1 { font-size: 145% } - -/* Table colors */ -.TableHeadingColor { background: #CCCCFF; color:#000000 } /* Dark mauve */ -.TableSubHeadingColor { background: #EEEEFF; color:#000000 } /* Light mauve */ -.TableRowColor { background: #FFFFFF; color:#000000 } /* White */ - -/* Font used in left-hand frame lists */ -.FrameTitleFont { font-size: 100%; font-family: Helvetica, Arial, sans-serif; color:#000000 } -.FrameHeadingFont { font-size: 90%; font-family: Helvetica, Arial, sans-serif; color:#000000 } -.FrameItemFont { font-size: 90%; font-family: Helvetica, Arial, sans-serif; color:#000000 } - -/* Navigation bar fonts and colors */ -.NavBarCell1 { background-color:#EEEEFF; color:#000000} /* Light mauve */ -.NavBarCell1Rev { background-color:#00008B; color:#FFFFFF} /* Dark Blue */ -.NavBarFont1 { font-family: Arial, Helvetica, sans-serif; color:#000000;color:#000000;} -.NavBarFont1Rev { font-family: Arial, Helvetica, sans-serif; color:#FFFFFF;color:#FFFFFF;} - -.NavBarCell2 { font-family: Arial, Helvetica, sans-serif; background-color:#FFFFFF; color:#000000} -.NavBarCell3 { font-family: Arial, Helvetica, sans-serif; background-color:#FFFFFF; color:#000000} - -- cgit v1.2.3