Annotation Type EagerSingleton


  • @Target(TYPE)
    @Retention(RUNTIME)
    @Documented
    public @interface EagerSingleton
    Marks beans that should be created as soon as possible:

     @Named
     @EagerSingleton
     public class Startup
     {
         //
     }