package org.transgalactica.fwk.domain.stereotype; import java.lang.annotation.Documented; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; import org.springframework.context.annotation.Scope; import org.springframework.stereotype.Component; /** * Permet d'annoter une classe comme étant un composant "DataBean". * * @author Thierry * @author Riad */ @Target({ ElementType.TYPE }) @Retention(RetentionPolicy.RUNTIME) @Documented @Component @Scope("prototype") public @interface DataBean { String value() default ""; }