public class SerializableUiFactory extends AbstractUiFactory
UiFactory
.
The instances returned by newSession(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.Constructor and Description |
---|
SerializableUiFactory() |
Modifier and Type | Method and Description |
---|---|
Session |
newSession(WebApp wapp,
java.lang.Object nativeSess,
java.lang.Object request)
Creates an instance of
Session . |
getPageDefinition, getPageDefinitionDirectly, getPageDefinitionDirectly, getPageDefinitionDirectly, getRichlet, isRichlet, newComponent, newComponent, newComponent, newComposer, newComposer, newDesktop, newPage, newPage, newServerPush, start, stop
public Session newSession(WebApp wapp, java.lang.Object nativeSess, java.lang.Object request)
UiFactory
Session
.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.Copyright © 2005-2011 Potix Corporation. All Rights Reserved.