Login | Register
My pages Projects Community openCollabNet
CyberWebForm 2.0

cyber.web.form
Class WebFormTransaction

java.lang.Object
  |
  +--cyber.web.form.WebFormTransaction

public class WebFormTransaction
extends Object

Holds the transactional context of the architecture. Usually this means a HTTP request/response. States stored here is persistent only within a HTTP request/response.

Author:
cying

Method Summary
 void addTransactionHandler(TransactionHandler value)
           
static WebFormTransaction createInstance()
           
 Object getAttribute(String name)
           
 Iterator getAttributeNames()
           
 DecomposeQueue getDecomposeQueue()
           
 HttpSession getHttpSession()
           
static WebFormTransaction getInstance(PageContext pageContext)
           
static WebFormTransaction getInstance(ServletRequest req1, ServletResponse res1)
           
 TransactionHandler getMulticastTransactionHandler()
           
 ServletContext getServletContext()
           
 HttpServletRequest getServletRequest()
           
 HttpServletResponse getServletResponse()
           
 void handleComplete()
           
 void handleFinally()
           
 void handleThrowable(Throwable throwable, PageContext pageContext)
           
 void removeAllAttributes()
           
 Object removeAttribute(String name)
           
 void removeTransactionHandler(TransactionHandler value)
           
 void setAttribute(String name, Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static WebFormTransaction getInstance(PageContext pageContext)

getInstance

public static WebFormTransaction getInstance(ServletRequest req1,
                                             ServletResponse res1)

createInstance

public static WebFormTransaction createInstance()

getHttpSession

public HttpSession getHttpSession()

addTransactionHandler

public void addTransactionHandler(TransactionHandler value)

removeTransactionHandler

public void removeTransactionHandler(TransactionHandler value)

getMulticastTransactionHandler

public TransactionHandler getMulticastTransactionHandler()

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 -  

handleThrowable

public void handleThrowable(Throwable throwable,
                            PageContext pageContext)

handleComplete

public void handleComplete()

handleFinally

public void handleFinally()

getServletContext

public ServletContext getServletContext()

getDecomposeQueue

public DecomposeQueue getDecomposeQueue()

getServletRequest

public HttpServletRequest getServletRequest()
Returns:
 

getServletResponse

public HttpServletResponse getServletResponse()
Returns:
 

CyberWebForm 2.0

Copyright 2000-2002 Apache Software Foundation.