no.tornado.inject.Eager Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of inject Show documentation
Show all versions of inject Show documentation
Dependency Injection and Module framework
package no.tornado.inject;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* beanProviderMethods annotated with @Eager will be created immediately after the
* ApplicationContext is initialized. Default behavior is to proxy all objects
* and lazily instantiate them when the first request torwards them arrives.
*/
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
public @interface Eager {
}