Login | Register
My pages Projects Community openCollabNet
CyberWebForm 2.0

cyber.web.form
Class WebFormSession

java.lang.Object
  |
  +--cyber.web.form.AbstractDecomposable
        |
        +--cyber.web.form.WebFormSession
All Implemented Interfaces:
Decomposable

public class WebFormSession
extends AbstractDecomposable

Holds the session context. Usually this means a HTTP session.

Author:
cying

Constructor Summary
WebFormSession(HttpSession session1, WebFormConfig reg)
           
 
Method Summary
 void checkLoadPluginConfig(String currentPath, String pluginName, String configName, WebFormTransaction tr)
           
 void decompose(DecomposeQueue queue)
          Called by DecomposeQueue to indicate a request for decomposition.
 Object getAttribute(String name)
           
 Iterator getAttributeNames()
           
static WebFormSession getInstance(HttpSession session1)
           
 FormModelManager getManager()
           
 ServletContext getServletContext()
           
 XFormManager getXManager()
           
 void invalidateSession(WebFormTransaction tr)
           
 void invalidateWFA10Manager()
           
 boolean isConfigModified(WebFormConfig config1)
           
 void release()
           
 void removeAllAttributes()
           
 Object removeAttribute(String name)
           
 void setAttribute(String name, Object value)
           
 void unloadPluginConfig(String currentPath, String pluginName, String configName, WebFormTransaction tr)
           
 void updatePluginConfig(String currentPath, String pluginName, String configName, Object parameter, WebFormTransaction tr)
           
 
Methods inherited from class cyber.web.form.AbstractDecomposable
isDecomposed, markDecomposed
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebFormSession

public WebFormSession(HttpSession session1,
                      WebFormConfig reg)
Parameters:
reg -  
Method Detail

getInstance

public static WebFormSession getInstance(HttpSession session1)

decompose

public void decompose(DecomposeQueue queue)
Description copied from interface: Decomposable
Called by DecomposeQueue to indicate a request for decomposition. This methods should call DecomposeQueue.enqueue(Decomposable decomp) to put other decomposables into the queue, not by calling their #decompose() directly.
Overrides:
decompose in class AbstractDecomposable
Following copied from interface: cyber.web.form.Decomposable
Parameters:
queue - The decompose queue.

invalidateSession

public void invalidateSession(WebFormTransaction tr)

isConfigModified

public boolean isConfigModified(WebFormConfig config1)
Parameters:
config -  
Returns:
 

release

public void release()

checkLoadPluginConfig

public void checkLoadPluginConfig(String currentPath,
                                  String pluginName,
                                  String configName,
                                  WebFormTransaction tr)
                           throws ConfigException

unloadPluginConfig

public void unloadPluginConfig(String currentPath,
                               String pluginName,
                               String configName,
                               WebFormTransaction tr)
                        throws ConfigException

updatePluginConfig

public void updatePluginConfig(String currentPath,
                               String pluginName,
                               String configName,
                               Object parameter,
                               WebFormTransaction tr)
                        throws ConfigException

invalidateWFA10Manager

public void invalidateWFA10Manager()

getManager

public FormModelManager getManager()
                            throws ConfigException
Returns:
 

getXManager

public XFormManager getXManager()
Returns:
 

getServletContext

public ServletContext getServletContext()
Returns:
 

getAttribute

public Object getAttribute(String name)
Parameters:
name -  
Returns:
 

getAttributeNames

public Iterator getAttributeNames()
Returns:
 

removeAllAttributes

public void removeAllAttributes()

removeAttribute

public Object removeAttribute(String name)
Parameters:
name -  
Returns:
 

setAttribute

public void setAttribute(String name,
                         Object value)
Parameters:
name -  
value -  

CyberWebForm 2.0

Copyright 2000-2002 Apache Software Foundation.