@Retention(value=RUNTIME)
@Target(value=TYPE)
@Inherited
public @interface ViewScoped
When this annotation, along with ManagedBean
is found on a class, the runtime must act as if a
<managed-bean-scope>view<managed-bean-scope>
element was declared for the corresponding managed bean.