org.pricingnexus.cococ
Class StaticDataGatherer

java.lang.Object
  |
  +--java.lang.Thread
        |
        +--org.pricingnexus.cococ.StaticDataGatherer
All Implemented Interfaces:
java.lang.Runnable

public class StaticDataGatherer
extends java.lang.Thread

This objects task is to create static data for the PricingNexus. What is "static data"? It's a securities definition. Starting with it's name, going on with unique identifiers (e.g. ISIN, WKN) and all specific data (e.g. maturity, strike, underlying for a warrant).
The class itself does just the handling with the JMS provider, fetching messages and so on. The combination from security type and identification type (e.g. ISIN, WKN) specifies a class that will do the main work: Fetching the data from the web, parsing, checking and finally insert it into the database.
This class does not have any worker threads. It might seem like a bottleneck when someone starts up PN the first time, because hundreds or thousands of instruments have to be createt - this WILL take some time. But as soon as a basic database has been set up, this class should not have to work too much. $Header$


Field Summary
 boolean stopFlag
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
StaticDataGatherer(IniReader myIni)
           
 
Method Summary
 void run()
           
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

stopFlag

public boolean stopFlag
Constructor Detail

StaticDataGatherer

public StaticDataGatherer(IniReader myIni)
Method Detail

run

public void run()
Overrides:
run in class java.lang.Thread