Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.

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.
Nach oben
Red Hat logoGithubredditYoutubeTwitter

Lernen

Testen, kaufen und verkaufen

Communitys

Über Red Hat Dokumentation

Wir helfen Red Hat Benutzern, mit unseren Produkten und Diensten innovativ zu sein und ihre Ziele zu erreichen – mit Inhalten, denen sie vertrauen können. Entdecken Sie unsere neuesten Updates.

Mehr Inklusion in Open Source

Red Hat hat sich verpflichtet, problematische Sprache in unserem Code, unserer Dokumentation und unseren Web-Eigenschaften zu ersetzen. Weitere Einzelheiten finden Sie in Red Hat Blog.

Über Red Hat

Wir liefern gehärtete Lösungen, die es Unternehmen leichter machen, plattform- und umgebungsübergreifend zu arbeiten, vom zentralen Rechenzentrum bis zum Netzwerkrand.

Theme

© 2025 Red Hat