Interface ObserverFactory
- All Known Implementing Classes:
TimerAtObserverFactory
,TimerIntervalObserverFactory
,TimerScheduleObserverFactory
public interface ObserverFactory
Interface for factories for making observer instances.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
makeObserver
(PatternAgentInstanceContext context, MatchedEventMap beginState, ObserverEventEvaluator observerEventEvaluator, Object observerState, boolean isFilterChildNonQuitting) Make an observer instance.
-
Method Details
-
makeObserver
EventObserver makeObserver(PatternAgentInstanceContext context, MatchedEventMap beginState, ObserverEventEvaluator observerEventEvaluator, Object observerState, boolean isFilterChildNonQuitting) Make an observer instance.- Parameters:
context
- - services that may be required by observer implementationbeginState
- - start state for observerobserverEventEvaluator
- - receiver for events observedobserverState
- - state node for observerisFilterChildNonQuitting
- true for non-quitting filter- Returns:
- observer instance
-
isNonRestarting
boolean isNonRestarting()
-