mta.mining.ab
Class PatternSearcherFactory

java.lang.Object
  extended bymta.mining.ab.PatternSearcherFactory
All Implemented Interfaces:
sofya.ed.semantic.ChainedEventListenerFactory

public final class PatternSearcherFactory
extends java.lang.Object
implements sofya.ed.semantic.ChainedEventListenerFactory

A factory for (ab)* pattern searchers. Used to create a separate pattern searcher for each thread's event stream. This ensures that candidate patterns can only be derived from the call events on individual threads.

Author:
Alex Kinneer

Constructor Summary
PatternSearcherFactory(CleanupCallFinder callChecker, ResultCollector results)
           
 
Method Summary
 sofya.ed.semantic.ChainedEventListener createEventListener(sofya.ed.semantic.ChainedEventListener parent, long streamId, java.lang.String streamName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PatternSearcherFactory

public PatternSearcherFactory(CleanupCallFinder callChecker,
                              ResultCollector results)
Method Detail

createEventListener

public sofya.ed.semantic.ChainedEventListener createEventListener(sofya.ed.semantic.ChainedEventListener parent,
                                                                  long streamId,
                                                                  java.lang.String streamName)
                                                           throws sofya.ed.semantic.FactoryException
Specified by:
createEventListener in interface sofya.ed.semantic.ChainedEventListenerFactory
Throws:
sofya.ed.semantic.FactoryException