roboguice.inject
Annotation Type ContextSingleton


@Target(value={TYPE,METHOD,FIELD})
@Retention(value=RUNTIME)
public @interface ContextSingleton

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

Author:
Mike Burton



Copyright © 2012. All Rights Reserved.