Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [incquery-dev] IPatternMatch refactoring

Hi,

-----incquery-dev-bounces@xxxxxxxxxxx ezt írta: -----
- Fortunately, the decoupling of RuleSpecification from MatcherFactory was already done earlier, so only the change from Activation<IPatternMatch> and RuleSpecification<IPatternMatch> to ITuple versions is required. After that it is possible to define specific RuleSpecifications, which attach to an event source when instantiating.
- Finally, RuleInstance uses IMatchProcessor and IMatchUpdateListener for attaching to the event source, but that can be refactored into the IncQueryMatcher-specific RuleInstance class.
Can't we hide away all these behind a facade called EventSource{Specification|Instance|...} or something, so that we do not need multiple RuleSpecification and RuleInstance classes? 

Cheers
Gaben

Back to the top