JavaScript is disabled on your browser.
Skip navigation links
Overview
Package
Class
Tree
Deprecated
Index
Help
Prev Class
Next Class
Frames
No Frames
All Classes
Summary:
Field |
Required |
Optional
Detail:
Field |
Element
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.
Skip navigation links
Overview
Package
Class
Tree
Deprecated
Index
Help
Prev Class
Next Class
Frames
No Frames
All Classes
Summary:
Field |
Required |
Optional
Detail:
Field |
Element