com.bowstreet.webapp.engine
Class CurrentWebAppAccessStack
java.lang.Object
com.bowstreet.webapp.engine.CurrentWebAppAccessStack
public class CurrentWebAppAccessStack
- extends java.lang.Object
Thread-singleton stack of WebAppAccess instances, with current on top.
Call CurrentWebAppAccessStack.peek() to get the most recent model instance
or CurrentWebAppAccessStack.getAll() to return a List of all the instances
in the current call stack.
-
Method Summary |
static java.util.List |
getAll()
Get the WebAppAccess instances associated with each active call. |
static WebAppAccess |
peek()
Get the current WebAppAccess instance |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CurrentWebAppAccessStack
public CurrentWebAppAccessStack()
getAll
public static java.util.List getAll()
- Get the WebAppAccess instances associated with each active call.
- Returns:
- List of WebAppAccess instances, arranged with current instance last
peek
public static WebAppAccess peek()
- Get the current WebAppAccess instance
- Returns:
- the current WebAppAccess from the top of the stack
Copyright © 2009 IBM. All Rights Reserved.