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 of UiFactory.
The instances returned by newSession(org.zkoss.zk.ui.WebApp, java.lang.Object, java.lang.String, java.lang.String) is serializable, such that
session can be stored when the Web server stops and restore after it starts.
- Author:
- tomyeh
|
Method Summary |
Session |
newSession(WebApp wapp,
java.lang.Object nativeSess,
java.lang.String clientAddr,
java.lang.String clientHost)
Creates an instance of Session. |
| Methods inherited from class org.zkoss.zk.ui.impl.AbstractUiFactory |
getPageDefinition, getPageDefinitionDirectly, getPageDefinitionDirectly, getPageDefinitionDirectly, getRichlet, isRichlet, newComponent, newComponent, newDesktop, newPage, newPage, start, stop |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SerializableUiFactory
public SerializableUiFactory()
newSession
public Session newSession(WebApp wapp,
java.lang.Object nativeSess,
java.lang.String clientAddr,
java.lang.String clientHost)
- Description copied from interface:
UiFactory
- Creates an instance of
Session.
- Parameters:
wapp - the web applicationnativeSess - the native session depending on the Web server.
If HTTP is used, it is javax.servlet.http.HttpSession.clientAddr - the client's IP address, or null if not available.clientHost - the client's host name, or null if not available.
Copyright © 2005-2007 Potix Corporation. All Rights Reserved.