See: Description
Class | Description |
---|---|
Attributes |
The
Attributes provides methods for accessing attributes in a
RBMap object. |
RBMap |
RBMap represents a rulebase map.
|
RBMapXML |
The
RBMapXML
provides methods for accessing XML representation of a
RBMap . |
Exception | Description |
---|---|
RBMapException |
Signals that an error occurred while processing rulebase map.
|
The RulebaseMap configuration object has three primary components:
A user defined group can be composed of a number of agents, groups, or combination thereof. A user defined group may have both user defined and automatic groups as elements in their definition.
The OS groups are automatic groups whose names correspond to the operating systems of the machines the agents are running on. The OS groups have the form "++OSName" where OSName is the value of the Java system property "os.name". Examples of automatic group names are ++Windows 2000, ++Solaris, ++HPUX, etc. Examples of user defined group names are "+servers", "+clients".
There is a special automatic group referred to as the ALL group. The ALL group includes every TIBCO Hawk Agent and is simply named "++".
Example:
+group1 agent1 agent2 agent3 +groupX agentX +group1In the preceding example, agentX and +group1 belong to +groupX, and agent1 belongs to +group1 as well as +groupX.
rulebase1 agent1 agent2 ++Windows rulebase2 +group2 rulebase3 agent2 +group2 rulebase4 ++agent1 uses rulebase1 and agents in +group2 uses rulebase2 and rulebase3. All agents uses rulebase4 as rulebase4 maps to "++", the all group. All agents that are running under Windows operating system will uses rulebase1.
The use of command mapping depends on a setting of one of the attributes of the RulebaseMap. The commands mapping can be used as the only mechanism to generate the rulebases to be loaded or as a supplement to the groups and rulebases mapping of the RulebaseMap. It can also be ignored for generating the rulebases.
Note that the -rulebases option supported by the agent (RulebaseEngine MicroAgent) can be used together with the RulebaseMap to specify additional rulebases.
TIBCO Hawk Rulebase API
Copyright © 2000-2019 TIBCO Inc. All Rights Reserved.