Annotation Type and Description |
---|
javax.faces.bean.ApplicationScoped
This has been replaced by
javax.enterprise.context.ApplicationScoped ,
which is a CDI build-in scope with similar semantics. |
javax.faces.bean.CustomScoped
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. |
javax.faces.bean.ManagedBean
This has been replaced by the Managed Beans specification in
general and specifically the dependency injection, scopes and naming
from the CDI specification. Note that the eager attribute
for application scoped beans is replaced specifically by observing
the
javax.enterprise.context.Initialized event for
javax.enterprise.context.ApplicationScoped . See 6.7.3 of the CDI
spec for further details. |
javax.faces.bean.ManagedProperty
This has been replaced by
javax.faces.annotation.ManagedProperty ,
which is a CDI build-in bean with similar semantics |
javax.faces.bean.NoneScoped
This has been replaced by
javax.enterprise.context.Dependent ,
which is a CDI build-in scope with approximately similar semantics. |
javax.faces.bean.ReferencedBean
The referenced-bean concept was used for a design time promise
which however did not achieve widespread adoption. There is no direct
replacement for this other than using the XML variant in faces-config.xml.
|
javax.faces.bean.RequestScoped
This has been replaced by
javax.enterprise.context.RequestScoped ,
which is a CDI build-in scope with similar semantics. |
javax.faces.bean.SessionScoped
This has been replaced by
javax.enterprise.context.SessionScoped ,
which is a CDI build-in scope with similar semantics. |
javax.faces.bean.ViewScoped
This has been replaced by
javax.faces.view.ViewScoped .
The functionality of this corresponding annotation is identical to this one,
but it is implemented as a CDI custom scope. |
Copyright © 2002-2017 Sun Microsystems, Inc. All Rights Reserved.