Package javax.faces.bean
These javadoc files constitute the “Faces Managed Bean Annotation Specification for Containers Conforming to Servlet 2.5 and Beyond”
See: Description
-
Annotation Types Summary Annotation Type Description ApplicationScoped When this annotation, along with
ManagedBean
is found on a class, the runtime must act as if a<managed-bean-scope>application<managed-bean-scope>
element was declared for the corresponding managed bean.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 theCustomScoped.value()
attribute, which must be an EL expression that evaluates to aMap
.ManagedBean The presence of this annotation on a class automatically registers the class with the runtime as a managed bean class.
ManagedProperty The presence of this annotation on a field of a class annotated with
ManagedBean
instructs the system to inject a value into this property as described in section JSF.5.3 of the spec prose document in the<managed-property>
subsection.NoneScoped When this annotation, along with
ManagedBean
is found on a class, the runtime must act as if a<managed-bean-scope>none<managed-bean-scope>
element was declared for the corresponding managed bean.ReferencedBean The presence of this annotation on a class is equivalent to the referenced-bean element in the application configuration resources.
RequestScoped When this annotation, along with
ManagedBean
is found on a class, the runtime must act as if a<managed-bean-scope>request<managed-bean-scope>
element was declared for the corresponding managed bean.SessionScoped When this annotation, along with
ManagedBean
is found on a class, the runtime must act as if a<managed-bean-scope>session<managed-bean-scope>
element was declared for the corresponding managed bean.ViewScoped When this annotation, along with
ManagedBean
is found on a class, the runtime must act as if a<managed-bean-scope>view<managed-bean-scope>
element was declared for the corresponding managed bean.
Package javax.faces.bean Description
These javadoc files constitute the “Faces Managed Bean Annotation Specification for Containers Conforming to Servlet 2.5 and Beyond”
At the time of this writing, a forthcoming JCP effort is being planned to extract the specification for managed beans from JSF and place it into its own specification. To account for this effort and to avoid introducing classes into JSF 2.0 that would have to be deprecated when this effort is complete, implementations of JSF 2.0 are not required to implement the “Faces Managed Bean Annotation Specification for Containers Conforming to Servlet 2.5”. However, JSF implementations are strongly encouraged to implement this specification, as it provides significant improvements in ease of use.
The annotations must be processed as specified in section JSF.11.5.1.
Nederlandse vertaling
U hebt gevraagd om deze site in het Nederlands te bezoeken. Voor nu wordt alleen de interface vertaald, maar nog niet alle inhoud.Als je me wilt helpen met vertalingen, is je bijdrage welkom. Het enige dat u hoeft te doen, is u op de site registreren en mij een bericht sturen waarin u wordt gevraagd om u toe te voegen aan de groep vertalers, zodat u de gewenste pagina's kunt vertalen. Een link onderaan elke vertaalde pagina geeft aan dat u de vertaler bent en heeft een link naar uw profiel.
Bij voorbaat dank.
Document heeft de 11/06/2005 gemaakt, de laatste keer de 18/08/2025 gewijzigd
Bron van het afgedrukte document:https://www.gaudry.be/nl/java-api-javaee-rf-javax/faces/bean/package-summary.html
De infobrol is een persoonlijke site waarvan de inhoud uitsluitend mijn verantwoordelijkheid is. De tekst is beschikbaar onder CreativeCommons-licentie (BY-NC-SA). Meer info op de gebruiksvoorwaarden en de auteur.
Referenties
Deze verwijzingen en links verwijzen naar documenten die geraadpleegd zijn tijdens het schrijven van deze pagina, of die aanvullende informatie kunnen geven, maar de auteurs van deze bronnen kunnen niet verantwoordelijk worden gehouden voor de inhoud van deze pagina.
De auteur van deze site is als enige verantwoordelijk voor de manier waarop de verschillende concepten, en de vrijheden die met de referentiewerken worden genomen, hier worden gepresenteerd. Vergeet niet dat u meerdere broninformatie moet doorgeven om het risico op fouten te verkleinen.