public abstract class NamedWindowOnExprBaseView extends ViewSupport implements StopCallback
EMPTY_VIEW_ARRAY
Constructor and Description |
---|
NamedWindowOnExprBaseView(NamedWindowLookupStrategy lookupStrategy,
NamedWindowRootViewInstance rootView,
ExprEvaluatorContext exprEvaluatorContext)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
ExprEvaluatorContext |
getExprEvaluatorContext()
returns expr context.
|
abstract void |
handleMatching(EventBean[] triggerEvents,
EventBean[] matchingEvents)
Implemented by on-trigger views to action on the combination of trigger and matching events in the named window.
|
void |
stop()
Stops the underlying resources.
|
void |
update(EventBean[] newData,
EventBean[] oldData)
Notify that data has been added or removed from the Viewable parent.
|
addView, addView, dumpChildViews, dumpUpdateParams, dumpUpdateParams, findDescendent, findViewIndex, getParent, getViews, hasViews, removeAllViews, removeView, removeView, setParent, updateChildren
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getEventType, iterator
public NamedWindowOnExprBaseView(NamedWindowLookupStrategy lookupStrategy, NamedWindowRootViewInstance rootView, ExprEvaluatorContext exprEvaluatorContext)
lookupStrategy
- for handling trigger events to determine deleted eventsrootView
- to indicate which events to deleteexprEvaluatorContext
- context for expression evalauationpublic abstract void handleMatching(EventBean[] triggerEvents, EventBean[] matchingEvents)
triggerEvents
- is the trigger events (usually 1)matchingEvents
- is the matching events retrieved via lookup strategypublic void stop()
StopCallback
stop
in interface StopCallback
public void update(EventBean[] newData, EventBean[] oldData)
View
public ExprEvaluatorContext getExprEvaluatorContext()