|
ABLE 2.0.0 07/02/2003 10:25:01 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.able.AbleObject | +--com.ibm.able.AbleDefaultAgent | +--com.ibm.able.agents.AbleRuleBase
The AbleRuleBase managers a collection of AbleRuleSets: and selects which RuleSet to use based on context (user or domain name) An AbleRuleBase is an AbleAgent, it contains a set of AbleBeans (RuleSets)
Field Summary | |
---|---|
static java.lang.String |
defaultName
Value assigned to name by default. |
java.util.Hashtable |
ruleSets
|
Fields inherited from class com.ibm.able.AbleDefaultAgent |
---|
activeDataSource, eventConnections, myBeans, numEpochs, processList, processListOK, userDefinedFunctions |
Fields inherited from class com.ibm.able.AbleObject |
---|
changed, chgSupport, comment, dataFlowEnabled, destBufferConnections, eventQueue, fileName, inputBuffer, listeners, logger, name, outputBuffer, parent, propertyConnectionMgr, sourceBufferConnections, state, stateChgSupport, trace |
Constructor Summary | |
---|---|
AbleRuleBase()
|
|
AbleRuleBase(java.lang.String theName)
|
Method Summary | |
---|---|
static java.lang.String |
Copyright()
Determine the copyright of this class. |
AbleRuleSet |
getRuleSet(java.lang.String name)
|
java.util.Hashtable |
getRuleSets()
|
void |
process()
Process a single RuleSet in this RuleBase This is usually based on some user or domain name |
void |
reset()
Reset each RuleSet in the rulebase. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.ibm.able.AbleBean |
---|
getComment, getLogger, getName, getParent, getState, getTraceLogger, init, init, isChanged, process, setChanged, setComment, setLogger, setName, setParent, setState, setTraceLogger |
Methods inherited from interface com.ibm.able.AbleEventListenerManager |
---|
addAbleEventListener, dataChanged, getAbleEventListeners, notifyAbleEventListeners, removeAbleEventListener |
Methods inherited from interface com.ibm.able.AbleEventQueueProcessor |
---|
processAbleEvent, processNoEventProcessingEnabledSituation, processTimerEvent |
Methods inherited from interface com.ibm.able.AblePropertyChangeManager |
---|
addPropertyChangeListener, addPropertyConnection, getPropertyConnectionManager, removeAllPropertyConnections, removePropertyChangeListener, removePropertyConnection |
Methods inherited from interface com.ibm.able.AbleSerializable |
---|
getFileName, restoreFromFile, restoreFromFile, saveToFile, saveToFile, setFileName |
Methods inherited from interface com.ibm.able.AbleBeanContainer |
---|
getName |
Field Detail |
public static final java.lang.String defaultName
public java.util.Hashtable ruleSets
Constructor Detail |
public AbleRuleBase() throws AbleException
public AbleRuleBase(java.lang.String theName) throws AbleException
Method Detail |
public void reset() throws AbleException
reset
in class AbleDefaultAgent
com.ibm.able.AbleDefaultAgent
AbleException
- If an error occurs when resetting
a contained bean. All errors are
collected and insert into the exception
so that one bean's error does not
prevent another from being reset.public java.util.Hashtable getRuleSets()
public AbleRuleSet getRuleSet(java.lang.String name)
public void process() throws AbleException
process
in class AbleDefaultAgent
com.ibm.able.AbleDefaultAgent
AbleException
- If an error occurs. Errors from each contained
bean are accumulated.public static java.lang.String Copyright()
|
ABLE 2.0.0 07/02/2003 10:25:01 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |