Package org.apache.wicket.cdi
Class AutoConversationManager
- java.lang.Object
-
- org.apache.wicket.cdi.AutoConversationManager
-
- All Implemented Interfaces:
IComponentOnBeforeRenderListener
public class AutoConversationManager extends Object implements IComponentOnBeforeRenderListener
Automatically starts and ends conversations for pages with aConversationalComponent
.- Author:
- papegaaij
-
-
Constructor Summary
Constructors Constructor Description AutoConversationManager(IConversationPropagation propagation)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
autoBeginIfNecessary(Page page, IRequestHandler handler)
protected void
autoEndIfNecessary(Page page, IRequestHandler handler)
protected boolean
hasConversationalComponent(Page page)
void
onBeforeRender(Component component)
Called when the component is about to be rendered
-
-
-
Constructor Detail
-
AutoConversationManager
public AutoConversationManager(IConversationPropagation propagation)
-
-
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
-
autoBeginIfNecessary
protected void autoBeginIfNecessary(Page page, IRequestHandler handler)
-
autoEndIfNecessary
protected void autoEndIfNecessary(Page page, IRequestHandler handler)
-
hasConversationalComponent
protected boolean hasConversationalComponent(Page page)
-
-