Package org.zkoss.zk.ui.http
Class SerializableUiFactory
- java.lang.Object
-
- org.zkoss.zk.ui.impl.AbstractUiFactory
-
- org.zkoss.zk.ui.http.SerializableUiFactory
-
- All Implemented Interfaces:
UiFactory
public class SerializableUiFactory extends AbstractUiFactory
The serializable implementation ofUiFactory
. The instances returned bynewSession(org.zkoss.zk.ui.WebApp, java.lang.Object, java.lang.Object)
is serializable, such that session can be stored when the Web server stops and restore after it starts.- Author:
- tomyeh
-
-
Constructor Summary
Constructors Constructor Description SerializableUiFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Session
newSession(WebApp wapp, java.lang.Object nativeSess, java.lang.Object request)
Creates an instance ofSession
.-
Methods inherited from class org.zkoss.zk.ui.impl.AbstractUiFactory
getPageDefinition, getPageDefinitionDirectly, getPageDefinitionDirectly, getPageDefinitionDirectly, getRichlet, isRichlet, newComponent, newComponent, newComponent, newComposer, newComposer, newDesktop, newDesktop, newPage, newPage, newServerPush, start, stop
-
-
-
-
Method Detail
-
newSession
public Session newSession(WebApp wapp, java.lang.Object nativeSess, java.lang.Object request)
Description copied from interface:UiFactory
Creates an instance ofSession
.- Parameters:
wapp
- the web applicationnativeSess
- the native session depending on the Web server. If HTTP is used, it is javax.servlet.http.HttpSession.request
- the original request. If HTTP, it is javax.servlet.http.HttlServletRequest.
-
-