public final class LifecycleProvider extends ListenerContainer<IncQueryEngineLifecycleListener> implements IncQueryEngineLifecycleListener
Constructor and Description |
---|
LifecycleProvider(AdvancedIncQueryEngine incQueryEngine,
org.apache.log4j.Logger logger) |
Modifier and Type | Method and Description |
---|---|
void |
engineBecameTainted(java.lang.String description,
java.lang.Throwable t)
Called after the engine has become tainted due to a fatal error
|
void |
engineDisposed()
Called after the engine has been disposed
|
void |
engineWiped()
Called after the engine has been wiped
|
void |
matcherInstantiated(IncQueryMatcher<? extends IPatternMatch> matcher)
Called after a matcher is instantiated in the engine
|
addListener, removeListener
public LifecycleProvider(AdvancedIncQueryEngine incQueryEngine, org.apache.log4j.Logger logger)
incQueryEngine
- public void matcherInstantiated(IncQueryMatcher<? extends IPatternMatch> matcher)
IncQueryEngineLifecycleListener
matcherInstantiated
in interface IncQueryEngineLifecycleListener
matcher
- the new matcherpublic void engineBecameTainted(java.lang.String description, java.lang.Throwable t)
IncQueryEngineLifecycleListener
engineBecameTainted
in interface IncQueryEngineLifecycleListener
public void engineWiped()
IncQueryEngineLifecycleListener
engineWiped
in interface IncQueryEngineLifecycleListener
public void engineDisposed()
IncQueryEngineLifecycleListener
engineDisposed
in interface IncQueryEngineLifecycleListener