Package org.elasticsearch.common.inject
Annotation Type Singleton
@Target({TYPE,METHOD})
@Retention(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.