Package com.nt.udc.aggregator
Class AggrConfig
java.lang.Object
com.nt.udc.aggregator.AggregatorModule
com.nt.udc.aggregator.AggrConfig
- All Implemented Interfaces:
ConfigIfc
This class stores the configuration data for both the
config file and the rules file.
This class will only continue working if there are no
ambiguous config/rule names.
-
Field Summary
Fields inherited from class com.nt.udc.aggregator.AggregatorModule
config, logger
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
This method should obtain the necessary information from the config class, in order to configure the module.getConfigObject
(String ifcType) Returns an instance of the given ifcType that can handle the given interface's aggregator feature.Looks in both the config file and the rules file for a given setting.int[]
Returns those fields needed by a newly created record.void
Not supported.void
shutdown()
Performs shutdown-related procedures
-
Constructor Details
-
AggrConfig
-
-
Method Details
-
getConfigData
protected void getConfigData()Description copied from class:AggregatorModule
This method should obtain the necessary information from the config class, in order to configure the module.- Specified by:
getConfigData
in classAggregatorModule
-
recordInitFields
public int[] recordInitFields()Returns those fields needed by a newly created record.- Specified by:
recordInitFields
in classAggregatorModule
- Returns:
- Field ID's to include in a new record that is inserted into the table.
-
shutdown
public void shutdown()Performs shutdown-related procedures- Specified by:
shutdown
in classAggregatorModule
-
getItem
Looks in both the config file and the rules file for a given setting. If a setting is ambiguous, it returns the one in the config file. -
setItem
Not supported. -
getConfigObject
Returns an instance of the given ifcType that can handle the given interface's aggregator feature. Typically, the return value can be cast to the interface name.- Parameters:
ifcType
- Interface, defining the feature we're looking for.- Returns:
- Object that implements the feature, or null if unavailable.
-