info.magnolia.objectfactory.annotation
Annotation Type LazySingleton


@Target(value={TYPE,METHOD})
@Retention(value=RUNTIME)
@Documented
@Scope
public @interface LazySingleton

Apply this to implementation classes when you want only one instance that is to be constructed lazily.



Copyright © 2003-2014 Magnolia International Ltd.. All Rights Reserved.