java.lang.Object
org.apache.wicket.cdi.ConversationExpiryChecker
- All Implemented Interfaces:
IComponentOnBeforeRenderListener
Checks for conversation expiration during page render and throws a
ConversationExpiredException
when an expired conversation is
detected.
For example a link that calls Conversation.end()
but does not
redirect to a non-conversation-dependent page will be caught by this
listener.- Author:
- igor
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onBeforeRender
(Component component) Called when the component is about to be rendered
-
Constructor Details
-
ConversationExpiryChecker
public ConversationExpiryChecker()
-
-
Method Details
-
onBeforeRender
Description copied from interface:IComponentOnBeforeRenderListener
Called when the component is about to be rendered- Specified by:
onBeforeRender
in interfaceIComponentOnBeforeRenderListener
- Parameters:
component
- the component that is about to be rendered
-