biz.hammurapi.rules
Class RulesContainerBase

java.lang.Object
  extended by biz.hammurapi.util.VisitableBase
      extended by biz.hammurapi.config.GenericContainer
          extended by biz.hammurapi.config.DomConfigurableContainer
              extended by biz.hammurapi.rules.RulesContainerBase
All Implemented Interfaces:
biz.hammurapi.config.Command, biz.hammurapi.config.Component, biz.hammurapi.config.Context, biz.hammurapi.config.DomConfigurable, biz.hammurapi.metrics.MeasurementCollector, biz.hammurapi.metrics.MeasurementConsumer, KnowledgeBase, biz.hammurapi.util.Attributable, biz.hammurapi.util.Searchable, biz.hammurapi.util.Visitable
Direct Known Subclasses:
QueueingRulesContainer

public abstract class RulesContainerBase
extends biz.hammurapi.config.DomConfigurableContainer
implements KnowledgeBase

Base class for containers of rules. Implements getComponentName() method which returns value of <rule>/<name> element.

Author:
Pavel Vlasov

Nested Class Summary
 
Nested classes/interfaces inherited from interface biz.hammurapi.rules.KnowledgeBase
KnowledgeBase.KnowledgeBaseCommand
 
Constructor Summary
RulesContainerBase()
           
 
Method Summary
protected  java.lang.String getComponentName(org.w3c.dom.Node node)
           
 
Methods inherited from class biz.hammurapi.config.DomConfigurableContainer
configure
 
Methods inherited from class biz.hammurapi.config.GenericContainer
acceptChildren, addComponent, addMeasurement, execute, get, getAttribute, getComponentMap, getComponentNames, getComponents, getMeasurementConsumer, getOwner, removeAttribute, setAttribute, setMeasurementConsumer, setOwner, start, stop
 
Methods inherited from class biz.hammurapi.util.VisitableBase
accept, convert2searchable, find, findAll, object2visitor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface biz.hammurapi.rules.KnowledgeBase
add, executeRules, getRules, remove, reset
 

Constructor Detail

RulesContainerBase

public RulesContainerBase()
Method Detail

getComponentName

protected java.lang.String getComponentName(org.w3c.dom.Node node)
Specified by:
getComponentName in class biz.hammurapi.config.DomConfigurableContainer


Copyright © 2005 Hammurapi Group. All Rights Reserved.