*/
static public void process(String system) throws XException
{
String preProcessor = null;
Vector preProcessors = null;
Configuration config = Configuration.getInstance();
if (RECEIVER_SERVICE.equals(system))
{
preProcessor = config.getValueOptional("Base", "ReceiverService",
"PreProcessor");
if (preProcessor != null)
{
preProcessors = new Vector();
preProcessors.add(preProcessor);
} // then (preProcessor != null): a single pre-processor
else
{
preProcessor = config.getValueOptional("Base",
"ReceiverService", "PreProcessor1");
if (preProcessor != null)
{
preProcessors = new Vector();
for (int i = 2; preProcessor != null; i++)
{
preProcessors.add(preProcessor);
preProcessor = config.getValueOptional("Base",
"ReceiverService", "PreProcessor" + i);
} // for (int i=1; preProcessor!=null; i++)
} // if (preProcessor != null): some multiple pre-processors
} // else (preProcessor != null): no single pre-processors
} // then (RECEIVER_SERVICE.equals(system))
else
{
preProcessor = config.getValueOptional(Constants.CHAPTER_SYSTEM,
system, "PreProcessor");
if (preProcessor != null)
{
preProcessors = new Vector();
preProcessors.add(preProcessor);
} // then (preProcessor != null): a single pre-processor
else
{
preProcessor = config.getValueOptional(
Constants.CHAPTER_SYSTEM, system, "PreProcessor1");
if (preProcessor != null)
{
preProcessors = new Vector();
for (int i = 2; preProcessor != null; i++)
{
preProcessors.add(preProcessor);
preProcessor = config.getValueOptional(
Constants.CHAPTER_SYSTEM, system,
"PreProcessor" + i);
} // for (int i=1; preProcessor!=null; i++)
} // if (preProcessor != null): some multiple pre-processors
} // else (preProcessor != null): no single pre-processors