com.google.inject
Annotation Type Singleton


@Target(value=TYPE)
@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.

Author:
crazybob@google.com (Bob Lee)



Copyright © 2008. All Rights Reserved.