|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Retention(value=RUNTIME) @Target(value=TYPE) @Inherited public @interface CustomScoped
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.
Required Element Summary | |
---|---|
java.lang.String |
value
|
Element Detail |
---|
public abstract java.lang.String value
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
Copyright © 2009, 2010, Oracle Corporation and/or its affiliates. All Rights Reserved. Use is subject to license terms.
Generated on 4-June-2010 04:34