001package sting; 002 003import java.lang.annotation.Documented; 004import java.lang.annotation.ElementType; 005import java.lang.annotation.Retention; 006import java.lang.annotation.RetentionPolicy; 007import java.lang.annotation.Target; 008 009/** 010 * Annotation indicating that the component should be eagerly instantiated when the {@link Injector} is created. 011 * The annotation may be applied to types annotated by {@link Injectable} or to methods contained in types annotated 012 * by {@link Fragment}. 013 */ 014@Documented 015@Retention( RetentionPolicy.RUNTIME ) 016@Target( { ElementType.TYPE, ElementType.METHOD } ) 017public @interface Eager 018{ 019}