org.onebusaway.presentation.impl.users
Class XWorkRequestAttributes

java.lang.Object
  extended by org.springframework.web.context.request.AbstractRequestAttributes
      extended by org.onebusaway.presentation.impl.users.XWorkRequestAttributes
All Implemented Interfaces:
org.springframework.web.context.request.RequestAttributes

public class XWorkRequestAttributes
extends org.springframework.web.context.request.AbstractRequestAttributes


Field Summary
 
Fields inherited from class org.springframework.web.context.request.AbstractRequestAttributes
requestDestructionCallbacks
 
Fields inherited from interface org.springframework.web.context.request.RequestAttributes
REFERENCE_REQUEST, REFERENCE_SESSION, SCOPE_GLOBAL_SESSION, SCOPE_REQUEST, SCOPE_SESSION
 
Constructor Summary
XWorkRequestAttributes(com.opensymphony.xwork2.ActionContext context, String sessionId)
           
 
Method Summary
 Object getAttribute(String name, int scope)
           
 String[] getAttributeNames(int scope)
           
 String getSessionId()
           
 Object getSessionMutex()
           
 void registerDestructionCallback(String name, Runnable callback, int scope)
           
 void removeAttribute(String name, int scope)
           
 Object resolveReference(String key)
           
 void setAttribute(String name, Object value, int scope)
           
protected  void updateAccessedSessionAttributes()
          Private Methods
 
Methods inherited from class org.springframework.web.context.request.AbstractRequestAttributes
isRequestActive, registerRequestDestructionCallback, removeRequestDestructionCallback, requestCompleted
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XWorkRequestAttributes

public XWorkRequestAttributes(com.opensymphony.xwork2.ActionContext context,
                              String sessionId)
Method Detail

getAttributeNames

public String[] getAttributeNames(int scope)

getAttribute

public Object getAttribute(String name,
                           int scope)

removeAttribute

public void removeAttribute(String name,
                            int scope)

setAttribute

public void setAttribute(String name,
                         Object value,
                         int scope)

getSessionId

public String getSessionId()

getSessionMutex

public Object getSessionMutex()

registerDestructionCallback

public void registerDestructionCallback(String name,
                                        Runnable callback,
                                        int scope)

resolveReference

public Object resolveReference(String key)

updateAccessedSessionAttributes

protected void updateAccessedSessionAttributes()
Private Methods

Specified by:
updateAccessedSessionAttributes in class org.springframework.web.context.request.AbstractRequestAttributes


Copyright © 2011 OneBusAway. All Rights Reserved.