org.zkoss.zk.ui.http
Class SerializableUiFactory

java.lang.Object
  extended by org.zkoss.zk.ui.impl.AbstractUiFactory
      extended by 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.Object) is serializable, such that session can be stored when the Web server stops and restore after it starts.

Author:
tomyeh

Constructor Summary
SerializableUiFactory()
           
 
Method Summary
 Session newSession(WebApp wapp, java.lang.Object nativeSess, java.lang.Object request)
          Creates an instance of Session.
 
Methods inherited from class org.zkoss.zk.ui.impl.AbstractUiFactory
getPageDefinition, getPageDefinitionDirectly, getPageDefinitionDirectly, getPageDefinitionDirectly, getRichlet, isRichlet, newComponent, newComponent, newComposer, newComposer, newDesktop, newPage, newPage, newServerPush, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SerializableUiFactory

public SerializableUiFactory()
Method Detail

newSession

public Session newSession(WebApp wapp,
                          java.lang.Object nativeSess,
                          java.lang.Object request)
Description copied from interface: UiFactory
Creates an instance of Session.

Parameters:
wapp - the web application
nativeSess - 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. SourceForge.net Logo