package org.atinject; | |
import java.lang.annotation.Documented; | |
import java.lang.annotation.Retention; | |
import static java.lang.annotation.RetentionPolicy.RUNTIME; | |
/** | |
* Identifies a type that the injector only instantiates once. Not inherited. | |
* | |
* @see org.atinject.Scope @Scope | |
*/ | |
@Scope | |
@Documented | |
@Retention(RUNTIME) | |
public @interface Singleton {} |