Annotation Type PerThread
-
@Documented @Retention(RUNTIME) @Scope @Target({TYPE,METHOD}) public @interface PerThreadPerThread is a scope that operates likeSingletonscope, except on a per-thread basis. The lifecycle of the service is determined by the thread it is on. On a single thread only one of the service will be created, but a new service will be created for each thread.