|
ABLE 2.3.0 07/13/2005 14:21:00 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectcom.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, properties, propertyConnectionMgr, sourceBufferConnections, state, stateChgSupport, trace |
| Constructor Summary | |
|---|---|
AbleRuleBase()
|
|
AbleRuleBase(java.lang.String theName)
|
|
| Method Summary | |
|---|---|
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, getProperties, getProperty, getState, getTraceLogger, init, isChanged, process, removeProperty, setChanged, setComment, setLogger, setName, setParent, setProperties, setProperty, 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, getPropertyChangeListeners, 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 interface AbleBeanreset in class AbleDefaultAgentAbleException - 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 interface AbleBeanprocess in class AbleDefaultAgentAbleException - If an error occurs. Errors from each contained
bean are accumulated.
|
ABLE 2.3.0 07/13/2005 14:21:00 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||