Ce contenu n'est pas disponible dans la langue sélectionnée.

7.10. Contextual events


Seam defines a number of built-in events that the application uses for certain kinds of framework integration. The events are:
Expand
Table 7.1. Contextual Events
Event Description
org.jboss.seam.validationFailed
Called when JSFvalidation fails.
org.jboss.seam.noConversation
Called when there is nolong-running conversation and a long-running conversation is required.
org.jboss.seam.preSetVariable.<name>
Calledwhen the context variable <name> is set.
org.jboss.seam.postSetVariable.<name>
Calledwhen the context variable <name> is set.
org.jboss.seam.preRemoveVariable.<name>
Called when the context variable <name> is unset.
org.jboss.seam.postRemoveVariable.<name>
Called when the context variable <name> is unset.
org.jboss.seam.preDestroyContext.<SCOPE>
Called before the <SCOPE> context is destroyed.
org.jboss.seam.postDestroyContext.<SCOPE>
Called after the <SCOPE> context is destroyed.
org.jboss.seam.beginConversation
Called whenever along-running conversation begins.
org.jboss.seam.endConversation
Called whenever a long-running conversation ends.
org.jboss.seam.conversationTimeout
Called when aconversation timeout occurs. The conversation ID is passed as a parameter.
org.jboss.seam.beginPageflow
Called when a pageflowbegins.
org.jboss.seam.beginPageflow.<name>
Called when the pageflow <name> begins.
org.jboss.seam.endPageflow
Called when a pageflowends.
org.jboss.seam.endPageflow.<name>
Called when the pageflow <name> ends.
org.jboss.seam.createProcess.<name>
Calledwhen the process <name> is created.
org.jboss.seam.endProcess.<name>
Calledwhen the process <name> ends.
org.jboss.seam.initProcess.<name>
Calledwhen the process <name> is associated with the conversation.
org.jboss.seam.initTask.<name>
Called whenthe task <name> is associated with the conversation.
org.jboss.seam.startTask.<name>
Called whenthe task <name> is started.
org.jboss.seam.endTask.<name>
Called when the task <name> is ended.
org.jboss.seam.postCreate.<name>
Called when the component <name> is created.
org.jboss.seam.preDestroy.<name>
Called when the component <name> is destroyed.
org.jboss.seam.beforePhase
Called before the start of a JSF phase.
org.jboss.seam.afterPhase
Called after the end of a JSF phase.
org.jboss.seam.postInitialization
Called when Seam has initialized and started up all components.
org.jboss.seam.postReInitialization
Called when Seam has re-initialized and started up all components after a redeploy.
org.jboss.seam.exceptionHandled.<type>
Called when an uncaught exception is handled by Seam.
org.jboss.seam.exceptionHandled
Called when an uncaught exception is handled by Seam.
org.jboss.seam.exceptionNotHandled
Called when there was no handler for an uncaught exception.
org.jboss.seam.afterTransactionSuccess
Called when a transaction succeeds in the Seam Application Framework.
org.jboss.seam.afterTransactionSuccess.<name>
Called when a transaction succeeds in the Seam Application Framework managing the entity <name> .
org.jboss.seam.security.loggedOut
Called when a user logs out.
org.jboss.seam.security.loginFailed
Called when a user authentication attempt fails.
org.jboss.seam.security.loginSuccessful
Called when a user is successfully authenticated.
org.jboss.seam.security.notAuthorized
Called when an authorization check fails.
org.jboss.seam.security.notLoggedIn
Called when there is no authenticated user and authentication is required.
org.jboss.seam.security.postAuthenticate
Called after a user is authenticated.
org.jboss.seam.security.preAuthenticate
Called beforeattempting to authenticate a user.
Seam components observe these events just as they observe any other component-driven event.
Retour au début
Red Hat logoGithubredditYoutubeTwitter

Apprendre

Essayez, achetez et vendez

Communautés

À propos de la documentation Red Hat

Nous aidons les utilisateurs de Red Hat à innover et à atteindre leurs objectifs grâce à nos produits et services avec un contenu auquel ils peuvent faire confiance. Découvrez nos récentes mises à jour.

Rendre l’open source plus inclusif

Red Hat s'engage à remplacer le langage problématique dans notre code, notre documentation et nos propriétés Web. Pour plus de détails, consultez le Blog Red Hat.

À propos de Red Hat

Nous proposons des solutions renforcées qui facilitent le travail des entreprises sur plusieurs plates-formes et environnements, du centre de données central à la périphérie du réseau.

Theme

© 2025 Red Hat