From 15c875dd672fd60883b6be1b034c88017cacf765 Mon Sep 17 00:00:00 2001 From: limpbizkit Date: Sat, 2 Aug 2008 18:45:23 +0000 Subject: Removed old Javadocs. git-svn-id: https://google-guice.googlecode.com/svn/trunk@585 d779f126-a31b-0410-b53b-1d3aecad763e --- latest-javadoc/allclasses-frame.html | 204 --- latest-javadoc/allclasses-noframe.html | 204 --- .../com/google/inject/AbstractModule.html | 781 ---------- latest-javadoc/com/google/inject/Binder.html | 797 ----------- .../com/google/inject/Binding.ScopingVisitor.html | 281 ---- .../com/google/inject/Binding.TargetVisitor.html | 377 ----- latest-javadoc/com/google/inject/Binding.html | 379 ----- .../com/google/inject/BindingAnnotation.html | 177 --- .../com/google/inject/CreationException.html | 296 ---- latest-javadoc/com/google/inject/Guice.html | 444 ------ .../com/google/inject/ImplementedBy.html | 210 --- latest-javadoc/com/google/inject/Inject.html | 232 --- latest-javadoc/com/google/inject/Injector.html | 478 ------- latest-javadoc/com/google/inject/Key.html | 754 ---------- latest-javadoc/com/google/inject/Module.html | 218 --- .../com/google/inject/OutOfScopeException.html | 271 ---- latest-javadoc/com/google/inject/ProvidedBy.html | 210 --- latest-javadoc/com/google/inject/Provider.html | 238 ---- .../com/google/inject/ProviderMethods.html | 257 ---- latest-javadoc/com/google/inject/Provides.html | 170 --- .../com/google/inject/ProvisionException.html | 287 ---- latest-javadoc/com/google/inject/Scope.html | 261 ---- .../com/google/inject/ScopeAnnotation.html | 177 --- latest-javadoc/com/google/inject/Scopes.html | 255 ---- latest-javadoc/com/google/inject/Singleton.html | 169 --- latest-javadoc/com/google/inject/Stage.html | 348 ----- latest-javadoc/com/google/inject/TypeLiteral.html | 429 ------ .../com/google/inject/assistedinject/Assisted.html | 171 --- .../inject/assistedinject/AssistedInject.html | 173 --- .../inject/assistedinject/FactoryProvider.html | 306 ---- .../inject/assistedinject/package-frame.html | 45 - .../inject/assistedinject/package-summary.html | 188 --- .../google/inject/assistedinject/package-tree.html | 155 -- .../inject/binder/AnnotatedBindingBuilder.html | 255 ---- .../binder/AnnotatedConstantBindingBuilder.html | 228 --- .../inject/binder/ConstantBindingBuilder.html | 405 ------ .../google/inject/binder/LinkedBindingBuilder.html | 369 ----- .../google/inject/binder/ScopedBindingBuilder.html | 256 ---- .../com/google/inject/binder/package-frame.html | 40 - .../com/google/inject/binder/package-summary.html | 185 --- .../com/google/inject/binder/package-tree.html | 149 -- .../google/inject/commands/AddMessageCommand.html | 297 ---- .../com/google/inject/commands/BindCommand.html | 363 ----- .../inject/commands/BindConstantCommand.html | 326 ----- .../inject/commands/BindInterceptorCommand.html | 341 ----- .../google/inject/commands/BindScopeCommand.html | 319 ----- .../inject/commands/BindScoping.Visitor.html | 261 ---- .../com/google/inject/commands/BindScoping.html | 308 ---- .../google/inject/commands/BindTarget.Visitor.html | 280 ---- .../com/google/inject/commands/BindTarget.html | 352 ----- .../google/inject/commands/Command.Visitor.html | 377 ----- .../com/google/inject/commands/Command.html | 254 ---- .../google/inject/commands/CommandRecorder.html | 299 ---- .../google/inject/commands/CommandReplayer.html | 484 ------- .../inject/commands/ConvertToTypesCommand.html | 319 ----- .../inject/commands/DefaultCommandVisitor.html | 477 ------- .../google/inject/commands/GetProviderCommand.html | 344 ----- .../inject/commands/RequestInjectionCommand.html | 332 ----- .../commands/RequestStaticInjectionCommand.html | 297 ---- .../com/google/inject/commands/package-frame.html | 75 - .../google/inject/commands/package-summary.html | 247 ---- .../com/google/inject/commands/package-tree.html | 162 --- .../com/google/inject/jndi/JndiIntegration.html | 235 --- .../com/google/inject/jndi/package-frame.html | 32 - .../com/google/inject/jndi/package-summary.html | 167 --- .../com/google/inject/jndi/package-tree.html | 147 -- .../com/google/inject/matcher/AbstractMatcher.html | 298 ---- .../com/google/inject/matcher/Matcher.html | 256 ---- .../com/google/inject/matcher/Matchers.html | 424 ------ .../com/google/inject/matcher/package-frame.html | 45 - .../com/google/inject/matcher/package-summary.html | 186 --- .../com/google/inject/matcher/package-tree.html | 153 -- .../com/google/inject/multibindings/MapBinder.html | 380 ----- .../google/inject/multibindings/Multibinder.html | 367 ----- .../google/inject/multibindings/package-frame.html | 34 - .../inject/multibindings/package-summary.html | 173 --- .../google/inject/multibindings/package-tree.html | 147 -- latest-javadoc/com/google/inject/name/Named.html | 208 --- latest-javadoc/com/google/inject/name/Names.html | 270 ---- .../com/google/inject/name/package-frame.html | 43 - .../com/google/inject/name/package-summary.html | 181 --- .../com/google/inject/name/package-tree.html | 153 -- .../com/google/inject/package-frame.html | 116 -- .../com/google/inject/package-summary.html | 340 ----- latest-javadoc/com/google/inject/package-tree.html | 186 --- .../com/google/inject/servlet/GuiceFilter.html | 313 ---- .../servlet/GuiceServletContextListener.html | 306 ---- .../google/inject/servlet/InjectedHttpServlet.html | 286 ---- .../google/inject/servlet/RequestParameters.html | 169 --- .../com/google/inject/servlet/RequestScoped.html | 168 --- .../com/google/inject/servlet/ServletModule.html | 271 ---- .../com/google/inject/servlet/ServletScopes.html | 248 ---- .../com/google/inject/servlet/SessionScoped.html | 170 --- .../com/google/inject/servlet/package-frame.html | 55 - .../com/google/inject/servlet/package-summary.html | 212 --- .../com/google/inject/servlet/package-tree.html | 166 --- .../inject/spi/DefaultBindTargetVisitor.html | 467 ------ .../google/inject/spi/DefaultElementVisitor.html | 481 ------- .../com/google/inject/spi/Element.Visitor.html | 379 ----- latest-javadoc/com/google/inject/spi/Element.html | 270 ---- latest-javadoc/com/google/inject/spi/Elements.html | 346 ----- .../com/google/inject/spi/HasInjections.html | 208 --- .../com/google/inject/spi/InjectionPoint.html | 447 ------ .../com/google/inject/spi/InjectionRequest.html | 344 ----- .../com/google/inject/spi/InterceptorBinding.html | 355 ----- latest-javadoc/com/google/inject/spi/Message.html | 516 ------- .../com/google/inject/spi/ModuleWriter.html | 511 ------- .../com/google/inject/spi/ProviderLookup.html | 357 ----- .../com/google/inject/spi/ScopeBinding.html | 333 ----- .../google/inject/spi/StaticInjectionRequest.html | 309 ---- .../com/google/inject/spi/TypeConverter.html | 209 --- .../google/inject/spi/TypeConverterBinding.html | 331 ----- .../com/google/inject/spi/package-frame.html | 71 - .../com/google/inject/spi/package-summary.html | 238 ---- .../com/google/inject/spi/package-tree.html | 162 --- .../google/inject/spring/SpringIntegration.html | 261 ---- .../com/google/inject/spring/package-frame.html | 32 - .../com/google/inject/spring/package-summary.html | 167 --- .../com/google/inject/spring/package-tree.html | 147 -- .../inject/throwingproviders/ThrowingProvider.html | 219 --- .../ThrowingProviderBinder.SecondaryBinder.html | 328 ----- .../throwingproviders/ThrowingProviderBinder.html | 270 ---- .../inject/throwingproviders/package-frame.html | 43 - .../inject/throwingproviders/package-summary.html | 182 --- .../inject/throwingproviders/package-tree.html | 152 -- .../inject/tools/jmx/ManagedBindingMBean.html | 249 ---- .../com/google/inject/tools/jmx/Manager.html | 306 ---- .../com/google/inject/tools/jmx/package-frame.html | 43 - .../google/inject/tools/jmx/package-summary.html | 181 --- .../com/google/inject/tools/jmx/package-tree.html | 152 -- latest-javadoc/constant-values.html | 140 -- latest-javadoc/deprecated-list.html | 235 --- latest-javadoc/help-doc.html | 213 --- latest-javadoc/index-all.html | 1496 -------------------- latest-javadoc/index.html | 39 - latest-javadoc/overview-frame.html | 66 - latest-javadoc/overview-summary.html | 197 --- latest-javadoc/overview-tree.html | 227 --- latest-javadoc/package-list | 13 - latest-javadoc/resources/inherit.gif | Bin 57 -> 0 bytes latest-javadoc/serialized-form.html | 488 ------- latest-javadoc/stylesheet.css | 29 - 142 files changed, 37457 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.ScopingVisitor.html delete mode 100644 latest-javadoc/com/google/inject/Binding.TargetVisitor.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/CreationException.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/ProvidedBy.html delete mode 100644 latest-javadoc/com/google/inject/Provider.html delete mode 100644 latest-javadoc/com/google/inject/ProviderMethods.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/ConstantBindingBuilder.html delete mode 100644 latest-javadoc/com/google/inject/binder/LinkedBindingBuilder.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/commands/AddMessageCommand.html delete mode 100644 latest-javadoc/com/google/inject/commands/BindCommand.html delete mode 100644 latest-javadoc/com/google/inject/commands/BindConstantCommand.html delete mode 100644 latest-javadoc/com/google/inject/commands/BindInterceptorCommand.html delete mode 100644 latest-javadoc/com/google/inject/commands/BindScopeCommand.html delete mode 100644 latest-javadoc/com/google/inject/commands/BindScoping.Visitor.html delete mode 100644 latest-javadoc/com/google/inject/commands/BindScoping.html delete mode 100644 latest-javadoc/com/google/inject/commands/BindTarget.Visitor.html delete mode 100644 latest-javadoc/com/google/inject/commands/BindTarget.html delete mode 100644 latest-javadoc/com/google/inject/commands/Command.Visitor.html delete mode 100644 latest-javadoc/com/google/inject/commands/Command.html delete mode 100644 latest-javadoc/com/google/inject/commands/CommandRecorder.html delete mode 100644 latest-javadoc/com/google/inject/commands/CommandReplayer.html delete mode 100644 latest-javadoc/com/google/inject/commands/ConvertToTypesCommand.html delete mode 100644 latest-javadoc/com/google/inject/commands/DefaultCommandVisitor.html delete mode 100644 latest-javadoc/com/google/inject/commands/GetProviderCommand.html delete mode 100644 latest-javadoc/com/google/inject/commands/RequestInjectionCommand.html delete mode 100644 latest-javadoc/com/google/inject/commands/RequestStaticInjectionCommand.html delete mode 100644 latest-javadoc/com/google/inject/commands/package-frame.html delete mode 100644 latest-javadoc/com/google/inject/commands/package-summary.html delete mode 100644 latest-javadoc/com/google/inject/commands/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/InjectedHttpServlet.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.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/DefaultBindTargetVisitor.html delete mode 100644 latest-javadoc/com/google/inject/spi/DefaultElementVisitor.html delete mode 100644 latest-javadoc/com/google/inject/spi/Element.Visitor.html delete mode 100644 latest-javadoc/com/google/inject/spi/Element.html delete mode 100644 latest-javadoc/com/google/inject/spi/Elements.html delete mode 100644 latest-javadoc/com/google/inject/spi/HasInjections.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/InterceptorBinding.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/ProviderLookup.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/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/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 f4eb4200..00000000 --- a/latest-javadoc/allclasses-frame.html +++ /dev/null @@ -1,204 +0,0 @@ - - - - - - -All Classes (Guice 1.0 API) - - - - - - - - - - -All Classes -
- - - - - -
AbstractMatcher -
-AbstractModule -
-AddMessageCommand -
-AnnotatedBindingBuilder -
-AnnotatedConstantBindingBuilder -
-Assisted -
-AssistedInject -
-BindCommand -
-BindConstantCommand -
-Binder -
-Binding -
-Binding.ScopingVisitor -
-Binding.TargetVisitor -
-BindingAnnotation -
-BindInterceptorCommand -
-BindScopeCommand -
-BindScoping -
-BindScoping.Visitor -
-BindTarget -
-BindTarget.Visitor -
-Command -
-Command.Visitor -
-CommandRecorder -
-CommandReplayer -
-ConstantBindingBuilder -
-ConvertToTypesCommand -
-CreationException -
-DefaultBindTargetVisitor -
-DefaultCommandVisitor -
-DefaultElementVisitor -
-Element -
-Element.Visitor -
-Elements -
-FactoryProvider -
-GetProviderCommand -
-Guice -
-GuiceFilter -
-GuiceServletContextListener -
-HasInjections -
-ImplementedBy -
-Inject -
-InjectedHttpServlet -
-InjectionPoint -
-InjectionRequest -
-Injector -
-InterceptorBinding -
-JndiIntegration -
-Key -
-LinkedBindingBuilder -
-ManagedBindingMBean -
-Manager -
-MapBinder -
-Matcher -
-Matchers -
-Message -
-Module -
-ModuleWriter -
-Multibinder -
-Named -
-Names -
-OutOfScopeException -
-ProvidedBy -
-Provider -
-ProviderLookup -
-ProviderMethods -
-Provides -
-ProvisionException -
-RequestInjectionCommand -
-RequestParameters -
-RequestScoped -
-RequestStaticInjectionCommand -
-Scope -
-ScopeAnnotation -
-ScopeBinding -
-ScopedBindingBuilder -
-Scopes -
-ServletModule -
-ServletScopes -
-SessionScoped -
-Singleton -
-SpringIntegration -
-Stage -
-StaticInjectionRequest -
-ThrowingProvider -
-ThrowingProviderBinder -
-TypeConverter -
-TypeConverterBinding -
-TypeLiteral -
-
- - - diff --git a/latest-javadoc/allclasses-noframe.html b/latest-javadoc/allclasses-noframe.html deleted file mode 100644 index 0c91aca7..00000000 --- a/latest-javadoc/allclasses-noframe.html +++ /dev/null @@ -1,204 +0,0 @@ - - - - - - -All Classes (Guice 1.0 API) - - - - - - - - - - -All Classes -
- - - - - -
AbstractMatcher -
-AbstractModule -
-AddMessageCommand -
-AnnotatedBindingBuilder -
-AnnotatedConstantBindingBuilder -
-Assisted -
-AssistedInject -
-BindCommand -
-BindConstantCommand -
-Binder -
-Binding -
-Binding.ScopingVisitor -
-Binding.TargetVisitor -
-BindingAnnotation -
-BindInterceptorCommand -
-BindScopeCommand -
-BindScoping -
-BindScoping.Visitor -
-BindTarget -
-BindTarget.Visitor -
-Command -
-Command.Visitor -
-CommandRecorder -
-CommandReplayer -
-ConstantBindingBuilder -
-ConvertToTypesCommand -
-CreationException -
-DefaultBindTargetVisitor -
-DefaultCommandVisitor -
-DefaultElementVisitor -
-Element -
-Element.Visitor -
-Elements -
-FactoryProvider -
-GetProviderCommand -
-Guice -
-GuiceFilter -
-GuiceServletContextListener -
-HasInjections -
-ImplementedBy -
-Inject -
-InjectedHttpServlet -
-InjectionPoint -
-InjectionRequest -
-Injector -
-InterceptorBinding -
-JndiIntegration -
-Key -
-LinkedBindingBuilder -
-ManagedBindingMBean -
-Manager -
-MapBinder -
-Matcher -
-Matchers -
-Message -
-Module -
-ModuleWriter -
-Multibinder -
-Named -
-Names -
-OutOfScopeException -
-ProvidedBy -
-Provider -
-ProviderLookup -
-ProviderMethods -
-Provides -
-ProvisionException -
-RequestInjectionCommand -
-RequestParameters -
-RequestScoped -
-RequestStaticInjectionCommand -
-Scope -
-ScopeAnnotation -
-ScopeBinding -
-ScopedBindingBuilder -
-Scopes -
-ServletModule -
-ServletScopes -
-SessionScoped -
-Singleton -
-SpringIntegration -
-Stage -
-StaticInjectionRequest -
-ThrowingProvider -
-ThrowingProviderBinder -
-TypeConverter -
-TypeConverterBinding -
-TypeLiteral -
-
- - - diff --git a/latest-javadoc/com/google/inject/AbstractModule.html b/latest-javadoc/com/google/inject/AbstractModule.html deleted file mode 100644 index 38c2139d..00000000 --- a/latest-javadoc/com/google/inject/AbstractModule.html +++ /dev/null @@ -1,781 +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: - -

- import static com.google.inject.Names.named;
-
- public class MyModule extends AbstractModule {
-   protected void configure() {
-     bind(Foo.class).to(FooImpl.class).in(Scopes.SINGLETON);
-     bind(BarImpl.class);
-     link(Bar.class).to(BarImpl.class);
-     bindConstant(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. -

-

-
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)
-
-
-
-
-
-
See Also:
Binder.addError(Message)
-
-
-
- -

-requestInjection

-
-protected void requestInjection(Object... objects)
-
-
-
-
-
-
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. -

-

-
-
-
-
-
-
-
- -

-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. -

-

-
-
-
-
-
-
-
- -

-getProvider

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

-getProvider

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

-convertToTypes

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

-currentStage

-
-protected Stage currentStage()
-
-
-
-
-
-
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 3c5d70bb..00000000 --- a/latest-javadoc/com/google/inject/Binder.html +++ /dev/null @@ -1,797 +0,0 @@ - - - - - - -Binder (Guice 1.0 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.google.inject -
-Interface Binder

-
-
-
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.getField("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.
- 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
-
-
-
- -

-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. -

-

-
-
-
-
- -

-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. -

-

-
-
-
-
- -

-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. -

-

-
-
-
-
- -

-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
-
-
-
- -

-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
-
-
-
- -

-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.
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/Binding.ScopingVisitor.html b/latest-javadoc/com/google/inject/Binding.ScopingVisitor.html deleted file mode 100644 index 867d92c6..00000000 --- a/latest-javadoc/com/google/inject/Binding.ScopingVisitor.html +++ /dev/null @@ -1,281 +0,0 @@ - - - - - - -Binding.ScopingVisitor (Guice 1.0 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.google.inject -
-Interface Binding.ScopingVisitor<V>

-
-
Type Parameters:
V - any type to be returned by the visit method. Use Void with - return null if no return type is needed.
-
-
Enclosing interface:
Binding<T>
-
-
-
-
public static interface Binding.ScopingVisitor<V>
- - -

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

- -

-


- -

- - - - - - - - - - - - - - - - - - - - - - - - -
-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(Class, Scope). -

-

-
-
-
-
- -

-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/Binding.TargetVisitor.html b/latest-javadoc/com/google/inject/Binding.TargetVisitor.html deleted file mode 100644 index 8d8bb2bc..00000000 --- a/latest-javadoc/com/google/inject/Binding.TargetVisitor.html +++ /dev/null @@ -1,377 +0,0 @@ - - - - - - -Binding.TargetVisitor (Guice 1.0 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.google.inject -
-Interface Binding.TargetVisitor<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:
DefaultBindTargetVisitor
-
-
-
Enclosing interface:
Binding<T>
-
-
-
-
public static interface Binding.TargetVisitor<T,V>
- - -

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

- -

-


- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- VvisitConstructor(Constructor<? extends T> constructor) - -
-          Visit a constructor binding.
- VvisitConvertedConstant(T value) - -
-          Visit a binding created from converting a bound instance to a new type.
- VvisitInstance(T instance) - -
-          Visit a instance binding.
- VvisitKey(Key<? extends T> key) - -
-          Visit a linked key binding.
- VvisitProvider(Provider<? extends T> provider) - -
-          Visit a provider instance binding.
- VvisitProviderBinding(Key<?> provided) - -
-          Visit a binding to a Provider that delegates to the binding for the provided type.
- VvisitProviderKey(Key<? extends Provider<? extends T>> providerKey) - -
-          Visit a provider key binding.
- VvisitUntargetted() - -
-          Visit an untargetted binding.
-  -

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

-visitInstance

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

-

-
Parameters:
instance - the user-supplied value
-
-
-
- -

-visitProvider

-
-V visitProvider(Provider<? extends T> provider)
-
-
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. -

-

-
Parameters:
provider - the user-supplied, unscoped provider
-
-
-
- -

-visitProviderKey

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

-

-
Parameters:
providerKey - the key used to resolve the provider's binding. That binding can be - retrieved from an injector using Injector.getBinding(providerKey)
-
-
-
- -

-visitKey

-
-V visitKey(Key<? extends T> key)
-
-
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. -

-

-
Parameters:
key - the linked key used to resolve injections. That binding can be retrieved from an - injector using Injector.getBinding(key)
-
-
-
- -

-visitUntargetted

-
-V visitUntargetted()
-
-
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(Constructor<? extends T> constructor)
-
-
Visit a constructor binding. To resolve injections, an instance is instantiated by invoking - constructor. This target is found only on injector bindings. -

-

-
Parameters:
constructor - the annotated or default constructor that is invoked for - creating values
-
-
-
- -

-visitConvertedConstant

-
-V visitConvertedConstant(T value)
-
-
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. -

-

-
Parameters:
value - the converted value
-
-
-
- -

-visitProviderBinding

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

-

-
Parameters:
provided - the key whose binding is used to provide instances. That - binding can be retrieved from an injector using Injector.getBinding(provided)
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/Binding.html b/latest-javadoc/com/google/inject/Binding.html deleted file mode 100644 index 5e2cde11..00000000 --- a/latest-javadoc/com/google/inject/Binding.html +++ /dev/null @@ -1,379 +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
-
-
-
-
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: -

-

- -

-


- -

- - - - - - - - - - - - - - - -
-Nested Class Summary
-static interfaceBinding.ScopingVisitor<V> - -
-          Visits each of the strategies used to scope an injection.
-static interfaceBinding.TargetVisitor<T,V> - -
-          Visits each of the strategies used to find an instance to satisfy an injection.
- - - - - - - -
Nested classes/interfaces inherited from interface com.google.inject.spi.Element
Element.Visitor<V>
-  - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- - - - - -
-<V> V
-
acceptScopingVisitor(Binding.ScopingVisitor<V> visitor) - -
-          Accepts a scoping visitor.
- - - - - -
-<V> V
-
acceptTargetVisitor(Binding.TargetVisitor<? super 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(Binding.TargetVisitor<? super T,V> visitor)
-
-
Accepts a target visitor. Invokes the visitor method specific to this binding's target. -

-

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

-acceptScopingVisitor

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

-

-
-
-
-
Parameters:
visitor - to call back on
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/BindingAnnotation.html b/latest-javadoc/com/google/inject/BindingAnnotation.html deleted file mode 100644 index 381fab43..00000000 --- a/latest-javadoc/com/google/inject/BindingAnnotation.html +++ /dev/null @@ -1,177 +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 })
-   @BindingAnnotation
-   public @interface Transactional {}
- 
-

- -

- -

- -

- -


- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/CreationException.html b/latest-javadoc/com/google/inject/CreationException.html deleted file mode 100644 index 2e73984c..00000000 --- a/latest-javadoc/com/google/inject/CreationException.html +++ /dev/null @@ -1,296 +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. Typically, a client should catch this exception, log - it, and stop execution. -

- -

-

-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - -
-Constructor Summary
CreationException(Collection<? extends Message> errorMessages) - -
-          Constructs a new exception for the given errors.
-  - - - - - - - - - - - - - - - -
-Method Summary
- Collection<Message>getErrorMessages() - -
-          Gets the error messages which resulted in 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(Collection<? extends Message> errorMessages)
-
-
Constructs a new exception for the given errors. -

-

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

-getErrorMessages

-
-public Collection<Message> getErrorMessages()
-
-
Gets the error messages which resulted in this exception. -

-

-
-
-
-
- -

-getMessage

-
-public String getMessage()
-
-
-
Overrides:
getMessage in class Throwable
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/Guice.html b/latest-javadoc/com/google/inject/Guice.html deleted file mode 100644 index 1b9947f6..00000000 --- a/latest-javadoc/com/google/inject/Guice.html +++ /dev/null @@ -1,444 +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
-         MyStartClass starter = injector.getInstance(MyStartClass.class);
-         starter.runApplication();
-       }
-     }
- 
-

- -

-


- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
-static InjectorcreateInjector(Injector parent, - Iterable<? extends Module> modules) - -
-          Creates an injector for the given set of modules, with the given parent - injector.
-static InjectorcreateInjector(Injector parent, - Module... modules) - -
-          Creates an injector for the given set of modules, with the given parent - injector.
-static InjectorcreateInjector(Injector parent, - Stage stage, - Iterable<? extends Module> modules) - -
-          Creates an injector for the given set of modules, in a given development - stage, with the given parent injector.
-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.
-static ModuleoverrideModule(Module module, - Module overridesModule) - -
-          Returns a new Module that overlays overridesModule over - module.
- - - - - - - -
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
-
-
-
- -

-createInjector

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

-

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

-createInjector

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

-

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

-createInjector

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

-

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

-overrideModule

-
-public static Module overrideModule(Module module,
-                                    Module overridesModule)
-
-
Returns a new Module that overlays overridesModule over - module. If a key is bound by both modules, only the binding in - overrides is kept. This can be used to replace bindings in a production - module with test bindings: -
- Module functionalTestModule
-     = Guice.overrideModule(new ProductionModule(), new TestModule());
- 
-

-

-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/ImplementedBy.html b/latest-javadoc/com/google/inject/ImplementedBy.html deleted file mode 100644 index 4c4223ea..00000000 --- a/latest-javadoc/com/google/inject/ImplementedBy.html +++ /dev/null @@ -1,210 +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 8a6858cc..00000000 --- a/latest-javadoc/com/google/inject/Inject.html +++ /dev/null @@ -1,232 +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 c0c5bb00..00000000 --- a/latest-javadoc/com/google/inject/Injector.html +++ /dev/null @@ -1,478 +0,0 @@ - - - - - - -Injector (Guice 1.0 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.google.inject -
-Interface Injector

-
-
-
public interface Injector
- - -

-Fulfills requests for the object instances that make up your application, - always ensuring that these instances are properly injected before they are - returned. The Injector is the heart of the Guice framework, - although you don't typically interact with it directly very often. This - "behind-the-scenes" operation is what distinguishes the dependency - injection pattern from its cousin, service locator. - -

The Injector API has a few additional features: it allows - pre-constructed instances to have their fields and methods injected and - offers programmatic introspection to support tool development. - -

Contains several default bindings: - -

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

- -

-


- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- - - - - -
-<T> List<Binding<T>>
-
findBindingsByType(TypeLiteral<T> type) - -
-          Finds all bindings to the given type.
- - - - - -
-<T> Binding<T>
-
getBinding(Class<T> type) - -
-          Gets a binding for the given type, or null if no binding for this type is - found.
- - - - - -
-<T> Binding<T>
-
getBinding(Key<T> key) - -
-          Gets a binding for the given key, or null if no binding for this key is - found.
- Map<Key<?>,Binding<?>>getBindings() - -
-          Gets all explicit bindings.
- - - - - -
-<T> T
-
getInstance(Class<T> type) - -
-          Returns the appropriate instance for the given 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().
- - - - - -
-<T> Provider<T>
-
getProvider(Class<T> type) - -
-          Returns the provider used to obtain instances for the given injection key.
- - - - - -
-<T> Provider<T>
-
getProvider(Key<T> key) - -
-          Returns the provider used to obtain instances for the given injection key.
- voidinjectMembers(Object o) - -
-          Injects dependencies into the fields and methods of an existing object.
-  -

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

-injectMembers

-
-void injectMembers(Object o)
-
-
Injects dependencies into the fields and methods of an existing object. - 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()
-
-
Gets all explicit bindings. - -

This method is part of the Injector - Introspection API and is primarily intended for use by tools. -

-

-
-
-
-
- -

-getBinding

-
-<T> Binding<T> getBinding(Key<T> key)
-
-
Gets a binding for the given key, or null if no binding for this key is - found. Returns explicit bindings as well as those synthesized by the - container such as bindings for converted constants, etc. - -

This method is part of the Injector Introspection API and is - primarily intended for use by tools. -

-

-
-
-
-
- -

-getBinding

-
-<T> Binding<T> getBinding(Class<T> type)
-
-
Gets a binding for the given type, or null if no binding for this type is - found. Returns explicit bindings as well as those synthesized by the - container such as bindings for converted constants, etc. - -

This method is part of the Injector Introspection API and is - primarily intended for use by tools. -

-

-
-
-
-
- -

-findBindingsByType

-
-<T> List<Binding<T>> findBindingsByType(TypeLiteral<T> type)
-
-
Finds all bindings to the given type. This method is part of the Injector - Introspection API and is primarily intended for use by tools. -

-

-
-
-
-
- -

-getProvider

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

-

-
-
-
-
- -

-getProvider

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

-

-
-
-
-
- -

-getInstance

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

-

-
-
-
-
- -

-getInstance

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

-

-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/Key.html b/latest-javadoc/com/google/inject/Key.html deleted file mode 100644 index c60fa611..00000000 --- a/latest-javadoc/com/google/inject/Key.html +++ /dev/null @@ -1,754 +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() - -
-          Returns the canonical form of this key for serialization.
- - - - - - - -
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()
-
-
Returns the canonical form of this key for serialization. The returned - instance is always a Key, never a subclass. This prevents problems - caused by serializing anonymous types. -

-

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

- -com.google.inject -
-Interface Module

-
-
All Known Implementing Classes:
AbstractModule, 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. -

- -

-


- -

- - - - - - - - - - - - -
-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. -

-

-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/OutOfScopeException.html b/latest-javadoc/com/google/inject/OutOfScopeException.html deleted file mode 100644 index 9a5644f1..00000000 --- a/latest-javadoc/com/google/inject/OutOfScopeException.html +++ /dev/null @@ -1,271 +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 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. -

- -

-

-
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/ProvidedBy.html b/latest-javadoc/com/google/inject/ProvidedBy.html deleted file mode 100644 index 2593bee2..00000000 --- a/latest-javadoc/com/google/inject/ProvidedBy.html +++ /dev/null @@ -1,210 +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 4dc0922b..00000000 --- a/latest-javadoc/com/google/inject/Provider.html +++ /dev/null @@ -1,238 +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 Implementing Classes:
FactoryProvider
-
-
-
-
public interface Provider<T>
- - -

-Simply, any object capable of providing instances of type T. - Providers are used in numerous ways by the Guice framework: - -

-

- -

-


- -

- - - - - - - - - - - - -
-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
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/ProviderMethods.html b/latest-javadoc/com/google/inject/ProviderMethods.html deleted file mode 100644 index 6b4e757c..00000000 --- a/latest-javadoc/com/google/inject/ProviderMethods.html +++ /dev/null @@ -1,257 +0,0 @@ - - - - - - -ProviderMethods (Guice 1.0 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.google.inject -
-Class ProviderMethods

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

-Creates bindings to methods annotated with @ - Provides. Use the scope and binding annotations - on the provider method to configure the binding. -

- -

-


- -

- - - - - - - - - - - -
-Constructor Summary
ProviderMethods() - -
-           
-  - - - - - - - - - - - -
-Method Summary
-static Modulefrom(Object providers) - -
-          Returns a module which creates bindings for provider methods from the - given object.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

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

-ProviderMethods

-
-public ProviderMethods()
-
-
- - - - - - - - -
-Method Detail
- -

-from

-
-public static Module from(Object providers)
-
-
Returns a module which creates bindings for provider methods from the - given object. -

-

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

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

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

-Annotates methods which can be used as providers. Guice will pass - dependencies to the method as parameters. -

- -

- -

- -

- -


- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/ProvisionException.html b/latest-javadoc/com/google/inject/ProvisionException.html deleted file mode 100644 index 54cb24dc..00000000 --- a/latest-javadoc/com/google/inject/ProvisionException.html +++ /dev/null @@ -1,287 +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 a failure to provide an instance. -

- -

-

-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - - - - -
-Constructor Summary
ProvisionException(String message) - -
-           
ProvisionException(String message, - Throwable cause) - -
-           
-  - - - - - - - - - - - -
-Method Summary
- 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(String message,
-                          Throwable cause)
-
-
-
- -

-ProvisionException

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

-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 3ca06503..00000000 --- a/latest-javadoc/com/google/inject/Scope.html +++ /dev/null @@ -1,261 +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 fc87e23a..00000000 --- a/latest-javadoc/com/google/inject/ScopeAnnotation.html +++ /dev/null @@ -1,177 +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 60ec7242..00000000 --- a/latest-javadoc/com/google/inject/Scopes.html +++ /dev/null @@ -1,255 +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. -

-

-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/Singleton.html b/latest-javadoc/com/google/inject/Singleton.html deleted file mode 100644 index 009fdf56..00000000 --- a/latest-javadoc/com/google/inject/Singleton.html +++ /dev/null @@ -1,169 +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 e697a80a..00000000 --- a/latest-javadoc/com/google/inject/Stage.html +++ /dev/null @@ -1,348 +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 - -
-          The default stage.
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're declared.
- - - - - - - -
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
- - - - - - - -
Methods inherited from class java.lang.Object
finalize, 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. -

-

-
-
-
- -

-DEVELOPMENT

-
-public static final Stage DEVELOPMENT
-
-
The default stage. We want fast startup times and better error reporting - 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 final Stage[] values()
-
-
Returns an array containing the constants of this enum type, in -the order they're 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're 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
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/TypeLiteral.html b/latest-javadoc/com/google/inject/TypeLiteral.html deleted file mode 100644 index e0b486ea..00000000 --- a/latest-javadoc/com/google/inject/TypeLiteral.html +++ /dev/null @@ -1,429 +0,0 @@ - - - - - - -TypeLiteral (Guice 1.0 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

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

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

-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. -

- -

-

-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - - -
-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.
- TypegetType() - -
-          Gets underlying Type instance.
- inthashCode() - -
-           
- StringtoString() - -
-           
-protected  ObjectwriteReplace() - -
-          Returns the canonical form of this type literal for serialization.
- - - - - - - -
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
- -

-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. -

-

-
-
-
-
-
-
-
- -

-writeReplace

-
-protected final Object writeReplace()
-
-
Returns the canonical form of this type literal for serialization. The - returned instance is always a TypeLiteral, never a subclass. This - prevents problems caused by serializing anonymous types. -

-

-
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - 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 4fe9e211..00000000 --- a/latest-javadoc/com/google/inject/assistedinject/Assisted.html +++ /dev/null @@ -1,171 +0,0 @@ - - - - - - -Assisted (Guice 1.0 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

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

-
-
-
@Target(value=PARAMETER)
-@Retention(value=RUNTIME)
-public @interface Assisted
- - -

-The @Assisted annotation should be used on paramters within - a constructor annotated with @AssistedInject. The annotation - indicates that the parameter will be supplied through a factory - method (the parameter will not be injected by Guice). -

- -

- -

- -

- -


- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - 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 e664cac3..00000000 --- a/latest-javadoc/com/google/inject/assistedinject/AssistedInject.html +++ /dev/null @@ -1,173 +0,0 @@ - - - - - - -AssistedInject (Guice 1.0 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

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

-
-
-
@Target(value=CONSTRUCTOR)
-@Retention(value=RUNTIME)
-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 dfc3e41f..00000000 --- a/latest-javadoc/com/google/inject/assistedinject/FactoryProvider.html +++ /dev/null @@ -1,306 +0,0 @@ - - - - - - -FactoryProvider (Guice 1.0 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

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

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

-Provides a mechanism to combine user-specified paramters with - Injector-specified paramters when creating new objects. - -

To use a FactoryProvider: - -

Annotate your implementation class' constructor with the - @AssistedInject and the user-specified parameters with - @Assisted: -

public class RealPayment implements Payment {
-    @AssistedInject
-    public RealPayment(CreditService creditService, AuthService authService,
-      @Assisted Date startDate, @Assisted Money amount) {
-     ...
-  }
- }
- -

Write an interface with a create method that accepts the user-specified - parameters in the same order as they appear in the implementation class' constructor: -

public interface PaymentFactory {
-    Payment create(Date startDate, Money amount);
- }
- -

You can name your create methods whatever you like, such as create, - or createPayment or newPayment. The concrete class must - be assignable to the return type of your create method. You can also provide - multiple factory methods, but there must be exactly one - @AssistedInject constructor on the implementation class for each. - -

In your Guice module, bind your factory - interface to an instance of FactoryProvider that was created with - the same factory interface and implementation type: -

  bind(PaymentFactory.class).toProvider(
-     FactoryProvider.newFactory(PaymentFactory.class, RealPayment.class));
- -

Now you can @Inject your factory interface into your - Guice-injected classes. When you invoke the create method on that factory, the - FactoryProvider will instantiate the implementation class using - parameters from the injector and the factory method. - -

public class PaymentAction {
-    @Inject private PaymentFactory paymentFactory;
-
-    public void doPayment(Money amount) {
-       Payment payment = paymentFactory.create(new Date(), amount);
-       payment.apply();
-    }
- }
-

- -

-


- -

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

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

-newFactory

-
-public static <X,Y> FactoryProvider<X,Y> newFactory(Class<X> factoryType,
-                                                    Class<Y> 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 afa6c1d2..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 18dbfb35..00000000 --- a/latest-javadoc/com/google/inject/assistedinject/package-summary.html +++ /dev/null @@ -1,188 +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,R>Provides a mechanism to combine user-specified paramters with - Injector-specified paramters when creating new objects.
-  - -

- - - - - - - - - - - - - -
-Annotation Types Summary
AssistedThe @Assisted annotation should be used on paramters within - a constructor annotated with @AssistedInject.
AssistedInjectConstructors annotated with @AssistedInject indicate that will - can be instantiated by the FactoryProvider.
-  - -

-

-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 1bd2804a..00000000 --- a/latest-javadoc/com/google/inject/assistedinject/package-tree.html +++ /dev/null @@ -1,155 +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 4841939f..00000000 --- a/latest-javadoc/com/google/inject/binder/AnnotatedBindingBuilder.html +++ /dev/null @@ -1,255 +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 bf294fe8..00000000 --- a/latest-javadoc/com/google/inject/binder/AnnotatedConstantBindingBuilder.html +++ /dev/null @@ -1,228 +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/ConstantBindingBuilder.html b/latest-javadoc/com/google/inject/binder/ConstantBindingBuilder.html deleted file mode 100644 index 56104fd1..00000000 --- a/latest-javadoc/com/google/inject/binder/ConstantBindingBuilder.html +++ /dev/null @@ -1,405 +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 614ddc4f..00000000 --- a/latest-javadoc/com/google/inject/binder/LinkedBindingBuilder.html +++ /dev/null @@ -1,369 +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/ScopedBindingBuilder.html b/latest-javadoc/com/google/inject/binder/ScopedBindingBuilder.html deleted file mode 100644 index 5016e9ee..00000000 --- a/latest-javadoc/com/google/inject/binder/ScopedBindingBuilder.html +++ /dev/null @@ -1,256 +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 c4be68c3..00000000 --- a/latest-javadoc/com/google/inject/binder/package-frame.html +++ /dev/null @@ -1,40 +0,0 @@ - - - - - - -com.google.inject.binder (Guice 1.0 API) - - - - - - - - - - - -com.google.inject.binder - - - - -
-Interfaces  - -
-AnnotatedBindingBuilder -
-AnnotatedConstantBindingBuilder -
-ConstantBindingBuilder -
-LinkedBindingBuilder -
-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 9c6ba09f..00000000 --- a/latest-javadoc/com/google/inject/binder/package-summary.html +++ /dev/null @@ -1,185 +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.
ConstantBindingBuilderBinds to a constant value.
LinkedBindingBuilder<T>See the EDSL examples at Binder.
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 1d3d7707..00000000 --- a/latest-javadoc/com/google/inject/binder/package-tree.html +++ /dev/null @@ -1,149 +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/commands/AddMessageCommand.html b/latest-javadoc/com/google/inject/commands/AddMessageCommand.html deleted file mode 100644 index b18d1c6f..00000000 --- a/latest-javadoc/com/google/inject/commands/AddMessageCommand.html +++ /dev/null @@ -1,297 +0,0 @@ - - - - - - -AddMessageCommand (Guice 1.0 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.google.inject.commands -
-Class AddMessageCommand

-
-java.lang.Object
-  extended by com.google.inject.commands.AddMessageCommand
-
-
-
All Implemented Interfaces:
Command
-
-
-Deprecated. replaced with Message -

-

-
@Deprecated
-public final class AddMessageCommand
extends Object
implements Command
- - -

-Immutable snapshot of a request to add a string message. -

- -

-


- -

- - - - - - - -
-Nested Class Summary
- - - - - - - -
Nested classes/interfaces inherited from interface com.google.inject.commands.Command
Command.Visitor<V>
-  - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- - - - - -
-<T> T
-
acceptVisitor(Command.Visitor<T> visitor) - -
-          Deprecated.  
- MessagegetMessage() - -
-          Deprecated.  
- ObjectgetSource() - -
-          Deprecated.  
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

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

-getSource

-
-public Object getSource()
-
-
Deprecated. 
-
Specified by:
getSource in interface Command
-
-
-
-
-
-
- -

-acceptVisitor

-
-public <T> T acceptVisitor(Command.Visitor<T> visitor)
-
-
Deprecated. 
-
Specified by:
acceptVisitor in interface Command
-
-
-
-
-
-
- -

-getMessage

-
-public Message getMessage()
-
-
Deprecated. 
-
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/commands/BindCommand.html b/latest-javadoc/com/google/inject/commands/BindCommand.html deleted file mode 100644 index d9a471a2..00000000 --- a/latest-javadoc/com/google/inject/commands/BindCommand.html +++ /dev/null @@ -1,363 +0,0 @@ - - - - - - -BindCommand (Guice 1.0 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.google.inject.commands -
-Class BindCommand<T>

-
-java.lang.Object
-  extended by com.google.inject.commands.BindCommand<T>
-
-
-
All Implemented Interfaces:
Command
-
-
-Deprecated. replaced with Binding -

-

-
@Deprecated
-public final class BindCommand<T>
extends Object
implements Command
- - -

-Immutable snapshot of a request to bind a value. -

- -

-


- -

- - - - - - - -
-Nested Class Summary
- - - - - - - -
Nested classes/interfaces inherited from interface com.google.inject.commands.Command
Command.Visitor<V>
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- - - - - -
-<V> V
-
acceptVisitor(Command.Visitor<V> visitor) - -
-          Deprecated.  
- Key<T>getKey() - -
-          Deprecated.  
- BindScopinggetScoping() - -
-          Deprecated.  
- ObjectgetSource() - -
-          Deprecated.  
- BindTarget<T>getTarget() - -
-          Deprecated.  
- StringtoString() - -
-          Deprecated.  
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

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

-getSource

-
-public Object getSource()
-
-
Deprecated. 
-
Specified by:
getSource in interface Command
-
-
-
-
-
-
- -

-acceptVisitor

-
-public <V> V acceptVisitor(Command.Visitor<V> visitor)
-
-
Deprecated. 
-
Specified by:
acceptVisitor in interface Command
-
-
-
-
-
-
- -

-getKey

-
-public Key<T> getKey()
-
-
Deprecated. 
-
-
-
-
-
-
-
- -

-getTarget

-
-public BindTarget<T> getTarget()
-
-
Deprecated. 
-
-
-
-
-
-
-
- -

-getScoping

-
-public BindScoping getScoping()
-
-
Deprecated. 
-
-
-
-
-
-
-
- -

-toString

-
-public String toString()
-
-
Deprecated. 
-
Overrides:
toString in class Object
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/commands/BindConstantCommand.html b/latest-javadoc/com/google/inject/commands/BindConstantCommand.html deleted file mode 100644 index a7c08b04..00000000 --- a/latest-javadoc/com/google/inject/commands/BindConstantCommand.html +++ /dev/null @@ -1,326 +0,0 @@ - - - - - - -BindConstantCommand (Guice 1.0 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.google.inject.commands -
-Class BindConstantCommand

-
-java.lang.Object
-  extended by com.google.inject.commands.BindConstantCommand
-
-
-
All Implemented Interfaces:
Command
-
-
-Deprecated. replaced with Binding -

-

-
@Deprecated
-public final class BindConstantCommand
extends Object
implements Command
- - -

-Immutable snapshot of a request to bind a constant. -

- -

-


- -

- - - - - - - -
-Nested Class Summary
- - - - - - - -
Nested classes/interfaces inherited from interface com.google.inject.commands.Command
Command.Visitor<V>
-  - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- - - - - -
-<T> T
-
acceptVisitor(Command.Visitor<T> visitor) - -
-          Deprecated.  
- - - - - -
-<T> Key<T>
-
getKey() - -
-          Deprecated.  
- ObjectgetSource() - -
-          Deprecated.  
- BindTarget<?>getTarget() - -
-          Deprecated.  
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

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

-getSource

-
-public Object getSource()
-
-
Deprecated. 
-
Specified by:
getSource in interface Command
-
-
-
-
-
-
- -

-acceptVisitor

-
-public <T> T acceptVisitor(Command.Visitor<T> visitor)
-
-
Deprecated. 
-
Specified by:
acceptVisitor in interface Command
-
-
-
-
-
-
- -

-getTarget

-
-public BindTarget<?> getTarget()
-
-
Deprecated. 
-
-
-
-
-
-
-
- -

-getKey

-
-public <T> Key<T> getKey()
-
-
Deprecated. 
-
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/commands/BindInterceptorCommand.html b/latest-javadoc/com/google/inject/commands/BindInterceptorCommand.html deleted file mode 100644 index 3b0f2b40..00000000 --- a/latest-javadoc/com/google/inject/commands/BindInterceptorCommand.html +++ /dev/null @@ -1,341 +0,0 @@ - - - - - - -BindInterceptorCommand (Guice 1.0 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.google.inject.commands -
-Class BindInterceptorCommand

-
-java.lang.Object
-  extended by com.google.inject.commands.BindInterceptorCommand
-
-
-
All Implemented Interfaces:
Command
-
-
-Deprecated. replaced with InterceptorBinding -

-

-
@Deprecated
-public final class BindInterceptorCommand
extends Object
implements Command
- - -

-Immutable snapshot of a request to bind an interceptor. -

- -

-


- -

- - - - - - - -
-Nested Class Summary
- - - - - - - -
Nested classes/interfaces inherited from interface com.google.inject.commands.Command
Command.Visitor<V>
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- - - - - -
-<T> T
-
acceptVisitor(Command.Visitor<T> visitor) - -
-          Deprecated.  
- Matcher<? super Class<?>>getClassMatcher() - -
-          Deprecated.  
- List<MethodInterceptor>getInterceptors() - -
-          Deprecated.  
- Matcher<? super Method>getMethodMatcher() - -
-          Deprecated.  
- ObjectgetSource() - -
-          Deprecated.  
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

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

-getSource

-
-public Object getSource()
-
-
Deprecated. 
-
Specified by:
getSource in interface Command
-
-
-
-
-
-
- -

-getClassMatcher

-
-public Matcher<? super Class<?>> getClassMatcher()
-
-
Deprecated. 
-
-
-
-
-
-
-
- -

-getMethodMatcher

-
-public Matcher<? super Method> getMethodMatcher()
-
-
Deprecated. 
-
-
-
-
-
-
-
- -

-getInterceptors

-
-public List<MethodInterceptor> getInterceptors()
-
-
Deprecated. 
-
-
-
-
-
-
-
- -

-acceptVisitor

-
-public <T> T acceptVisitor(Command.Visitor<T> visitor)
-
-
Deprecated. 
-
Specified by:
acceptVisitor in interface Command
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/commands/BindScopeCommand.html b/latest-javadoc/com/google/inject/commands/BindScopeCommand.html deleted file mode 100644 index 1912777b..00000000 --- a/latest-javadoc/com/google/inject/commands/BindScopeCommand.html +++ /dev/null @@ -1,319 +0,0 @@ - - - - - - -BindScopeCommand (Guice 1.0 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.google.inject.commands -
-Class BindScopeCommand

-
-java.lang.Object
-  extended by com.google.inject.commands.BindScopeCommand
-
-
-
All Implemented Interfaces:
Command
-
-
-Deprecated. replaced with ScopeBinding -

-

-
@Deprecated
-public final class BindScopeCommand
extends Object
implements Command
- - -

-Immutable snapshot of a request to bind a scope. -

- -

-


- -

- - - - - - - -
-Nested Class Summary
- - - - - - - -
Nested classes/interfaces inherited from interface com.google.inject.commands.Command
Command.Visitor<V>
-  - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- - - - - -
-<T> T
-
acceptVisitor(Command.Visitor<T> visitor) - -
-          Deprecated.  
- Class<? extends Annotation>getAnnotationType() - -
-          Deprecated.  
- ScopegetScope() - -
-          Deprecated.  
- ObjectgetSource() - -
-          Deprecated.  
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

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

-getSource

-
-public Object getSource()
-
-
Deprecated. 
-
Specified by:
getSource in interface Command
-
-
-
-
-
-
- -

-getAnnotationType

-
-public Class<? extends Annotation> getAnnotationType()
-
-
Deprecated. 
-
-
-
-
-
-
-
- -

-getScope

-
-public Scope getScope()
-
-
Deprecated. 
-
-
-
-
-
-
-
- -

-acceptVisitor

-
-public <T> T acceptVisitor(Command.Visitor<T> visitor)
-
-
Deprecated. 
-
Specified by:
acceptVisitor in interface Command
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/commands/BindScoping.Visitor.html b/latest-javadoc/com/google/inject/commands/BindScoping.Visitor.html deleted file mode 100644 index b43cf673..00000000 --- a/latest-javadoc/com/google/inject/commands/BindScoping.Visitor.html +++ /dev/null @@ -1,261 +0,0 @@ - - - - - - -BindScoping.Visitor (Guice 1.0 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.google.inject.commands -
-Interface BindScoping.Visitor<V>

-
-
Enclosing interface:
BindScoping
-
-
-
-
public static interface BindScoping.Visitor<V>
- - -

-


- -

- - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- VvisitEagerSingleton() - -
-           
- VvisitNoScoping() - -
-           
- VvisitScope(Scope scope) - -
-           
- VvisitScopeAnnotation(Class<? extends Annotation> scopeAnnotation) - -
-           
-  -

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

-visitEagerSingleton

-
-V visitEagerSingleton()
-
-
-
-
-
-
- -

-visitScope

-
-V visitScope(Scope scope)
-
-
-
-
-
-
- -

-visitScopeAnnotation

-
-V visitScopeAnnotation(Class<? extends Annotation> scopeAnnotation)
-
-
-
-
-
-
- -

-visitNoScoping

-
-V visitNoScoping()
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/commands/BindScoping.html b/latest-javadoc/com/google/inject/commands/BindScoping.html deleted file mode 100644 index c868abbb..00000000 --- a/latest-javadoc/com/google/inject/commands/BindScoping.html +++ /dev/null @@ -1,308 +0,0 @@ - - - - - - -BindScoping (Guice 1.0 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.google.inject.commands -
-Interface BindScoping

-
-Deprecated. replaced with Binding.ScopingVisitor -

-

-
@Deprecated
-public interface BindScoping
- - -

-Immutable snapshot of a binding scope. -

- -

-


- -

- - - - - - - - - - - -
-Nested Class Summary
-static interfaceBindScoping.Visitor<V> - -
-          Deprecated.  
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- - - - - -
-<V> V
-
acceptVisitor(BindScoping.Visitor<V> visitor) - -
-          Deprecated.  
- voidexecute(ScopedBindingBuilder scopedBindingBuilder) - -
-          Deprecated.  
- ScopegetScope() - -
-          Deprecated.  
- Class<? extends Annotation>getScopeAnnotation() - -
-          Deprecated.  
- booleanisEagerSingleton() - -
-          Deprecated.  
-  -

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

-execute

-
-void execute(ScopedBindingBuilder scopedBindingBuilder)
-
-
Deprecated. 
-
-
-
-
- -

-isEagerSingleton

-
-boolean isEagerSingleton()
-
-
Deprecated. 
-
-
-
-
- -

-getScope

-
-Scope getScope()
-
-
Deprecated. 
-
-
-
-
- -

-getScopeAnnotation

-
-Class<? extends Annotation> getScopeAnnotation()
-
-
Deprecated. 
-
-
-
-
- -

-acceptVisitor

-
-<V> V acceptVisitor(BindScoping.Visitor<V> visitor)
-
-
Deprecated. 
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/commands/BindTarget.Visitor.html b/latest-javadoc/com/google/inject/commands/BindTarget.Visitor.html deleted file mode 100644 index d9d0e5c1..00000000 --- a/latest-javadoc/com/google/inject/commands/BindTarget.Visitor.html +++ /dev/null @@ -1,280 +0,0 @@ - - - - - - -BindTarget.Visitor (Guice 1.0 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.google.inject.commands -
-Interface BindTarget.Visitor<T,V>

-
-
Enclosing interface:
BindTarget<T>
-
-
-
-
public static interface BindTarget.Visitor<T,V>
- - -

-


- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- VvisitToInstance(T instance) - -
-           
- VvisitToKey(Key<? extends T> key) - -
-           
- VvisitToProvider(Provider<? extends T> provider) - -
-           
- VvisitToProviderKey(Key<? extends Provider<? extends T>> providerKey) - -
-           
- VvisitUntargetted() - -
-           
-  -

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

-visitToInstance

-
-V visitToInstance(T instance)
-
-
-
-
-
-
- -

-visitToProvider

-
-V visitToProvider(Provider<? extends T> provider)
-
-
-
-
-
-
- -

-visitToProviderKey

-
-V visitToProviderKey(Key<? extends Provider<? extends T>> providerKey)
-
-
-
-
-
-
- -

-visitToKey

-
-V visitToKey(Key<? extends T> key)
-
-
-
-
-
-
- -

-visitUntargetted

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

- -com.google.inject.commands -
-Interface BindTarget<T>

-
-Deprecated. replaced with Binding.TargetVisitor -

-

-
@Deprecated
-public interface BindTarget<T>
- - -

-A binding target, which provides instances from a specific key. -

- -

-


- -

- - - - - - - - - - - -
-Nested Class Summary
-static interfaceBindTarget.Visitor<T,V> - -
-          Deprecated.  
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- - - - - -
-<V> V
-
acceptVisitor(BindTarget.Visitor<T,V> visitor) - -
-          Deprecated.  
- voidexecute(ConstantBindingBuilder builder) - -
-          Deprecated. Execute this target against the constant binding builder.
- ScopedBindingBuilderexecute(LinkedBindingBuilder<T> linkedBindingBuilder) - -
-          Deprecated. Execute this target against the linked binding builder.
- Tget() - -
-          Deprecated. Returns the bound instance, if it exists, or null if no bound value exists.
- Key<? extends T>getKey() - -
-          Deprecated.  
- Provider<? extends T>getProvider() - -
-          Deprecated.  
- Key<? extends Provider<? extends T>>getProviderKey() - -
-          Deprecated.  
-  -

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

-execute

-
-ScopedBindingBuilder execute(LinkedBindingBuilder<T> linkedBindingBuilder)
-
-
Deprecated. 
Execute this target against the linked binding builder. -

-

-
-
-
-
- -

-execute

-
-void execute(ConstantBindingBuilder builder)
-
-
Deprecated. 
Execute this target against the constant binding builder. -

-

-
-
-
-
- -

-get

-
-T get()
-
-
Deprecated. 
Returns the bound instance, if it exists, or null if no bound value exists. -

-

-
-
-
-
- -

-getProvider

-
-Provider<? extends T> getProvider()
-
-
Deprecated. 
-
-
-
-
- -

-getProviderKey

-
-Key<? extends Provider<? extends T>> getProviderKey()
-
-
Deprecated. 
-
-
-
-
- -

-getKey

-
-Key<? extends T> getKey()
-
-
Deprecated. 
-
-
-
-
- -

-acceptVisitor

-
-<V> V acceptVisitor(BindTarget.Visitor<T,V> visitor)
-
-
Deprecated. 
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/commands/Command.Visitor.html b/latest-javadoc/com/google/inject/commands/Command.Visitor.html deleted file mode 100644 index d2cddb56..00000000 --- a/latest-javadoc/com/google/inject/commands/Command.Visitor.html +++ /dev/null @@ -1,377 +0,0 @@ - - - - - - -Command.Visitor (Guice 1.0 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.google.inject.commands -
-Interface Command.Visitor<V>

-
-
All Known Implementing Classes:
DefaultCommandVisitor
-
-
-
Enclosing interface:
Command
-
-
-
-
public static interface Command.Visitor<V>
- - -

-Visit commands. -

- -

-


- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- VvisitAddMessage(AddMessageCommand command) - -
-           
- - - - - -
-<T> V
-
visitBind(BindCommand<T> command) - -
-           
- VvisitBindConstant(BindConstantCommand command) - -
-           
- VvisitBindInterceptor(BindInterceptorCommand command) - -
-           
- VvisitBindScope(BindScopeCommand command) - -
-           
- VvisitConvertToTypes(ConvertToTypesCommand command) - -
-           
- - - - - -
-<T> V
-
visitGetProvider(GetProviderCommand<T> command) - -
-           
- VvisitRequestInjection(RequestInjectionCommand command) - -
-           
- VvisitRequestStaticInjection(RequestStaticInjectionCommand command) - -
-           
-  -

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

-visitAddMessage

-
-V visitAddMessage(AddMessageCommand command)
-
-
-
-
-
-
- -

-visitBindInterceptor

-
-V visitBindInterceptor(BindInterceptorCommand command)
-
-
-
-
-
-
- -

-visitBindScope

-
-V visitBindScope(BindScopeCommand command)
-
-
-
-
-
-
- -

-visitRequestInjection

-
-V visitRequestInjection(RequestInjectionCommand command)
-
-
-
-
-
-
- -

-visitRequestStaticInjection

-
-V visitRequestStaticInjection(RequestStaticInjectionCommand command)
-
-
-
-
-
-
- -

-visitBindConstant

-
-V visitBindConstant(BindConstantCommand command)
-
-
-
-
-
-
- -

-visitConvertToTypes

-
-V visitConvertToTypes(ConvertToTypesCommand command)
-
-
-
-
-
-
- -

-visitBind

-
-<T> V visitBind(BindCommand<T> command)
-
-
-
-
-
-
- -

-visitGetProvider

-
-<T> V visitGetProvider(GetProviderCommand<T> command)
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/commands/Command.html b/latest-javadoc/com/google/inject/commands/Command.html deleted file mode 100644 index 17a8411b..00000000 --- a/latest-javadoc/com/google/inject/commands/Command.html +++ /dev/null @@ -1,254 +0,0 @@ - - - - - - -Command (Guice 1.0 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.google.inject.commands -
-Interface Command

-
-
All Known Implementing Classes:
AddMessageCommand, BindCommand, BindConstantCommand, BindInterceptorCommand, BindScopeCommand, ConvertToTypesCommand, GetProviderCommand, RequestInjectionCommand, RequestStaticInjectionCommand
-
-
-Deprecated. replaced with Element -

-

-
@Deprecated
-public interface Command
- - -

-Immutable snapshot of a binding command. -

- -

-


- -

- - - - - - - - - - - -
-Nested Class Summary
-static interfaceCommand.Visitor<V> - -
-          Deprecated. Visit commands.
-  - - - - - - - - - - - - - - - -
-Method Summary
- - - - - -
-<T> T
-
acceptVisitor(Command.Visitor<T> visitor) - -
-          Deprecated.  
- ObjectgetSource() - -
-          Deprecated.  
-  -

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

-getSource

-
-Object getSource()
-
-
Deprecated. 
-
-
-
-
- -

-acceptVisitor

-
-<T> T acceptVisitor(Command.Visitor<T> visitor)
-
-
Deprecated. 
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/commands/CommandRecorder.html b/latest-javadoc/com/google/inject/commands/CommandRecorder.html deleted file mode 100644 index a8134314..00000000 --- a/latest-javadoc/com/google/inject/commands/CommandRecorder.html +++ /dev/null @@ -1,299 +0,0 @@ - - - - - - -CommandRecorder (Guice 1.0 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.google.inject.commands -
-Class CommandRecorder

-
-java.lang.Object
-  extended by com.google.inject.commands.CommandRecorder
-
-
-Deprecated. replaced with Elements.getElements(Module[]) -

-

-
@Deprecated
-public final class CommandRecorder
extends Object
- - -

-Records commands executed by a module so they can be inspected or - replayed. -

- -

-


- -

- - - - - - - - - - - -
-Constructor Summary
CommandRecorder() - -
-          Deprecated.  
-  - - - - - - - - - - - - - - - - - - - -
-Method Summary
- List<Command>recordCommands(Iterable<? extends Module> modules) - -
-          Deprecated. Records the commands executed by modules.
- List<Command>recordCommands(Module... modules) - -
-          Deprecated. Records the commands executed by modules.
- voidsetCurrentStage(Stage currentStage) - -
-          Deprecated. Sets the stage reported by the binder.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

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

-CommandRecorder

-
-public CommandRecorder()
-
-
Deprecated. 
- - - - - - - - -
-Method Detail
- -

-setCurrentStage

-
-public void setCurrentStage(Stage currentStage)
-
-
Deprecated. 
Sets the stage reported by the binder. -

-

-
-
-
-
- -

-recordCommands

-
-public List<Command> recordCommands(Module... modules)
-
-
Deprecated. 
Records the commands executed by modules. -

-

-
-
-
-
- -

-recordCommands

-
-public List<Command> recordCommands(Iterable<? extends Module> modules)
-
-
Deprecated. 
Records the commands executed by modules. -

-

-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/commands/CommandReplayer.html b/latest-javadoc/com/google/inject/commands/CommandReplayer.html deleted file mode 100644 index 62eab51b..00000000 --- a/latest-javadoc/com/google/inject/commands/CommandReplayer.html +++ /dev/null @@ -1,484 +0,0 @@ - - - - - - -CommandReplayer (Guice 1.0 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.google.inject.commands -
-Class CommandReplayer

-
-java.lang.Object
-  extended by com.google.inject.commands.CommandReplayer
-
-
-Deprecated. replaced with ModuleWriter -

-

-
@Deprecated
-public class CommandReplayer
extends Object
- - -

-Executes commands against a binder. -

- -

-


- -

- - - - - - - - - - - -
-Constructor Summary
CommandReplayer() - -
-          Deprecated.  
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- ModulecreateModule(Iterable<? extends Command> commands) - -
-          Deprecated. Returns a module that executes the specified commands - using this executing visitor.
- voidreplay(Binder binder, - Iterable<? extends Command> commands) - -
-          Deprecated. Replays commands against binder.
- voidreplayAddMessageError(Binder binder, - AddMessageCommand command) - -
-          Deprecated.  
- - - - - -
-<T> void
-
replayBind(Binder binder, - BindCommand<T> command) - -
-          Deprecated.  
- voidreplayBindConstant(Binder binder, - BindConstantCommand command) - -
-          Deprecated.  
- voidreplayBindInterceptor(Binder binder, - BindInterceptorCommand command) - -
-          Deprecated.  
- voidreplayBindScope(Binder binder, - BindScopeCommand command) - -
-          Deprecated.  
- voidreplayConvertToTypes(Binder binder, - ConvertToTypesCommand command) - -
-          Deprecated.  
- - - - - -
-<T> void
-
replayGetProvider(Binder binder, - GetProviderCommand<T> command) - -
-          Deprecated.  
- voidreplayRequestInjection(Binder binder, - RequestInjectionCommand command) - -
-          Deprecated.  
- voidreplayRequestStaticInjection(Binder binder, - RequestStaticInjectionCommand command) - -
-          Deprecated.  
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

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

-CommandReplayer

-
-public CommandReplayer()
-
-
Deprecated. 
- - - - - - - - -
-Method Detail
- -

-createModule

-
-public final Module createModule(Iterable<? extends Command> commands)
-
-
Deprecated. 
Returns a module that executes the specified commands - using this executing visitor. -

-

-
-
-
-
- -

-replay

-
-public final void replay(Binder binder,
-                         Iterable<? extends Command> commands)
-
-
Deprecated. 
Replays commands against binder. -

-

-
-
-
-
- -

-replayAddMessageError

-
-public void replayAddMessageError(Binder binder,
-                                  AddMessageCommand command)
-
-
Deprecated. 
-
-
-
-
- -

-replayBindInterceptor

-
-public void replayBindInterceptor(Binder binder,
-                                  BindInterceptorCommand command)
-
-
Deprecated. 
-
-
-
-
- -

-replayBindScope

-
-public void replayBindScope(Binder binder,
-                            BindScopeCommand command)
-
-
Deprecated. 
-
-
-
-
- -

-replayRequestInjection

-
-public void replayRequestInjection(Binder binder,
-                                   RequestInjectionCommand command)
-
-
Deprecated. 
-
-
-
-
- -

-replayRequestStaticInjection

-
-public void replayRequestStaticInjection(Binder binder,
-                                         RequestStaticInjectionCommand command)
-
-
Deprecated. 
-
-
-
-
- -

-replayBindConstant

-
-public void replayBindConstant(Binder binder,
-                               BindConstantCommand command)
-
-
Deprecated. 
-
-
-
-
- -

-replayConvertToTypes

-
-public void replayConvertToTypes(Binder binder,
-                                 ConvertToTypesCommand command)
-
-
Deprecated. 
-
-
-
-
- -

-replayBind

-
-public <T> void replayBind(Binder binder,
-                           BindCommand<T> command)
-
-
Deprecated. 
-
-
-
-
- -

-replayGetProvider

-
-public <T> void replayGetProvider(Binder binder,
-                                  GetProviderCommand<T> command)
-
-
Deprecated. 
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/commands/ConvertToTypesCommand.html b/latest-javadoc/com/google/inject/commands/ConvertToTypesCommand.html deleted file mode 100644 index 1ec0fb20..00000000 --- a/latest-javadoc/com/google/inject/commands/ConvertToTypesCommand.html +++ /dev/null @@ -1,319 +0,0 @@ - - - - - - -ConvertToTypesCommand (Guice 1.0 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.google.inject.commands -
-Class ConvertToTypesCommand

-
-java.lang.Object
-  extended by com.google.inject.commands.ConvertToTypesCommand
-
-
-
All Implemented Interfaces:
Command
-
-
-Deprecated. replaced with TypeConverterBinding -

-

-
@Deprecated
-public final class ConvertToTypesCommand
extends Object
implements Command
- - -

-Immutable snapshot of a request to convert binder types. -

- -

-


- -

- - - - - - - -
-Nested Class Summary
- - - - - - - -
Nested classes/interfaces inherited from interface com.google.inject.commands.Command
Command.Visitor<V>
-  - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- - - - - -
-<T> T
-
acceptVisitor(Command.Visitor<T> visitor) - -
-          Deprecated.  
- ObjectgetSource() - -
-          Deprecated.  
- TypeConvertergetTypeConverter() - -
-          Deprecated.  
- Matcher<? super TypeLiteral<?>>getTypeMatcher() - -
-          Deprecated.  
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

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

-getSource

-
-public Object getSource()
-
-
Deprecated. 
-
Specified by:
getSource in interface Command
-
-
-
-
-
-
- -

-getTypeMatcher

-
-public Matcher<? super TypeLiteral<?>> getTypeMatcher()
-
-
Deprecated. 
-
-
-
-
-
-
-
- -

-getTypeConverter

-
-public TypeConverter getTypeConverter()
-
-
Deprecated. 
-
-
-
-
-
-
-
- -

-acceptVisitor

-
-public <T> T acceptVisitor(Command.Visitor<T> visitor)
-
-
Deprecated. 
-
Specified by:
acceptVisitor in interface Command
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/commands/DefaultCommandVisitor.html b/latest-javadoc/com/google/inject/commands/DefaultCommandVisitor.html deleted file mode 100644 index 6535a8d6..00000000 --- a/latest-javadoc/com/google/inject/commands/DefaultCommandVisitor.html +++ /dev/null @@ -1,477 +0,0 @@ - - - - - - -DefaultCommandVisitor (Guice 1.0 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.google.inject.commands -
-Class DefaultCommandVisitor<V>

-
-java.lang.Object
-  extended by com.google.inject.commands.DefaultCommandVisitor<V>
-
-
-
All Implemented Interfaces:
Command.Visitor<V>
-
-
-Deprecated. replaced with DefaultElementVisitor -

-

-
@Deprecated
-public class DefaultCommandVisitor<V>
extends Object
implements Command.Visitor<V>
- - -

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

- -

-


- -

- - - - - - - - - - - - -
-Constructor Summary
-protected DefaultCommandVisitor() - -
-          Deprecated.  
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- VvisitAddMessage(AddMessageCommand command) - -
-          Deprecated.  
- - - - - -
-<T> V
-
visitBind(BindCommand<T> command) - -
-          Deprecated.  
- VvisitBindConstant(BindConstantCommand command) - -
-          Deprecated.  
- VvisitBindInterceptor(BindInterceptorCommand command) - -
-          Deprecated.  
- VvisitBindScope(BindScopeCommand command) - -
-          Deprecated.  
- VvisitCommand(Command command) - -
-          Deprecated. Visit command and return a result.
- VvisitConvertToTypes(ConvertToTypesCommand command) - -
-          Deprecated.  
- - - - - -
-<T> V
-
visitGetProvider(GetProviderCommand<T> command) - -
-          Deprecated.  
- VvisitRequestInjection(RequestInjectionCommand command) - -
-          Deprecated.  
- VvisitRequestStaticInjection(RequestStaticInjectionCommand command) - -
-          Deprecated.  
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

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

-DefaultCommandVisitor

-
-protected DefaultCommandVisitor()
-
-
Deprecated. 
- - - - - - - - -
-Method Detail
- -

-visitCommand

-
-public V visitCommand(Command command)
-
-
Deprecated. 
Visit command and return a result. -

-

-
-
-
-
-
-
-
- -

-visitAddMessage

-
-public V visitAddMessage(AddMessageCommand command)
-
-
Deprecated. 
-
Specified by:
visitAddMessage in interface Command.Visitor<V>
-
-
-
-
-
-
- -

-visitBind

-
-public <T> V visitBind(BindCommand<T> command)
-
-
Deprecated. 
-
Specified by:
visitBind in interface Command.Visitor<V>
-
-
-
-
-
-
- -

-visitBindConstant

-
-public V visitBindConstant(BindConstantCommand command)
-
-
Deprecated. 
-
Specified by:
visitBindConstant in interface Command.Visitor<V>
-
-
-
-
-
-
- -

-visitBindInterceptor

-
-public V visitBindInterceptor(BindInterceptorCommand command)
-
-
Deprecated. 
-
Specified by:
visitBindInterceptor in interface Command.Visitor<V>
-
-
-
-
-
-
- -

-visitBindScope

-
-public V visitBindScope(BindScopeCommand command)
-
-
Deprecated. 
-
Specified by:
visitBindScope in interface Command.Visitor<V>
-
-
-
-
-
-
- -

-visitConvertToTypes

-
-public V visitConvertToTypes(ConvertToTypesCommand command)
-
-
Deprecated. 
-
Specified by:
visitConvertToTypes in interface Command.Visitor<V>
-
-
-
-
-
-
- -

-visitGetProvider

-
-public <T> V visitGetProvider(GetProviderCommand<T> command)
-
-
Deprecated. 
-
Specified by:
visitGetProvider in interface Command.Visitor<V>
-
-
-
-
-
-
- -

-visitRequestInjection

-
-public V visitRequestInjection(RequestInjectionCommand command)
-
-
Deprecated. 
-
Specified by:
visitRequestInjection in interface Command.Visitor<V>
-
-
-
-
-
-
- -

-visitRequestStaticInjection

-
-public V visitRequestStaticInjection(RequestStaticInjectionCommand command)
-
-
Deprecated. 
-
Specified by:
visitRequestStaticInjection in interface Command.Visitor<V>
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/commands/GetProviderCommand.html b/latest-javadoc/com/google/inject/commands/GetProviderCommand.html deleted file mode 100644 index 201208d9..00000000 --- a/latest-javadoc/com/google/inject/commands/GetProviderCommand.html +++ /dev/null @@ -1,344 +0,0 @@ - - - - - - -GetProviderCommand (Guice 1.0 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.google.inject.commands -
-Class GetProviderCommand<T>

-
-java.lang.Object
-  extended by com.google.inject.commands.GetProviderCommand<T>
-
-
-
All Implemented Interfaces:
Command
-
-
-Deprecated. replaced with ProviderLookup -

-

-
@Deprecated
-public final class GetProviderCommand<T>
extends Object
implements Command
- - -

-Immutable snapshot of a request for a provider. -

- -

-


- -

- - - - - - - -
-Nested Class Summary
- - - - - - - -
Nested classes/interfaces inherited from interface com.google.inject.commands.Command
Command.Visitor<V>
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- - - - - -
-<T> T
-
acceptVisitor(Command.Visitor<T> visitor) - -
-          Deprecated.  
- Provider<T>getDelegate() - -
-          Deprecated. Returns the delegate provider, or null if it has not yet been initialized.
- Key<T>getKey() - -
-          Deprecated.  
- ObjectgetSource() - -
-          Deprecated.  
- voidinitDelegate(Provider<T> delegate) - -
-          Deprecated.  
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

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

-getSource

-
-public Object getSource()
-
-
Deprecated. 
-
Specified by:
getSource in interface Command
-
-
-
-
-
-
- -

-getKey

-
-public Key<T> getKey()
-
-
Deprecated. 
-
-
-
-
-
-
-
- -

-acceptVisitor

-
-public <T> T acceptVisitor(Command.Visitor<T> visitor)
-
-
Deprecated. 
-
Specified by:
acceptVisitor in interface Command
-
-
-
-
-
-
- -

-initDelegate

-
-public void initDelegate(Provider<T> delegate)
-
-
Deprecated. 
-
-
-
-
-
-
-
- -

-getDelegate

-
-public Provider<T> getDelegate()
-
-
Deprecated. 
Returns the delegate provider, or null if it has not yet been initialized. The delegate - will be initialized when this command is replayed, or otherwise used to create an injector. -

-

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

- -com.google.inject.commands -
-Class RequestInjectionCommand

-
-java.lang.Object
-  extended by com.google.inject.commands.RequestInjectionCommand
-
-
-
All Implemented Interfaces:
Command
-
-
-Deprecated. replaced with InjectionRequest -

-

-
@Deprecated
-public final class RequestInjectionCommand
extends Object
implements Command
- - -

-Immutable snapshot of a request for injection. -

- -

-


- -

- - - - - - - -
-Nested Class Summary
- - - - - - - -
Nested classes/interfaces inherited from interface com.google.inject.commands.Command
Command.Visitor<V>
-  - - - - - - - - - - - -
-Constructor Summary
RequestInjectionCommand(Object source, - Object[] instances) - -
-          Deprecated.  
-  - - - - - - - - - - - - - - - - - - - -
-Method Summary
- - - - - -
-<T> T
-
acceptVisitor(Command.Visitor<T> visitor) - -
-          Deprecated.  
- List<Object>getInstances() - -
-          Deprecated.  
- ObjectgetSource() - -
-          Deprecated.  
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

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

-RequestInjectionCommand

-
-public RequestInjectionCommand(Object source,
-                               Object[] instances)
-
-
Deprecated. 
- - - - - - - - -
-Method Detail
- -

-getSource

-
-public Object getSource()
-
-
Deprecated. 
-
Specified by:
getSource in interface Command
-
-
-
-
-
-
- -

-getInstances

-
-public List<Object> getInstances()
-
-
Deprecated. 
-
-
-
-
-
-
-
- -

-acceptVisitor

-
-public <T> T acceptVisitor(Command.Visitor<T> visitor)
-
-
Deprecated. 
-
Specified by:
acceptVisitor in interface Command
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/commands/RequestStaticInjectionCommand.html b/latest-javadoc/com/google/inject/commands/RequestStaticInjectionCommand.html deleted file mode 100644 index 082323c4..00000000 --- a/latest-javadoc/com/google/inject/commands/RequestStaticInjectionCommand.html +++ /dev/null @@ -1,297 +0,0 @@ - - - - - - -RequestStaticInjectionCommand (Guice 1.0 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.google.inject.commands -
-Class RequestStaticInjectionCommand

-
-java.lang.Object
-  extended by com.google.inject.commands.RequestStaticInjectionCommand
-
-
-
All Implemented Interfaces:
Command
-
-
-Deprecated. replaced with StaticInjectionRequest -

-

-
@Deprecated
-public final class RequestStaticInjectionCommand
extends Object
implements Command
- - -

-Immutable snapshot of a request for static injection. -

- -

-


- -

- - - - - - - -
-Nested Class Summary
- - - - - - - -
Nested classes/interfaces inherited from interface com.google.inject.commands.Command
Command.Visitor<V>
-  - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- - - - - -
-<T> T
-
acceptVisitor(Command.Visitor<T> visitor) - -
-          Deprecated.  
- ObjectgetSource() - -
-          Deprecated.  
- List<Class>getTypes() - -
-          Deprecated.  
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

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

-getSource

-
-public Object getSource()
-
-
Deprecated. 
-
Specified by:
getSource in interface Command
-
-
-
-
-
-
- -

-getTypes

-
-public List<Class> getTypes()
-
-
Deprecated. 
-
-
-
-
-
-
-
- -

-acceptVisitor

-
-public <T> T acceptVisitor(Command.Visitor<T> visitor)
-
-
Deprecated. 
-
Specified by:
acceptVisitor in interface Command
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/commands/package-frame.html b/latest-javadoc/com/google/inject/commands/package-frame.html deleted file mode 100644 index f82adfba..00000000 --- a/latest-javadoc/com/google/inject/commands/package-frame.html +++ /dev/null @@ -1,75 +0,0 @@ - - - - - - -com.google.inject.commands (Guice 1.0 API) - - - - - - - - - - - -com.google.inject.commands - - - - -
-Interfaces  - -
-BindScoping -
-BindScoping.Visitor -
-BindTarget -
-BindTarget.Visitor -
-Command -
-Command.Visitor
- - - - - - -
-Classes  - -
-AddMessageCommand -
-BindCommand -
-BindConstantCommand -
-BindInterceptorCommand -
-BindScopeCommand -
-CommandRecorder -
-CommandReplayer -
-ConvertToTypesCommand -
-DefaultCommandVisitor -
-GetProviderCommand -
-RequestInjectionCommand -
-RequestStaticInjectionCommand
- - - - diff --git a/latest-javadoc/com/google/inject/commands/package-summary.html b/latest-javadoc/com/google/inject/commands/package-summary.html deleted file mode 100644 index dca82c6e..00000000 --- a/latest-javadoc/com/google/inject/commands/package-summary.html +++ /dev/null @@ -1,247 +0,0 @@ - - - - - - -com.google.inject.commands (Guice 1.0 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-

-Package com.google.inject.commands -

-Extension for recording, reviewing and instrumenting the commands executed - by a module. -

-See: -
-          Description -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Interface Summary
BindScopingDeprecated. replaced with Binding.ScopingVisitor
BindScoping.Visitor<V> 
BindTarget<T>Deprecated. replaced with Binding.TargetVisitor
BindTarget.Visitor<T,V> 
CommandDeprecated. replaced with Element
Command.Visitor<V>Visit commands.
-  - -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Class Summary
AddMessageCommandDeprecated. replaced with Message
BindCommand<T>Deprecated. replaced with Binding
BindConstantCommandDeprecated. replaced with Binding
BindInterceptorCommandDeprecated. replaced with InterceptorBinding
BindScopeCommandDeprecated. replaced with ScopeBinding
CommandRecorderDeprecated. replaced with Elements.getElements(Module[])
CommandReplayerDeprecated. replaced with ModuleWriter
ConvertToTypesCommandDeprecated. replaced with TypeConverterBinding
DefaultCommandVisitor<V>Deprecated. replaced with DefaultElementVisitor
GetProviderCommand<T>Deprecated. replaced with ProviderLookup
RequestInjectionCommandDeprecated. replaced with InjectionRequest
RequestStaticInjectionCommandDeprecated. replaced with StaticInjectionRequest
-  - -

-

-Package com.google.inject.commands Description -

- -

-Extension for recording, reviewing and instrumenting the commands executed - by a module. -

- -

-

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

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

-
-
-
Package Hierarchies:
All Packages
-
-

-Class Hierarchy -

- -

-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 d3965814..00000000 --- a/latest-javadoc/com/google/inject/jndi/JndiIntegration.html +++ /dev/null @@ -1,235 +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 19b25380..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 a05c1a57..00000000 --- a/latest-javadoc/com/google/inject/jndi/package-summary.html +++ /dev/null @@ -1,167 +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 f905bafc..00000000 --- a/latest-javadoc/com/google/inject/jndi/package-tree.html +++ /dev/null @@ -1,147 +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 fc6a2604..00000000 --- a/latest-javadoc/com/google/inject/matcher/AbstractMatcher.html +++ /dev/null @@ -1,298 +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 eac251a5..00000000 --- a/latest-javadoc/com/google/inject/matcher/Matcher.html +++ /dev/null @@ -1,256 +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 01444b90..00000000 --- a/latest-javadoc/com/google/inject/matcher/Matchers.html +++ /dev/null @@ -1,424 +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. -

-

-
-
-
-
- -

-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 4f6d423a..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 60453b19..00000000 --- a/latest-javadoc/com/google/inject/matcher/package-summary.html +++ /dev/null @@ -1,186 +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 e767e6d2..00000000 --- a/latest-javadoc/com/google/inject/matcher/package-tree.html +++ /dev/null @@ -1,153 +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 74517de2..00000000 --- a/latest-javadoc/com/google/inject/multibindings/MapBinder.html +++ /dev/null @@ -1,380 +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, - Type keyType, - Type 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, - Type keyType, - Type 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, - Type keyType, - Type 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,
-                                                Type keyType,
-                                                Type 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,
-                                                Type keyType,
-                                                Type 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,
-                                                Type keyType,
-                                                Type 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 2f4fda35..00000000 --- a/latest-javadoc/com/google/inject/multibindings/Multibinder.html +++ /dev/null @@ -1,367 +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, - Type 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, - Type 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, - Type 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,
-                                              Type 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,
-                                              Type 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,
-                                              Type 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 a5a92d83..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 844b76e9..00000000 --- a/latest-javadoc/com/google/inject/multibindings/package-summary.html +++ /dev/null @@ -1,173 +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 b9fecc3a..00000000 --- a/latest-javadoc/com/google/inject/multibindings/package-tree.html +++ /dev/null @@ -1,147 +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 5a1b8edf..00000000 --- a/latest-javadoc/com/google/inject/name/Named.html +++ /dev/null @@ -1,208 +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 e6ef228e..00000000 --- a/latest-javadoc/com/google/inject/name/Names.html +++ /dev/null @@ -1,270 +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 bcbe8ec6..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 b01d50a8..00000000 --- a/latest-javadoc/com/google/inject/name/package-summary.html +++ /dev/null @@ -1,181 +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 7f7504c9..00000000 --- a/latest-javadoc/com/google/inject/name/package-tree.html +++ /dev/null @@ -1,153 +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 9e60883e..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 -
-Binding.ScopingVisitor -
-Binding.TargetVisitor -
-Injector -
-Module -
-Provider -
-Scope
- - - - - - -
-Classes  - -
-AbstractModule -
-Guice -
-Key -
-ProviderMethods -
-Scopes -
-TypeLiteral
- - - - - - -
-Enums  - -
-Stage
- - - - - - -
-Exceptions  - -
-CreationException -
-OutOfScopeException -
-ProvisionException
- - - - - - -
-Annotation Types  - -
-BindingAnnotation -
-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 fe73d707..00000000 --- a/latest-javadoc/com/google/inject/package-summary.html +++ /dev/null @@ -1,340 +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.
Binding.ScopingVisitor<V>Visits each of the strategies used to scope an injection.
Binding.TargetVisitor<T,V>Visits each of the strategies used to find an instance to satisfy an injection.
InjectorFulfills requests for the object instances that make up your application, - always ensuring that these instances are properly injected before they are - returned.
ModuleA module contributes configuration information, typically interface - bindings, which will be used to create an Injector.
Provider<T>Simply, any 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.
ProviderMethodsCreates bindings to methods annotated with @ - Provides.
ScopesBuilt in scope implementations.
TypeLiteral<T>Represents a generic type T.
-  - -

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

- - - - - - - - - - - - - - - - - -
-Exception Summary
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 a failure to provide an instance.
-  - -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Annotation Types Summary
BindingAnnotationAnnotates annotations which are used for binding.
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 which can be used as providers.
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 c8588b15..00000000 --- a/latest-javadoc/com/google/inject/package-tree.html +++ /dev/null @@ -1,186 +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 dee41510..00000000 --- a/latest-javadoc/com/google/inject/servlet/GuiceFilter.html +++ /dev/null @@ -1,313 +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 to all requests where you plan to use servlet scopes. -

- -

-


- -

- - - - - - - - - - - -
-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 d586f08e..00000000 --- a/latest-javadoc/com/google/inject/servlet/GuiceServletContextListener.html +++ /dev/null @@ -1,306 +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
- - -

-Register your own subclass of this as a servlet context listener if you wish - to have injectable servlets that extend InjectedHttpServlet. -

- -

-


- -

- - - - - - - - - - - -
-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/InjectedHttpServlet.html b/latest-javadoc/com/google/inject/servlet/InjectedHttpServlet.html deleted file mode 100644 index 3f7bf8e8..00000000 --- a/latest-javadoc/com/google/inject/servlet/InjectedHttpServlet.html +++ /dev/null @@ -1,286 +0,0 @@ - - - - - - -InjectedHttpServlet (Guice 1.0 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.google.inject.servlet -
-Class InjectedHttpServlet

-
-java.lang.Object
-  extended by javax.servlet.GenericServlet
-      extended by javax.servlet.http.HttpServlet
-          extended by com.google.inject.servlet.InjectedHttpServlet
-
-
-
All Implemented Interfaces:
Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
-
-
-
-
public abstract class InjectedHttpServlet
extends javax.servlet.http.HttpServlet
- - -

-Base class to be extended by all servlets that desire field and method - injection to be performed during Servlet.init(javax.servlet.ServletConfig). - Constructor injection is not possible. To use this you must also - register your own subclass of GuiceServletContextListener as a - servlet context listener. -

- -

-

-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - -
-Constructor Summary
InjectedHttpServlet() - -
-           
-  - - - - - - - - - - - -
-Method Summary
- voidinit(javax.servlet.ServletConfig config) - -
-           
- - - - - - - -
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service
- - - - - - - -
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

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

-InjectedHttpServlet

-
-public InjectedHttpServlet()
-
-
- - - - - - - - -
-Method Detail
- -

-init

-
-public void init(javax.servlet.ServletConfig config)
-          throws javax.servlet.ServletException
-
-
-
Specified by:
init in interface javax.servlet.Servlet
Overrides:
init in class javax.servlet.GenericServlet
-
-
- -
Throws: -
javax.servlet.ServletException
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - 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 c3a4b8ce..00000000 --- a/latest-javadoc/com/google/inject/servlet/RequestParameters.html +++ /dev/null @@ -1,169 +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 ef8d8a02..00000000 --- a/latest-javadoc/com/google/inject/servlet/RequestScoped.html +++ /dev/null @@ -1,168 +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.html b/latest-javadoc/com/google/inject/servlet/ServletModule.html deleted file mode 100644 index d44ee140..00000000 --- a/latest-javadoc/com/google/inject/servlet/ServletModule.html +++ /dev/null @@ -1,271 +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. -

- -

-


- -

- - - - - - - - - - - -
-Constructor Summary
ServletModule() - -
-           
-  - - - - - - - - - - - -
-Method Summary
-protected  voidconfigure() - -
-          Configures a Binder via the exposed methods.
- - - - - - - -
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 void configure()
-
-
Description copied from class: AbstractModule
-
Configures a Binder via the exposed methods. -

-

-
Specified by:
configure in class AbstractModule
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - 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 b416507c..00000000 --- a/latest-javadoc/com/google/inject/servlet/ServletScopes.html +++ /dev/null @@ -1,248 +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 a1c29a04..00000000 --- a/latest-javadoc/com/google/inject/servlet/SessionScoped.html +++ /dev/null @@ -1,170 +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 edac86e9..00000000 --- a/latest-javadoc/com/google/inject/servlet/package-frame.html +++ /dev/null @@ -1,55 +0,0 @@ - - - - - - -com.google.inject.servlet (Guice 1.0 API) - - - - - - - - - - - -com.google.inject.servlet - - - - -
-Classes  - -
-GuiceFilter -
-GuiceServletContextListener -
-InjectedHttpServlet -
-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 6d58df02..00000000 --- a/latest-javadoc/com/google/inject/servlet/package-summary.html +++ /dev/null @@ -1,212 +0,0 @@ - - - - - - -com.google.inject.servlet (Guice 1.0 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-

-Package com.google.inject.servlet -

-Servlet API scopes and bindings. -

-See: -
-          Description -

- - - - - - - - - - - - - - - - - - - - - - - - - -
-Class Summary
GuiceFilterApply this filter to all requests where you plan to use servlet scopes.
GuiceServletContextListenerRegister your own subclass of this as a servlet context listener if you wish - to have injectable servlets that extend InjectedHttpServlet.
InjectedHttpServletBase class to be extended by all servlets that desire field and method - injection to be performed during Servlet.init(javax.servlet.ServletConfig).
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 ServletModule - into your com.google.inject.BinderImpl 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 70308539..00000000 --- a/latest-javadoc/com/google/inject/servlet/package-tree.html +++ /dev/null @@ -1,166 +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 -

- -

-Annotation Type Hierarchy -

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

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

-
-java.lang.Object
-  extended by com.google.inject.spi.DefaultBindTargetVisitor<T,V>
-
-
-
All Implemented Interfaces:
Binding.TargetVisitor<T,V>
-
-
-
-
public class DefaultBindTargetVisitor<T,V>
extends Object
implements Binding.TargetVisitor<T,V>
- - -

-


- -

- - - - - - - - - - - -
-Constructor Summary
DefaultBindTargetVisitor() - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- VvisitConstructor(Constructor<? extends T> constructor) - -
-          Visit a constructor binding.
- VvisitConvertedConstant(T value) - -
-          Visit a binding created from converting a bound instance to a new type.
- VvisitInstance(T instance) - -
-          Visit a instance binding.
- VvisitKey(Key<? extends T> key) - -
-          Visit a linked key binding.
-protected  VvisitOther() - -
-           
- VvisitProvider(Provider<? extends T> provider) - -
-          Visit a provider instance binding.
- VvisitProviderBinding(Key<?> provided) - -
-          Visit a binding to a Provider that delegates to the binding for the provided type.
- VvisitProviderKey(Key<? extends Provider<? extends T>> providerKey) - -
-          Visit a provider key binding.
- VvisitUntargetted() - -
-          Visit an untargetted binding.
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

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

-DefaultBindTargetVisitor

-
-public DefaultBindTargetVisitor()
-
-
- - - - - - - - -
-Method Detail
- -

-visitOther

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

-visitInstance

-
-public V visitInstance(T instance)
-
-
Description copied from interface: Binding.TargetVisitor
-
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 Binding.TargetVisitor<T,V>
-
-
-
Parameters:
instance - the user-supplied value
-
-
-
- -

-visitProvider

-
-public V visitProvider(Provider<? extends T> provider)
-
-
Description copied from interface: Binding.TargetVisitor
-
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:
visitProvider in interface Binding.TargetVisitor<T,V>
-
-
-
Parameters:
provider - the user-supplied, unscoped provider
-
-
-
- -

-visitProviderKey

-
-public V visitProviderKey(Key<? extends Provider<? extends T>> providerKey)
-
-
Description copied from interface: Binding.TargetVisitor
-
Visit a provider key binding. To resolve injections, the provider injection 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 Binding.TargetVisitor<T,V>
-
-
-
Parameters:
providerKey - the key used to resolve the provider's binding. That binding can be - retrieved from an injector using Injector.getBinding(providerKey)
-
-
-
- -

-visitKey

-
-public V visitKey(Key<? extends T> key)
-
-
Description copied from interface: Binding.TargetVisitor
-
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:
visitKey in interface Binding.TargetVisitor<T,V>
-
-
-
Parameters:
key - the linked key used to resolve injections. That binding can be retrieved from an - injector using Injector.getBinding(key)
-
-
-
- -

-visitUntargetted

-
-public V visitUntargetted()
-
-
Description copied from interface: Binding.TargetVisitor
-
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 Binding.TargetVisitor<T,V>
-
-
-
-
-
-
- -

-visitConstructor

-
-public V visitConstructor(Constructor<? extends T> constructor)
-
-
Description copied from interface: Binding.TargetVisitor
-
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 Binding.TargetVisitor<T,V>
-
-
-
Parameters:
constructor - the annotated or default constructor that is invoked for - creating values
-
-
-
- -

-visitConvertedConstant

-
-public V visitConvertedConstant(T value)
-
-
Description copied from interface: Binding.TargetVisitor
-
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 Binding.TargetVisitor<T,V>
-
-
-
Parameters:
value - the converted value
-
-
-
- -

-visitProviderBinding

-
-public V visitProviderBinding(Key<?> provided)
-
-
Description copied from interface: Binding.TargetVisitor
-
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 Binding.TargetVisitor<T,V>
-
-
-
Parameters:
provided - the key whose binding is used to provide instances. That - binding can be retrieved from an injector using Injector.getBinding(provided)
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - 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 fcd6655a..00000000 --- a/latest-javadoc/com/google/inject/spi/DefaultElementVisitor.html +++ /dev/null @@ -1,481 +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:
Element.Visitor<V>
-
-
-
-
public abstract class DefaultElementVisitor<V>
extends Object
implements Element.Visitor<V>
- - -

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

- -

-


- -

- - - - - - - - - - - - -
-Constructor Summary
-protected DefaultElementVisitor() - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- - - - - -
-<T> V
-
visitBinding(Binding<T> command) - -
-          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 command) - -
-          Visit a request to inject the instance fields and methods of an instance.
- VvisitInterceptorBinding(InterceptorBinding command) - -
-          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.
- - - - - -
-<T> V
-
visitProviderLookup(ProviderLookup<T> command) - -
-          Visit a lookup of the provider for a type.
- VvisitScopeBinding(ScopeBinding command) - -
-          Visit a registration of a scope annotation with the scope that implements it.
- VvisitStaticInjectionRequest(StaticInjectionRequest command) - -
-          Visit a request to inject the static fields and methods of type.
- VvisitTypeConverterBinding(TypeConverterBinding command) - -
-          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

-
-protected 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: Element.Visitor
-
Visit an error message and the context in which it occured. -

-

-
Specified by:
visitMessage in interface Element.Visitor<V>
-
-
-
-
-
-
- -

-visitBinding

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

-

-
Specified by:
visitBinding in interface Element.Visitor<V>
-
-
-
-
-
-
- -

-visitInterceptorBinding

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

-

-
Specified by:
visitInterceptorBinding in interface Element.Visitor<V>
-
-
-
-
-
-
- -

-visitScopeBinding

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

-

-
Specified by:
visitScopeBinding in interface Element.Visitor<V>
-
-
-
-
-
-
- -

-visitTypeConverterBinding

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

-

-
Specified by:
visitTypeConverterBinding in interface Element.Visitor<V>
-
-
-
-
-
-
- -

-visitProviderLookup

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

-

-
Specified by:
visitProviderLookup in interface Element.Visitor<V>
-
-
-
-
-
-
- -

-visitInjectionRequest

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

-

-
Specified by:
visitInjectionRequest in interface Element.Visitor<V>
-
-
-
-
-
-
- -

-visitStaticInjectionRequest

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

-

-
Specified by:
visitStaticInjectionRequest in interface Element.Visitor<V>
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/spi/Element.Visitor.html b/latest-javadoc/com/google/inject/spi/Element.Visitor.html deleted file mode 100644 index 21288de7..00000000 --- a/latest-javadoc/com/google/inject/spi/Element.Visitor.html +++ /dev/null @@ -1,379 +0,0 @@ - - - - - - -Element.Visitor (Guice 1.0 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.google.inject.spi -
-Interface Element.Visitor<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
-
-
-
Enclosing interface:
Element
-
-
-
-
public static interface Element.Visitor<V>
- - -

-Visit elements. -

- -

-


- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-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.
- - - - - -
-<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. -

-

-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - 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 30a2ead6..00000000 --- a/latest-javadoc/com/google/inject/spi/Element.html +++ /dev/null @@ -1,270 +0,0 @@ - - - - - - -Element (Guice 1.0 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

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

-
-
All Known Subinterfaces:
Binding<T>
-
-
-
All Known Implementing Classes:
InjectionRequest, InterceptorBinding, Message, 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(com.google.inject.Module[]) 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. -

- -

-


- -

- - - - - - - - - - - -
-Nested Class Summary
-static interfaceElement.Visitor<V> - -
-          Visit elements.
-  - - - - - - - - - - - - - - - -
-Method Summary
- - - - - -
-<T> T
-
acceptVisitor(Element.Visitor<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(Element.Visitor<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/Elements.html b/latest-javadoc/com/google/inject/spi/Elements.html deleted file mode 100644 index 59f14e1c..00000000 --- a/latest-javadoc/com/google/inject/spi/Elements.html +++ /dev/null @@ -1,346 +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. -

- -

-


- -

- - - - - - - - - - - -
-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.
-static - - - - -
-<T> Binding.TargetVisitor<T,T>
-
getInstanceVisitor() - -
-           
- - - - - - - -
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. -

-

-
-
-
-
- -

-getInstanceVisitor

-
-public static <T> Binding.TargetVisitor<T,T> getInstanceVisitor()
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/com/google/inject/spi/HasInjections.html b/latest-javadoc/com/google/inject/spi/HasInjections.html deleted file mode 100644 index f74af43d..00000000 --- a/latest-javadoc/com/google/inject/spi/HasInjections.html +++ /dev/null @@ -1,208 +0,0 @@ - - - - - - -HasInjections (Guice 1.0 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.google.inject.spi -
-Interface HasInjections

-
-
-
public interface HasInjections
- - -

-Implemented by bindings which have implementation dependencies on other - bindings. -

- -

-


- -

- - - - - - - - - - - - -
-Method Summary
- Collection<InjectionPoint<?>>getInjectionPoints() - -
-          Gets dependencies.
-  -

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

-getInjectionPoints

-
-Collection<InjectionPoint<?>> getInjectionPoints()
-
-
Gets dependencies. -

-

-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - 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 1716a743..00000000 --- a/latest-javadoc/com/google/inject/spi/InjectionPoint.html +++ /dev/null @@ -1,447 +0,0 @@ - - - - - - -InjectionPoint (Guice 1.0 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

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

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

-An immutable snapshot of where the value is to be injected. -

- -

-

-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- booleanallowsNull() - -
-           
- - - - - -
-<T> T
-
checkForNull(com.google.inject.internal.Errors errors, - T value, - Object source) - -
-           
- Key<T>getKey() - -
-           
- MembergetMember() - -
-           
- intgetParameterIndex() - -
-           
-static - - - - -
-<T> InjectionPoint<T>
-
newInstance(Field field, - boolean allowsNull, - Key<T> key) - -
-           
-static - - - - -
-<T> InjectionPoint<T>
-
newInstance(Key<T> key) - -
-           
-static - - - - -
-<T> InjectionPoint<T>
-
newInstance(Member member, - int parameterIndex, - boolean allowsNull, - Key<T> key) - -
-           
- StringtoString() - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

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

-getKey

-
-public Key<T> getKey()
-
-
-
-
-
-
-
-
-
- -

-getMember

-
-public Member getMember()
-
-
-
-
-
-
-
-
-
- -

-getParameterIndex

-
-public int getParameterIndex()
-
-
-
-
-
-
-
-
-
- -

-allowsNull

-
-public boolean allowsNull()
-
-
-
-
-
-
-
-
-
- -

-toString

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

-checkForNull

-
-public <T> T checkForNull(com.google.inject.internal.Errors errors,
-                          T value,
-                          Object source)
-               throws com.google.inject.internal.ErrorsException
-
-
-
-
-
- -
Throws: -
com.google.inject.internal.ErrorsException
-
-
-
- -

-newInstance

-
-public static <T> InjectionPoint<T> newInstance(Field field,
-                                                boolean allowsNull,
-                                                Key<T> key)
-
-
-
-
-
-
-
-
-
- -

-newInstance

-
-public static <T> InjectionPoint<T> newInstance(Key<T> key)
-
-
-
-
-
-
-
-
-
- -

-newInstance

-
-public static <T> InjectionPoint<T> newInstance(Member member,
-                                                int parameterIndex,
-                                                boolean allowsNull,
-                                                Key<T> key)
-
-
-
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - 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 5dab10b3..00000000 --- a/latest-javadoc/com/google/inject/spi/InjectionRequest.html +++ /dev/null @@ -1,344 +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);
-

- -

-


- -

- - - - - - - -
-Nested Class Summary
- - - - - - - -
Nested classes/interfaces inherited from interface com.google.inject.spi.Element
Element.Visitor<V>
-  - - - - - - - - - - - -
-Constructor Summary
InjectionRequest(Object source, - Object[] instances) - -
-           
-  - - - - - - - - - - - - - - - - - - - -
-Method Summary
- - - - - -
-<T> T
-
acceptVisitor(Element.Visitor<T> visitor) - -
-          Accepts an element visitor.
- List<Object>getInstances() - -
-           
- 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[] instances)
-
-
- - - - - - - - -
-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
-
-
-
-
-
-
- -

-getInstances

-
-public List<Object> getInstances()
-
-
-
-
-
-
-
-
-
- -

-acceptVisitor

-
-public <T> T acceptVisitor(Element.Visitor<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/InterceptorBinding.html b/latest-javadoc/com/google/inject/spi/InterceptorBinding.html deleted file mode 100644 index 26acd10b..00000000 --- a/latest-javadoc/com/google/inject/spi/InterceptorBinding.html +++ /dev/null @@ -1,355 +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());
-

- -

-


- -

- - - - - - - -
-Nested Class Summary
- - - - - - - -
Nested classes/interfaces inherited from interface com.google.inject.spi.Element
Element.Visitor<V>
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- - - - - -
-<T> T
-
acceptVisitor(Element.Visitor<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(Element.Visitor<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/Message.html b/latest-javadoc/com/google/inject/spi/Message.html deleted file mode 100644 index e3b38a13..00000000 --- a/latest-javadoc/com/google/inject/spi/Message.html +++ /dev/null @@ -1,516 +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
-
- -

- - - - - - - -
-Nested Class Summary
- - - - - - - -
Nested classes/interfaces inherited from interface com.google.inject.spi.Element
Element.Visitor<V>
-  - - - - - - - - - - - - - - - - - - - - -
-Constructor Summary
Message(Object source, - String message) - -
-           
Message(Object source, - String message, - List<InjectionPoint> injectionPoints, - Throwable cause) - -
-           
Message(Object source, - Throwable throwable) - -
-           
Message(String message) - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- - - - - -
-<T> T
-
acceptVisitor(Element.Visitor<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.
- List<InjectionPoint>getInjectionPoints() - -
-           
- StringgetMessage() - -
-          Gets the error message text.
- StringgetSource() - -
-          Returns an arbitrary object containing information about the "place" where this element was - configured.
- inthashCode() - -
-           
- StringtoString() - -
-           
- - - - - - - -
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-  -

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

-Message

-
-public Message(Object source,
-               String message,
-               List<InjectionPoint> injectionPoints,
-               Throwable cause)
-
-
-
- -

-Message

-
-public Message(Object source,
-               Throwable throwable)
-
-
-
- -

-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
-
-
-
-
-
-
- -

-getMessage

-
-public String getMessage()
-
-
Gets the error message text. -

-

-
-
-
-
-
-
-
- -

-getInjectionPoints

-
-public List<InjectionPoint> getInjectionPoints()
-
-
-
-
-
-
-
-
-
- -

-acceptVisitor

-
-public <T> T acceptVisitor(Element.Visitor<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
-
-
-
- -

-getCause

-
-public Throwable getCause()
-
-
Returns the throwable that caused this message, or null if this - message was not caused by a throwable. -

-

-
-
-
-
-
-
-
- -

-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 daa53bb7..00000000 --- a/latest-javadoc/com/google/inject/spi/ModuleWriter.html +++ /dev/null @@ -1,511 +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. -

- -

-


- -

- - - - - - - - - - - -
-Constructor Summary
ModuleWriter() - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- voidapply(Binder binder, - Iterable<? extends Element> elements) - -
-          Replays elements against binder.
- voidapplyScoping(Binding<?> binding, - ScopedBindingBuilder scopedBindingBuilder) - -
-           
- - - - - -
-<T> ScopedBindingBuilder
-
applyTarget(Binding<T> binding, - LinkedBindingBuilder<T> linkedBindingBuilder) - -
-          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.
- - - - - -
-<T> void
-
writeBind(Binder binder, - Binding<T> element) - -
-           
- voidwriteBindInterceptor(Binder binder, - InterceptorBinding element) - -
-           
- voidwriteBindScope(Binder binder, - ScopeBinding element) - -
-           
- voidwriteConvertToTypes(Binder binder, - TypeConverterBinding element) - -
-           
- - - - - -
-<T> void
-
writeGetProvider(Binder binder, - ProviderLookup<T> element) - -
-           
- voidwriteMessage(Binder binder, - Message element) - -
-           
- voidwriteRequestInjection(Binder binder, - InjectionRequest command) - -
-           
- 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

-
-public void writeMessage(Binder binder,
-                         Message element)
-
-
-
-
-
-
- -

-writeBindInterceptor

-
-public void writeBindInterceptor(Binder binder,
-                                 InterceptorBinding element)
-
-
-
-
-
-
- -

-writeBindScope

-
-public void writeBindScope(Binder binder,
-                           ScopeBinding element)
-
-
-
-
-
-
- -

-writeRequestInjection

-
-public void writeRequestInjection(Binder binder,
-                                  InjectionRequest command)
-
-
-
-
-
-
- -

-writeRequestStaticInjection

-
-public void writeRequestStaticInjection(Binder binder,
-                                        StaticInjectionRequest element)
-
-
-
-
-
-
- -

-writeConvertToTypes

-
-public void writeConvertToTypes(Binder binder,
-                                TypeConverterBinding element)
-
-
-
-
-
-
- -

-writeBind

-
-public <T> void writeBind(Binder binder,
-                          Binding<T> element)
-
-
-
-
-
-
- -

-applyTarget

-
-public <T> ScopedBindingBuilder applyTarget(Binding<T> binding,
-                                            LinkedBindingBuilder<T> linkedBindingBuilder)
-
-
Execute this target against the linked binding builder. -

-

-
-
-
-
- -

-applyScoping

-
-public void applyScoping(Binding<?> binding,
-                         ScopedBindingBuilder scopedBindingBuilder)
-
-
-
-
-
-
- -

-writeGetProvider

-
-public <T> void writeGetProvider(Binder binder,
-                                 ProviderLookup<T> element)
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - 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 5cb82896..00000000 --- a/latest-javadoc/com/google/inject/spi/ProviderLookup.html +++ /dev/null @@ -1,357 +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);
-

- -

-


- -

- - - - - - - -
-Nested Class Summary
- - - - - - - -
Nested classes/interfaces inherited from interface com.google.inject.spi.Element
Element.Visitor<V>
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- - - - - -
-<T> T
-
acceptVisitor(Element.Visitor<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(Element.Visitor<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/ScopeBinding.html b/latest-javadoc/com/google/inject/spi/ScopeBinding.html deleted file mode 100644 index 7ca9ae3a..00000000 --- a/latest-javadoc/com/google/inject/spi/ScopeBinding.html +++ /dev/null @@ -1,333 +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());
-

- -

-


- -

- - - - - - - -
-Nested Class Summary
- - - - - - - -
Nested classes/interfaces inherited from interface com.google.inject.spi.Element
Element.Visitor<V>
-  - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- - - - - -
-<T> T
-
acceptVisitor(Element.Visitor<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(Element.Visitor<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 03dde477..00000000 --- a/latest-javadoc/com/google/inject/spi/StaticInjectionRequest.html +++ /dev/null @@ -1,309 +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);
-

- -

-


- -

- - - - - - - -
-Nested Class Summary
- - - - - - - -
Nested classes/interfaces inherited from interface com.google.inject.spi.Element
Element.Visitor<V>
-  - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- - - - - -
-<T> T
-
acceptVisitor(Element.Visitor<T> visitor) - -
-          Accepts an element visitor.
- ObjectgetSource() - -
-          Returns an arbitrary object containing information about the "place" where this element was - configured.
- List<Class>getTypes() - -
-           
- - - - - - - -
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
-
-
-
-
-
-
- -

-getTypes

-
-public List<Class> getTypes()
-
-
-
-
-
-
-
-
-
- -

-acceptVisitor

-
-public <T> T acceptVisitor(Element.Visitor<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 5b9cc522..00000000 --- a/latest-javadoc/com/google/inject/spi/TypeConverter.html +++ /dev/null @@ -1,209 +0,0 @@ - - - - - - -TypeConverter (Guice 1.0 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -com.google.inject.spi -
-Interface TypeConverter

-
-
-
public interface TypeConverter
- - -

-Converts constant string values to a different type. -

- -

-


- -

- - - - - - - - - - - - -
-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 fa6f50f5..00000000 --- a/latest-javadoc/com/google/inject/spi/TypeConverterBinding.html +++ /dev/null @@ -1,331 +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());
-

- -

-


- -

- - - - - - - -
-Nested Class Summary
- - - - - - - -
Nested classes/interfaces inherited from interface com.google.inject.spi.Element
Element.Visitor<V>
-  - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- - - - - -
-<T> T
-
acceptVisitor(Element.Visitor<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(Element.Visitor<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/package-frame.html b/latest-javadoc/com/google/inject/spi/package-frame.html deleted file mode 100644 index a4d626a9..00000000 --- a/latest-javadoc/com/google/inject/spi/package-frame.html +++ /dev/null @@ -1,71 +0,0 @@ - - - - - - -com.google.inject.spi (Guice 1.0 API) - - - - - - - - - - - -com.google.inject.spi - - - - -
-Interfaces  - -
-Element -
-Element.Visitor -
-HasInjections -
-TypeConverter
- - - - - - -
-Classes  - -
-DefaultBindTargetVisitor -
-DefaultElementVisitor -
-Elements -
-InjectionPoint -
-InjectionRequest -
-InterceptorBinding -
-Message -
-ModuleWriter -
-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 7693c8ef..00000000 --- a/latest-javadoc/com/google/inject/spi/package-summary.html +++ /dev/null @@ -1,238 +0,0 @@ - - - - - - -com.google.inject.spi (Guice 1.0 API) - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-

-Package com.google.inject.spi -

-Guice service provider interface -

-See: -
-          Description -

- - - - - - - - - - - - - - - - - - - - - -
-Interface Summary
ElementA core component of a module or injector.
Element.Visitor<V>Visit elements.
HasInjectionsImplemented by bindings which have implementation dependencies on other - bindings.
TypeConverterConverts constant string values to a different type.
-  - -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Class Summary
DefaultBindTargetVisitor<T,V> 
DefaultElementVisitor<V>No-op visitor for subclassing.
ElementsExposes elements of a module so they can be inspected, validated or rewritten.
InjectionPoint<T>An immutable snapshot of where the value is to be injected.
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.
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 1dc8cb20..00000000 --- a/latest-javadoc/com/google/inject/spi/package-tree.html +++ /dev/null @@ -1,162 +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 d2afcc41..00000000 --- a/latest-javadoc/com/google/inject/spring/SpringIntegration.html +++ /dev/null @@ -1,261 +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 ed40586b..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 42206dfd..00000000 --- a/latest-javadoc/com/google/inject/spring/package-summary.html +++ /dev/null @@ -1,167 +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 ff33482e..00000000 --- a/latest-javadoc/com/google/inject/spring/package-tree.html +++ /dev/null @@ -1,147 +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 d9532676..00000000 --- a/latest-javadoc/com/google/inject/throwingproviders/ThrowingProvider.html +++ /dev/null @@ -1,219 +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 6889669c..00000000 --- a/latest-javadoc/com/google/inject/throwingproviders/ThrowingProviderBinder.SecondaryBinder.html +++ /dev/null @@ -1,328 +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 2111b74b..00000000 --- a/latest-javadoc/com/google/inject/throwingproviders/ThrowingProviderBinder.html +++ /dev/null @@ -1,270 +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 f1f01073..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 0d9f5ac6..00000000 --- a/latest-javadoc/com/google/inject/throwingproviders/package-summary.html +++ /dev/null @@ -1,182 +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 645a85ed..00000000 --- a/latest-javadoc/com/google/inject/throwingproviders/package-tree.html +++ /dev/null @@ -1,152 +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 627875eb..00000000 --- a/latest-javadoc/com/google/inject/tools/jmx/ManagedBindingMBean.html +++ /dev/null @@ -1,249 +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 15ee951e..00000000 --- a/latest-javadoc/com/google/inject/tools/jmx/Manager.html +++ /dev/null @@ -1,306 +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 30cf3629..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 e9e3754a..00000000 --- a/latest-javadoc/com/google/inject/tools/jmx/package-summary.html +++ /dev/null @@ -1,181 +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 96745fc3..00000000 --- a/latest-javadoc/com/google/inject/tools/jmx/package-tree.html +++ /dev/null @@ -1,152 +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/constant-values.html b/latest-javadoc/constant-values.html deleted file mode 100644 index ef1132c9..00000000 --- a/latest-javadoc/constant-values.html +++ /dev/null @@ -1,140 +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 8186fde8..00000000 --- a/latest-javadoc/deprecated-list.html +++ /dev/null @@ -1,235 +0,0 @@ - - - - - - -Deprecated List (Guice 1.0 API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Deprecated API

-
-
-Contents - - - - - - - - - - - - - - - -
-Deprecated Interfaces
com.google.inject.commands.BindScoping -
-          replaced with Binding.ScopingVisitor 
com.google.inject.commands.BindTarget -
-          replaced with Binding.TargetVisitor 
com.google.inject.commands.Command -
-          replaced with Element 
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Deprecated Classes
com.google.inject.commands.AddMessageCommand -
-          replaced with Message 
com.google.inject.commands.BindCommand -
-          replaced with Binding 
com.google.inject.commands.BindConstantCommand -
-          replaced with Binding 
com.google.inject.commands.BindInterceptorCommand -
-          replaced with InterceptorBinding 
com.google.inject.commands.BindScopeCommand -
-          replaced with ScopeBinding 
com.google.inject.commands.CommandRecorder -
-          replaced with Elements.getElements(Module[]) 
com.google.inject.commands.CommandReplayer -
-          replaced with ModuleWriter 
com.google.inject.commands.ConvertToTypesCommand -
-          replaced with TypeConverterBinding 
com.google.inject.commands.DefaultCommandVisitor -
-          replaced with DefaultElementVisitor 
com.google.inject.commands.GetProviderCommand -
-          replaced with ProviderLookup 
com.google.inject.commands.RequestInjectionCommand -
-          replaced with InjectionRequest 
com.google.inject.commands.RequestStaticInjectionCommand -
-          replaced with StaticInjectionRequest 
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/help-doc.html b/latest-javadoc/help-doc.html deleted file mode 100644 index 8e189b00..00000000 --- a/latest-javadoc/help-doc.html +++ /dev/null @@ -1,213 +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:

-
-

-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:

-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:

-
- -

-Enum

-
- -

-Each enum has its own separate page with the following sections:

-
-

-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. -
-

-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 a77854ec..00000000 --- a/latest-javadoc/index-all.html +++ /dev/null @@ -1,1496 +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 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(Binding.ScopingVisitor<V>) - -Method in interface com.google.inject.Binding -
Accepts a scoping visitor. -
acceptTargetVisitor(Binding.TargetVisitor<? super T, V>) - -Method in interface com.google.inject.Binding -
Accepts a target visitor. -
acceptVisitor(Command.Visitor<T>) - -Method in class com.google.inject.commands.AddMessageCommand -
Deprecated.   -
acceptVisitor(Command.Visitor<V>) - -Method in class com.google.inject.commands.BindCommand -
Deprecated.   -
acceptVisitor(Command.Visitor<T>) - -Method in class com.google.inject.commands.BindConstantCommand -
Deprecated.   -
acceptVisitor(Command.Visitor<T>) - -Method in class com.google.inject.commands.BindInterceptorCommand -
Deprecated.   -
acceptVisitor(Command.Visitor<T>) - -Method in class com.google.inject.commands.BindScopeCommand -
Deprecated.   -
acceptVisitor(BindScoping.Visitor<V>) - -Method in interface com.google.inject.commands.BindScoping -
Deprecated.   -
acceptVisitor(BindTarget.Visitor<T, V>) - -Method in interface com.google.inject.commands.BindTarget -
Deprecated.   -
acceptVisitor(Command.Visitor<T>) - -Method in interface com.google.inject.commands.Command -
Deprecated.   -
acceptVisitor(Command.Visitor<T>) - -Method in class com.google.inject.commands.ConvertToTypesCommand -
Deprecated.   -
acceptVisitor(Command.Visitor<T>) - -Method in class com.google.inject.commands.GetProviderCommand -
Deprecated.   -
acceptVisitor(Command.Visitor<T>) - -Method in class com.google.inject.commands.RequestInjectionCommand -
Deprecated.   -
acceptVisitor(Command.Visitor<T>) - -Method in class com.google.inject.commands.RequestStaticInjectionCommand -
Deprecated.   -
acceptVisitor(Element.Visitor<T>) - -Method in interface com.google.inject.spi.Element -
Accepts an element visitor. -
acceptVisitor(Element.Visitor<T>) - -Method in class com.google.inject.spi.InjectionRequest -
  -
acceptVisitor(Element.Visitor<T>) - -Method in class com.google.inject.spi.InterceptorBinding -
  -
acceptVisitor(Element.Visitor<T>) - -Method in class com.google.inject.spi.Message -
  -
acceptVisitor(Element.Visitor<T>) - -Method in class com.google.inject.spi.ProviderLookup -
  -
acceptVisitor(Element.Visitor<T>) - -Method in class com.google.inject.spi.ScopeBinding -
  -
acceptVisitor(Element.Visitor<T>) - -Method in class com.google.inject.spi.StaticInjectionRequest -
  -
acceptVisitor(Element.Visitor<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. -
AddMessageCommand - Class in com.google.inject.commands
Deprecated. replaced with Message
allowsNull() - -Method in class com.google.inject.spi.InjectionPoint -
  -
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.
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>) - -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 -
  -
applyTarget(Binding<T>, LinkedBindingBuilder<T>) - -Method in class com.google.inject.spi.ModuleWriter -
Execute this target against the linked binding builder. -
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
The @Assisted annotation should be used on paramters within - a constructor annotated with @AssistedInject.
AssistedInject - Annotation Type in com.google.inject.assistedinject
Constructors annotated with @AssistedInject indicate that will - can be instantiated by the FactoryProvider.
-
-

-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(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. -
BindCommand<T> - Class in com.google.inject.commands
Deprecated. replaced with Binding
bindConstant() - -Method in class com.google.inject.AbstractModule -
  -
bindConstant() - -Method in interface com.google.inject.Binder -
See the EDSL examples at Binder. -
BindConstantCommand - Class in com.google.inject.commands
Deprecated. replaced with Binding
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.
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.
Binding.ScopingVisitor<V> - Interface in com.google.inject
Visits each of the strategies used to scope an injection.
Binding.TargetVisitor<T,V> - Interface in com.google.inject
Visits each of the strategies used to find an instance to satisfy an injection.
BindingAnnotation - Annotation Type in com.google.inject
Annotates annotations which are used for binding.
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. -
BindInterceptorCommand - Class in com.google.inject.commands
Deprecated. replaced with InterceptorBinding
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. -
BindScopeCommand - Class in com.google.inject.commands
Deprecated. replaced with ScopeBinding
BindScoping - Interface in com.google.inject.commands
Deprecated. replaced with Binding.ScopingVisitor
BindScoping.Visitor<V> - Interface in com.google.inject.commands
Deprecated.  
BindTarget<T> - Interface in com.google.inject.commands
Deprecated. replaced with Binding.TargetVisitor
BindTarget.Visitor<T,V> - Interface in com.google.inject.commands
Deprecated.  
-
-

-C

-
-
checkForNull(Errors, T, Object) - -Method in class com.google.inject.spi.InjectionPoint -
  -
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.commands - package com.google.inject.commands
Extension for recording, reviewing and instrumenting the commands executed - by a module.
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
Command - Interface in com.google.inject.commands
Deprecated. replaced with Element
Command.Visitor<V> - Interface in com.google.inject.commands
Deprecated. Visit commands.
CommandRecorder - Class in com.google.inject.commands
Deprecated. replaced with Elements.getElements(Module[])
CommandRecorder() - -Constructor for class com.google.inject.commands.CommandRecorder -
Deprecated.   -
CommandReplayer - Class in com.google.inject.commands
Deprecated. replaced with ModuleWriter
CommandReplayer() - -Constructor for class com.google.inject.commands.CommandReplayer -
Deprecated.   -
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() - -Method in class com.google.inject.servlet.ServletModule -
  -
ConstantBindingBuilder - Interface in com.google.inject.binder
Binds to a constant value.
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. -
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. -
ConvertToTypesCommand - Class in com.google.inject.commands
Deprecated. replaced with TypeConverterBinding
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 -
  -
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. -
createInjector(Injector, Iterable<? extends Module>) - -Static method in class com.google.inject.Guice -
Creates an injector for the given set of modules, with the given parent - injector. -
createInjector(Injector, Module...) - -Static method in class com.google.inject.Guice -
Creates an injector for the given set of modules, with the given parent - injector. -
createInjector(Injector, 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, with the given parent injector. -
createModule(Iterable<? extends Command>) - -Method in class com.google.inject.commands.CommandReplayer -
Deprecated. Returns a module that executes the specified commands - using this executing visitor. -
CreationException - Exception in com.google.inject
Thrown when errors occur while creating a Injector.
CreationException(Collection<? extends Message>) - -Constructor for exception com.google.inject.CreationException -
Constructs a new exception for the given errors. -
currentStage() - -Method in class com.google.inject.AbstractModule -
  -
currentStage() - -Method in interface com.google.inject.Binder -
Gets the current stage. -
-
-

-D

-
-
DefaultBindTargetVisitor<T,V> - Class in com.google.inject.spi
 
DefaultBindTargetVisitor() - -Constructor for class com.google.inject.spi.DefaultBindTargetVisitor -
  -
DefaultCommandVisitor<V> - Class in com.google.inject.commands
Deprecated. replaced with DefaultElementVisitor
DefaultCommandVisitor() - -Constructor for class com.google.inject.commands.DefaultCommandVisitor -
Deprecated.   -
DefaultElementVisitor<V> - Class in com.google.inject.spi
No-op visitor for subclassing.
DefaultElementVisitor() - -Constructor for class com.google.inject.spi.DefaultElementVisitor -
  -
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.
Element.Visitor<V> - Interface in com.google.inject.spi
Visit elements.
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 -
  -
equals(Object) - -Method in class com.google.inject.Key -
  -
equals(Object) - -Method in class com.google.inject.spi.Message -
  -
equals(Object) - -Method in class com.google.inject.TypeLiteral -
  -
execute(ScopedBindingBuilder) - -Method in interface com.google.inject.commands.BindScoping -
Deprecated.   -
execute(LinkedBindingBuilder<T>) - -Method in interface com.google.inject.commands.BindTarget -
Deprecated. Execute this target against the linked binding builder. -
execute(ConstantBindingBuilder) - -Method in interface com.google.inject.commands.BindTarget -
Deprecated. Execute this target against the constant binding builder. -
-
-

-F

-
-
FactoryProvider<F,R> - Class in com.google.inject.assistedinject
Provides a mechanism to combine user-specified paramters with - Injector-specified paramters when creating new objects.
findBindingsByType(TypeLiteral<T>) - -Method in interface com.google.inject.Injector -
Finds all bindings to the given type. -
from(Object) - -Static method in class com.google.inject.ProviderMethods -
Returns a module which creates bindings for provider methods from the - given object. -
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() - -Method in interface com.google.inject.commands.BindTarget -
Deprecated. Returns the bound instance, if it exists, or null if no bound value exists. -
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() - -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.commands.BindScopeCommand -
Deprecated.   -
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 -
Gets a binding for the given key, or null if no binding for this key is - found. -
getBinding(Class<T>) - -Method in interface com.google.inject.Injector -
Gets a binding for the given type, or null if no binding for this type is - found. -
getBindings() - -Method in interface com.google.inject.Injector -
Gets 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.commands.BindInterceptorCommand -
Deprecated.   -
getClassMatcher() - -Method in class com.google.inject.spi.InterceptorBinding -
  -
getDelegate() - -Method in class com.google.inject.commands.GetProviderCommand -
Deprecated. Returns the delegate provider, or null if it has not yet been initialized. -
getDelegate() - -Method in class com.google.inject.spi.ProviderLookup -
Returns the delegate provider, or null if it has not yet been initialized. -
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. -
getErrorMessages() - -Method in exception com.google.inject.CreationException -
Gets the error messages which resulted in this exception. -
getInjectionPoints() - -Method in interface com.google.inject.spi.HasInjections -
Gets dependencies. -
getInjectionPoints() - -Method in class com.google.inject.spi.Message -
  -
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 type; equivalent to - getProvider(type).get(). -
getInstances() - -Method in class com.google.inject.commands.RequestInjectionCommand -
Deprecated.   -
getInstances() - -Method in class com.google.inject.spi.InjectionRequest -
  -
getInstanceVisitor() - -Static method in class com.google.inject.spi.Elements -
  -
getInterceptors() - -Method in class com.google.inject.commands.BindInterceptorCommand -
Deprecated.   -
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.commands.BindCommand -
Deprecated.   -
getKey() - -Method in class com.google.inject.commands.BindConstantCommand -
Deprecated.   -
getKey() - -Method in interface com.google.inject.commands.BindTarget -
Deprecated.   -
getKey() - -Method in class com.google.inject.commands.GetProviderCommand -
Deprecated.   -
getKey() - -Method in class com.google.inject.spi.InjectionPoint -
  -
getKey() - -Method in class com.google.inject.spi.ProviderLookup -
  -
getKey() - -Method in interface com.google.inject.tools.jmx.ManagedBindingMBean -
Gets the binding key. -
getMember() - -Method in class com.google.inject.spi.InjectionPoint -
  -
getMessage() - -Method in class com.google.inject.commands.AddMessageCommand -
Deprecated.   -
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.commands.BindInterceptorCommand -
Deprecated.   -
getMethodMatcher() - -Method in class com.google.inject.spi.InterceptorBinding -
  -
getParameterIndex() - -Method in class com.google.inject.spi.InjectionPoint -
  -
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() - -Method in interface com.google.inject.commands.BindTarget -
Deprecated.   -
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 injection key. -
getProvider() - -Method in interface com.google.inject.tools.jmx.ManagedBindingMBean -
Gets the provider to which this binding is bound. -
GetProviderCommand<T> - Class in com.google.inject.commands
Deprecated. replaced with ProviderLookup
getProviderKey() - -Method in interface com.google.inject.commands.BindTarget -
Deprecated.   -
getScope() - -Method in class com.google.inject.commands.BindScopeCommand -
Deprecated.   -
getScope() - -Method in interface com.google.inject.commands.BindScoping -
Deprecated.   -
getScope() - -Method in class com.google.inject.spi.ScopeBinding -
  -
getScopeAnnotation() - -Method in interface com.google.inject.commands.BindScoping -
Deprecated.   -
getScoping() - -Method in class com.google.inject.commands.BindCommand -
Deprecated.   -
getSource() - -Method in class com.google.inject.commands.AddMessageCommand -
Deprecated.   -
getSource() - -Method in class com.google.inject.commands.BindCommand -
Deprecated.   -
getSource() - -Method in class com.google.inject.commands.BindConstantCommand -
Deprecated.   -
getSource() - -Method in class com.google.inject.commands.BindInterceptorCommand -
Deprecated.   -
getSource() - -Method in class com.google.inject.commands.BindScopeCommand -
Deprecated.   -
getSource() - -Method in interface com.google.inject.commands.Command -
Deprecated.   -
getSource() - -Method in class com.google.inject.commands.ConvertToTypesCommand -
Deprecated.   -
getSource() - -Method in class com.google.inject.commands.GetProviderCommand -
Deprecated.   -
getSource() - -Method in class com.google.inject.commands.RequestInjectionCommand -
Deprecated.   -
getSource() - -Method in class com.google.inject.commands.RequestStaticInjectionCommand -
Deprecated.   -
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.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. -
getTarget() - -Method in class com.google.inject.commands.BindCommand -
Deprecated.   -
getTarget() - -Method in class com.google.inject.commands.BindConstantCommand -
Deprecated.   -
getType() - -Method in class com.google.inject.TypeLiteral -
Gets underlying Type instance. -
getTypeConverter() - -Method in class com.google.inject.commands.ConvertToTypesCommand -
Deprecated.   -
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.commands.ConvertToTypesCommand -
Deprecated.   -
getTypeMatcher() - -Method in class com.google.inject.spi.TypeConverterBinding -
  -
getTypes() - -Method in class com.google.inject.commands.RequestStaticInjectionCommand -
Deprecated.   -
getTypes() - -Method in class com.google.inject.spi.StaticInjectionRequest -
  -
Guice - Class in com.google.inject
The entry point to the Guice framework.
GuiceFilter - Class in com.google.inject.servlet
Apply this filter 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
Register your own subclass of this as a servlet context listener if you wish - to have injectable servlets that extend InjectedHttpServlet.
GuiceServletContextListener() - -Constructor for class com.google.inject.servlet.GuiceServletContextListener -
  -
-
-

-H

-
-
hashCode() - -Method in class com.google.inject.Key -
  -
hashCode() - -Method in class com.google.inject.spi.Message -
  -
hashCode() - -Method in class com.google.inject.TypeLiteral -
  -
HasInjections - Interface in com.google.inject.spi
Implemented by bindings which have implementation dependencies on other - bindings.
-
-

-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 -
  -
init(ServletConfig) - -Method in class com.google.inject.servlet.InjectedHttpServlet -
  -
initDelegate(Provider<T>) - -Method in class com.google.inject.commands.GetProviderCommand -
Deprecated.   -
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.
InjectedHttpServlet - Class in com.google.inject.servlet
Base class to be extended by all servlets that desire field and method - injection to be performed during Servlet.init(javax.servlet.ServletConfig).
InjectedHttpServlet() - -Constructor for class com.google.inject.servlet.InjectedHttpServlet -
  -
InjectionPoint<T> - Class in com.google.inject.spi
An immutable snapshot of where the value is to be injected.
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 an existing object. -
Injector - Interface in com.google.inject
Fulfills requests for the object instances that make up your application, - always ensuring that these instances are properly injected before they are - returned.
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. -
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.
isEagerSingleton() - -Method in interface com.google.inject.commands.BindScoping -
Deprecated.   -
-
-

-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.
-
-

-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.
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(Object, String, List<InjectionPoint>, Throwable) - -Constructor for class com.google.inject.spi.Message -
  -
Message(Object, 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.
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<X>, Class<Y>) - -Static method in class com.google.inject.assistedinject.FactoryProvider -
  -
newInstance(Field, boolean, Key<T>) - -Static method in class com.google.inject.spi.InjectionPoint -
  -
newInstance(Key<T>) - -Static method in class com.google.inject.spi.InjectionPoint -
  -
newInstance(Member, int, boolean, Key<T>) - -Static method in class com.google.inject.spi.InjectionPoint -
  -
newMapBinder(Binder, Type, Type) - -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, Type, Type, 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, Type, Type, 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. -
newSetBinder(Binder, Type) - -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, Type, 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, Type, 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

-
-
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 -
  -
overrideModule(Module, Module) - -Static method in class com.google.inject.Guice -
Returns a new Module that overlays overridesModule over - module. -
-
-

-P

-
-
ProvidedBy - Annotation Type in com.google.inject
A pointer to the default provider type for a type.
Provider<T> - Interface in com.google.inject
Simply, any object capable of providing instances of type T.
ProviderLookup<T> - Class in com.google.inject.spi
A lookup of the provider for a type.
ProviderMethods - Class in com.google.inject
Creates bindings to methods annotated with @ - Provides.
ProviderMethods() - -Constructor for class com.google.inject.ProviderMethods -
  -
Provides - Annotation Type in com.google.inject
Annotates methods which can be used as providers.
ProvisionException - Exception in com.google.inject
Indicates a failure to provide an instance.
ProvisionException(String, Throwable) - -Constructor for exception com.google.inject.ProvisionException -
  -
ProvisionException(String) - -Constructor for exception com.google.inject.ProvisionException -
  -
-
-

-R

-
-
recordCommands(Module...) - -Method in class com.google.inject.commands.CommandRecorder -
Deprecated. Records the commands executed by modules. -
recordCommands(Iterable<? extends Module>) - -Method in class com.google.inject.commands.CommandRecorder -
Deprecated. Records the commands executed by modules. -
replay(Binder, Iterable<? extends Command>) - -Method in class com.google.inject.commands.CommandReplayer -
Deprecated. Replays commands against binder. -
replayAddMessageError(Binder, AddMessageCommand) - -Method in class com.google.inject.commands.CommandReplayer -
Deprecated.   -
replayBind(Binder, BindCommand<T>) - -Method in class com.google.inject.commands.CommandReplayer -
Deprecated.   -
replayBindConstant(Binder, BindConstantCommand) - -Method in class com.google.inject.commands.CommandReplayer -
Deprecated.   -
replayBindInterceptor(Binder, BindInterceptorCommand) - -Method in class com.google.inject.commands.CommandReplayer -
Deprecated.   -
replayBindScope(Binder, BindScopeCommand) - -Method in class com.google.inject.commands.CommandReplayer -
Deprecated.   -
replayConvertToTypes(Binder, ConvertToTypesCommand) - -Method in class com.google.inject.commands.CommandReplayer -
Deprecated.   -
replayGetProvider(Binder, GetProviderCommand<T>) - -Method in class com.google.inject.commands.CommandReplayer -
Deprecated.   -
replayRequestInjection(Binder, RequestInjectionCommand) - -Method in class com.google.inject.commands.CommandReplayer -
Deprecated.   -
replayRequestStaticInjection(Binder, RequestStaticInjectionCommand) - -Method in class com.google.inject.commands.CommandReplayer -
Deprecated.   -
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. -
RequestInjectionCommand - Class in com.google.inject.commands
Deprecated. replaced with InjectionRequest
RequestInjectionCommand(Object, Object[]) - -Constructor for class com.google.inject.commands.RequestInjectionCommand -
Deprecated.   -
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. -
RequestStaticInjectionCommand - Class in com.google.inject.commands
Deprecated. replaced with StaticInjectionRequest
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. -
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.
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 -
  -
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.
setCurrentStage(Stage) - -Method in class com.google.inject.commands.CommandRecorder -
Deprecated. Sets the stage reported by the binder. -
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 -
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). -
-
-

-T

-
-
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.commands.BindCommand -
Deprecated.   -
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.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. -
-
-

-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're declared. -
visitAddMessage(AddMessageCommand) - -Method in interface com.google.inject.commands.Command.Visitor -
Deprecated.   -
visitAddMessage(AddMessageCommand) - -Method in class com.google.inject.commands.DefaultCommandVisitor -
Deprecated.   -
visitBind(BindCommand<T>) - -Method in interface com.google.inject.commands.Command.Visitor -
Deprecated.   -
visitBind(BindCommand<T>) - -Method in class com.google.inject.commands.DefaultCommandVisitor -
Deprecated.   -
visitBindConstant(BindConstantCommand) - -Method in interface com.google.inject.commands.Command.Visitor -
Deprecated.   -
visitBindConstant(BindConstantCommand) - -Method in class com.google.inject.commands.DefaultCommandVisitor -
Deprecated.   -
visitBinding(Binding<T>) - -Method in class com.google.inject.spi.DefaultElementVisitor -
  -
visitBinding(Binding<T>) - -Method in interface com.google.inject.spi.Element.Visitor -
Visit a mapping from a key (type and optional annotation) to the strategy for getting - instances of the type. -
visitBindInterceptor(BindInterceptorCommand) - -Method in interface com.google.inject.commands.Command.Visitor -
Deprecated.   -
visitBindInterceptor(BindInterceptorCommand) - -Method in class com.google.inject.commands.DefaultCommandVisitor -
Deprecated.   -
visitBindScope(BindScopeCommand) - -Method in interface com.google.inject.commands.Command.Visitor -
Deprecated.   -
visitBindScope(BindScopeCommand) - -Method in class com.google.inject.commands.DefaultCommandVisitor -
Deprecated.   -
visitCommand(Command) - -Method in class com.google.inject.commands.DefaultCommandVisitor -
Deprecated. Visit command and return a result. -
visitConstructor(Constructor<? extends T>) - -Method in interface com.google.inject.Binding.TargetVisitor -
Visit a constructor binding. -
visitConstructor(Constructor<? extends T>) - -Method in class com.google.inject.spi.DefaultBindTargetVisitor -
  -
visitConvertedConstant(T) - -Method in interface com.google.inject.Binding.TargetVisitor -
Visit a binding created from converting a bound instance to a new type. -
visitConvertedConstant(T) - -Method in class com.google.inject.spi.DefaultBindTargetVisitor -
  -
visitConvertToTypes(ConvertToTypesCommand) - -Method in interface com.google.inject.commands.Command.Visitor -
Deprecated.   -
visitConvertToTypes(ConvertToTypesCommand) - -Method in class com.google.inject.commands.DefaultCommandVisitor -
Deprecated.   -
visitEagerSingleton() - -Method in interface com.google.inject.Binding.ScopingVisitor -
Visit an eager singleton or single instance. -
visitEagerSingleton() - -Method in interface com.google.inject.commands.BindScoping.Visitor -
Deprecated.   -
visitElement(Element) - -Method in class com.google.inject.spi.DefaultElementVisitor -
Visit element and return a result. -
visitGetProvider(GetProviderCommand<T>) - -Method in interface com.google.inject.commands.Command.Visitor -
Deprecated.   -
visitGetProvider(GetProviderCommand<T>) - -Method in class com.google.inject.commands.DefaultCommandVisitor -
Deprecated.   -
visitInjectionRequest(InjectionRequest) - -Method in class com.google.inject.spi.DefaultElementVisitor -
  -
visitInjectionRequest(InjectionRequest) - -Method in interface com.google.inject.spi.Element.Visitor -
Visit a request to inject the instance fields and methods of an instance. -
visitInstance(T) - -Method in interface com.google.inject.Binding.TargetVisitor -
Visit a instance binding. -
visitInstance(T) - -Method in class com.google.inject.spi.DefaultBindTargetVisitor -
  -
visitInterceptorBinding(InterceptorBinding) - -Method in class com.google.inject.spi.DefaultElementVisitor -
  -
visitInterceptorBinding(InterceptorBinding) - -Method in interface com.google.inject.spi.Element.Visitor -
Visit a registration of interceptors for matching methods of matching classes. -
visitKey(Key<? extends T>) - -Method in interface com.google.inject.Binding.TargetVisitor -
Visit a linked key binding. -
visitKey(Key<? extends T>) - -Method in class com.google.inject.spi.DefaultBindTargetVisitor -
  -
visitMessage(Message) - -Method in class com.google.inject.spi.DefaultElementVisitor -
  -
visitMessage(Message) - -Method in interface com.google.inject.spi.Element.Visitor -
Visit an error message and the context in which it occured. -
visitNoScoping() - -Method in interface com.google.inject.Binding.ScopingVisitor -
Visit an unspecified or unscoped strategy. -
visitNoScoping() - -Method in interface com.google.inject.commands.BindScoping.Visitor -
Deprecated.   -
visitOther() - -Method in class com.google.inject.spi.DefaultBindTargetVisitor -
  -
visitProvider(Provider<? extends T>) - -Method in interface com.google.inject.Binding.TargetVisitor -
Visit a provider instance binding. -
visitProvider(Provider<? extends T>) - -Method in class com.google.inject.spi.DefaultBindTargetVisitor -
  -
visitProviderBinding(Key<?>) - -Method in interface com.google.inject.Binding.TargetVisitor -
Visit a binding to a Provider that delegates to the binding for the provided type. -
visitProviderBinding(Key<?>) - -Method in class com.google.inject.spi.DefaultBindTargetVisitor -
  -
visitProviderKey(Key<? extends Provider<? extends T>>) - -Method in interface com.google.inject.Binding.TargetVisitor -
Visit a provider key binding. -
visitProviderKey(Key<? extends Provider<? extends T>>) - -Method in class com.google.inject.spi.DefaultBindTargetVisitor -
  -
visitProviderLookup(ProviderLookup<T>) - -Method in class com.google.inject.spi.DefaultElementVisitor -
  -
visitProviderLookup(ProviderLookup<T>) - -Method in interface com.google.inject.spi.Element.Visitor -
Visit a lookup of the provider for a type. -
visitRequestInjection(RequestInjectionCommand) - -Method in interface com.google.inject.commands.Command.Visitor -
Deprecated.   -
visitRequestInjection(RequestInjectionCommand) - -Method in class com.google.inject.commands.DefaultCommandVisitor -
Deprecated.   -
visitRequestStaticInjection(RequestStaticInjectionCommand) - -Method in interface com.google.inject.commands.Command.Visitor -
Deprecated.   -
visitRequestStaticInjection(RequestStaticInjectionCommand) - -Method in class com.google.inject.commands.DefaultCommandVisitor -
Deprecated.   -
visitScope(Scope) - -Method in interface com.google.inject.Binding.ScopingVisitor -
Visit a scope instance. -
visitScope(Scope) - -Method in interface com.google.inject.commands.BindScoping.Visitor -
Deprecated.   -
visitScopeAnnotation(Class<? extends Annotation>) - -Method in interface com.google.inject.Binding.ScopingVisitor -
Visit a scope annotation. -
visitScopeAnnotation(Class<? extends Annotation>) - -Method in interface com.google.inject.commands.BindScoping.Visitor -
Deprecated.   -
visitScopeBinding(ScopeBinding) - -Method in class com.google.inject.spi.DefaultElementVisitor -
  -
visitScopeBinding(ScopeBinding) - -Method in interface com.google.inject.spi.Element.Visitor -
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.Element.Visitor -
Visit a request to inject the static fields and methods of type. -
visitToInstance(T) - -Method in interface com.google.inject.commands.BindTarget.Visitor -
Deprecated.   -
visitToKey(Key<? extends T>) - -Method in interface com.google.inject.commands.BindTarget.Visitor -
Deprecated.   -
visitToProvider(Provider<? extends T>) - -Method in interface com.google.inject.commands.BindTarget.Visitor -
Deprecated.   -
visitToProviderKey(Key<? extends Provider<? extends T>>) - -Method in interface com.google.inject.commands.BindTarget.Visitor -
Deprecated.   -
visitTypeConverterBinding(TypeConverterBinding) - -Method in class com.google.inject.spi.DefaultElementVisitor -
  -
visitTypeConverterBinding(TypeConverterBinding) - -Method in interface com.google.inject.spi.Element.Visitor -
Visit a registration of type converters for matching target types. -
visitUntargetted() - -Method in interface com.google.inject.Binding.TargetVisitor -
Visit an untargetted binding. -
visitUntargetted() - -Method in interface com.google.inject.commands.BindTarget.Visitor -
Deprecated.   -
visitUntargetted() - -Method in class com.google.inject.spi.DefaultBindTargetVisitor -
  -
-
-

-W

-
-
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 -
  -
writeReplace() - -Method in class com.google.inject.Key -
Returns the canonical form of this key for serialization. -
writeReplace() - -Method in class com.google.inject.TypeLiteral -
Returns the canonical form of this type literal for serialization. -
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 V W - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/index.html b/latest-javadoc/index.html deleted file mode 100644 index e9ebf720..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 dce0f3d4..00000000 --- a/latest-javadoc/overview-frame.html +++ /dev/null @@ -1,66 +0,0 @@ - - - - - - -Overview (Guice 1.0 API) - - - - - - - - - - - - - - - -
-
- - - - - -
All Classes -

- -Packages -
-com.google.inject -
-com.google.inject.assistedinject -
-com.google.inject.binder -
-com.google.inject.commands -
-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 -
-

- -

-  - - diff --git a/latest-javadoc/overview-summary.html b/latest-javadoc/overview-summary.html deleted file mode 100644 index 5f83f229..00000000 --- a/latest-javadoc/overview-summary.html +++ /dev/null @@ -1,197 +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.commandsExtension for recording, reviewing and instrumenting the commands executed - by a module.
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
- -


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/overview-tree.html b/latest-javadoc/overview-tree.html deleted file mode 100644 index 358b3c9f..00000000 --- a/latest-javadoc/overview-tree.html +++ /dev/null @@ -1,227 +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.commands, 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
-
-

-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 4a8e8088..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.commands -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 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 c7b4f8cd..00000000 --- a/latest-javadoc/serialized-form.html +++ /dev/null @@ -1,488 +0,0 @@ - - - - - - -Serialized Form (Guice 1.0 API) - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Serialized Form

-
-
- - - - - -
-Package com.google.inject
- -

- - - - - -
-Class com.google.inject.CreationException extends RuntimeException implements Serializable
- -

- - - - - -
-Serialized Fields
- -

-errorMessages

-
-List<E> errorMessages
-
-
-
-
- -

- - - - - -
-Class com.google.inject.Key extends Object implements Serializable
- -

-serialVersionUID: 0L - -

- - - - - -
-Serialization Methods
- -

-

-writeReplace

-
-protected final Object writeReplace()
-
-
Returns the canonical form of this key for serialization. The returned - instance is always a Key, never a subclass. This prevents problems - caused by serializing anonymous types. -

-

-
-
- - - - - - -
-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
- -

- - - - - -
-Serialized Fields
- -

-errors

-
-com.google.inject.internal.Errors errors
-
-
non-null for Guice-created ProvisionExceptions -

-

-
-
- -

- - - - - -
-Class com.google.inject.TypeLiteral extends Object implements Serializable
- -

-serialVersionUID: 0L - -

- - - - - -
-Serialization Methods
- -

-

-writeReplace

-
-protected final Object writeReplace()
-
-
Returns the canonical form of this type literal for serialization. The - returned instance is always a TypeLiteral, never a subclass. This - prevents problems caused by serializing anonymous types. -

-

-
-
- - - - - - -
-Serialized Fields
- -

-rawType

-
-Class<T> rawType
-
-
-
-
-
-

-type

-
-Type type
-
-
-
-
-
-

-hashCode

-
-int hashCode
-
-
-
-
-
- - - - - -
-Package com.google.inject.servlet
- -

- - - - - -
-Class com.google.inject.servlet.InjectedHttpServlet extends javax.servlet.http.HttpServlet implements Serializable
- -

-


- - - - - -
-Package com.google.inject.spi
- -

- - - - - -
-Class com.google.inject.spi.InjectionPoint extends Object implements Serializable
- -

- - - - - -
-Serialized Fields
- -

-member

-
-Member member
-
-
-
-
-
-

-key

-
-Key<T> key
-
-
-
-
-
-

-parameterIndex

-
-int parameterIndex
-
-
-
-
-
-

-allowsNull

-
-boolean allowsNull
-
-
-
-
- -

- - - - - -
-Class com.google.inject.spi.Message extends Object implements Serializable
- -

- - - - - -
-Serialized Fields
- -

-source

-
-String source
-
-
-
-
-
-

-message

-
-String message
-
-
-
-
-
-

-injectionPoints

-
-List<E> injectionPoints
-
-
-
-
-
-

-cause

-
-Throwable cause
-
-
-
-
- -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - diff --git a/latest-javadoc/stylesheet.css b/latest-javadoc/stylesheet.css deleted file mode 100644 index 6d31fdbc..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 } - -/* Headings */ -h1 { font-size: 145% } - -/* Table colors */ -.TableHeadingColor { background: #CCCCFF } /* Dark mauve */ -.TableSubHeadingColor { background: #EEEEFF } /* Light mauve */ -.TableRowColor { background: #FFFFFF } /* White */ - -/* Font used in left-hand frame lists */ -.FrameTitleFont { font-size: 100%; font-family: Helvetica, Arial, sans-serif } -.FrameHeadingFont { font-size: 90%; font-family: Helvetica, Arial, sans-serif } -.FrameItemFont { font-size: 90%; font-family: Helvetica, Arial, sans-serif } - -/* Navigation bar fonts and colors */ -.NavBarCell1 { background-color:#EEEEFF;} /* Light mauve */ -.NavBarCell1Rev { background-color:#00008B;} /* Dark Blue */ -.NavBarFont1 { font-family: Arial, Helvetica, sans-serif; color:#000000;} -.NavBarFont1Rev { font-family: Arial, Helvetica, sans-serif; color:#FFFFFF;} - -.NavBarCell2 { font-family: Arial, Helvetica, sans-serif; background-color:#FFFFFF;} -.NavBarCell3 { font-family: Arial, Helvetica, sans-serif; background-color:#FFFFFF;} - -- cgit v1.2.3