Annotation Type WorkspaceScoped
-
@Documented @NormalScope @InterceptorBinding @Inherited @Retention(RUNTIME) @Target({TYPE,METHOD}) public @interface WorkspaceScoped
Like @ApplicationScoped, this bean is going to have a single instance but instead of living for the duration of the application it lives for the duration of the workspace and its cache. So you can have two instances of the same bean in different workspaces at the same time. This bean is going to expire depending on cache configuration. CheckWorkspaceManager.