io.datakernel.di.annotation.ScopeAnnotation Maven / Gradle / Ivy
package io.datakernel.di.annotation;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;
import static java.lang.annotation.ElementType.ANNOTATION_TYPE;
import static java.lang.annotation.RetentionPolicy.RUNTIME;
/**
* This is a marker meta-annotation that declares an annotation as the one that
* can be used as a {@link io.datakernel.di.core.Scope scope}.
*/
@Retention(RUNTIME)
@Target(ANNOTATION_TYPE)
public @interface ScopeAnnotation {
boolean threadsafe() default true;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy