|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.plumtree.uiinfrastructure.interpreter.filter.BaseInterpreterFilter com.plumtree.uiinfrastructure.interpreter.filter.RequestLockFilter
public class RequestLockFilter
A filter to perform a lock on the session. The lock will be released in the PostFilter method.
Constructor Summary | |
---|---|
RequestLockFilter()
|
Method Summary | |
---|---|
static void |
LockSession(ISessionManager session)
Helper method to lock the session. |
void |
PostFilter(RequestData requestData)
This method releases the session lock. |
boolean |
PreFilter(RequestData requestData)
This method will perform a lock on the session, since the activityspace related code is not thread safe. |
static void |
UnlockSession(ISessionManager session)
A helper method to unlock the session. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RequestLockFilter()
Method Detail |
---|
public boolean PreFilter(RequestData requestData)
PreFilter
in interface IInterpreterFilter
PreFilter
in class BaseInterpreterFilter
requestData
- The request to be processed.
public void PostFilter(RequestData requestData)
PostFilter
in interface IInterpreterFilter
PostFilter
in class BaseInterpreterFilter
requestData
- The request.public static void LockSession(ISessionManager session)
session
- The current session manager.public static void UnlockSession(ISessionManager session)
session
- The current session manager.
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |