Package org.apache.wicket.cdi
Class ConversationExpiryChecker
- java.lang.Object
-
- org.apache.wicket.cdi.ConversationExpiryChecker
-
- All Implemented Interfaces:
IComponentOnBeforeRenderListener
public class ConversationExpiryChecker extends Object implements IComponentOnBeforeRenderListener
Checks for conversation expiration during page render and throws aConversationExpiredException
when an expired conversation is detected. For example a link that callsConversation.end()
but does not redirect to a non-conversation-dependent page will be caught by this listener.- Author:
- igor
-
-
Constructor Summary
Constructors Constructor Description ConversationExpiryChecker()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onBeforeRender(Component component)
Called when the component is about to be rendered
-
-
-
Constructor Detail
-
ConversationExpiryChecker
public ConversationExpiryChecker()
-
-
Method Detail
-
onBeforeRender
public void onBeforeRender(Component component)
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
-
-