Top Description Methods
javax.faces.bean

public @Interface CustomScoped

extends Annotation
Annotations
@Retention:RUNTIME
@Target:TYPE
@Inherited
@Deprecated
Imports
java.lang.annotation.Retention, .RetentionPolicy, .Target, .ElementType, .Inherited

Deprecated

This has been replaced by CDI custom scopes and javax.enterprise.context.spi.Context. See 2.4.2 and 6.2 of the CDI specification for further details.

When this annotation, along with ManagedBean is found on a class, the runtime must act as if a <managed-bean-scope>VALUE<managed-bean-scope> element was declared for the corresponding managed bean, where VALUE is the value of the value attribute, which must be an EL expression that evaluates to a Map.

Developers must take care when using custom scopes to ensure that any object references made to or from a custom scoped bean consider the necessary scope lifetimes. The runtime is not required to perform any validations for such considerations.

Since
2.0

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

the value.
value
()

Get the value.

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString

Method Detail

valueback to summary
public String value()

Get the value.

Returns:String

the value.