|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface defines the event context. The context contains information about the event (event, queue, plus request and response info if appropriate). The context also implements StateMap, so you can use it to pass information between event handlers. The scope of the context is only for the duration of an event dispatch cycle (ie. from Http Request to Http Response)
Field Summary | |
static java.lang.String |
BASE_EVENT
|
static java.lang.String |
DISPATCH_QUEUE
|
static java.lang.String |
VIEW_CAPABILITIES
|
Method Summary | |
BaseEvent |
getEvent()
Get the underlying BaseEvent |
DispatchQueue |
getQueue()
Get the underlying DispatchQueue |
ViewCapabilities |
getViewCapabilities()
Get the underlying ViewCapabilities |
void |
persistContext()
The event context must be able to persist its statemap so that it can reconstruct itself after a ClientSideRedirectException |
Methods inherited from interface org.enhydra.barracuda.core.util.data.StateMap |
getState, getStateKeys, getStateValues, putState, removeState |
Field Detail |
public static final java.lang.String BASE_EVENT
public static final java.lang.String DISPATCH_QUEUE
public static final java.lang.String VIEW_CAPABILITIES
Method Detail |
public BaseEvent getEvent()
public DispatchQueue getQueue()
public ViewCapabilities getViewCapabilities()
public void persistContext()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |