javax.faces.flow
Annotation Type ViewScoped


@Retention(value=RUNTIME)
@Target(value=TYPE)
@Inherited
public @interface ViewScoped

When this annotation, along with javax.inject.Named is found on a class, the runtime must place the bean in a CDI scope that remains active as long as the user remains on the same view, including reloads or navigations from the current view immediately, with no intervening views, back to the same view, even via an HTTP GET request.

Since:
2.2



Copyright © 2002-2009 Sun Microsystems, Inc. All Rights Reserved.