javax.enterprise.context.spi.Context. See 2.4.2 and 6.2 of the CDI specification for further details.
@Retention(value=RUNTIME) @Target(value=TYPE) @Inherited @Deprecated public @interface CustomScoped
When this annotation, along with
ManagedBean is found on a class, the runtime must act as if a
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
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.
public abstract String value
Copyright © 1996-2017, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.