org.pricingnexus.cococ
Class URLSourceDirector

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

public class URLSourceDirector
extends java.lang.Thread

This is the working horse class for distributing the source URL's via JMS, checking refresh cycles and handling $Header$


Inner Class Summary
 class URLSourceDirector.messageListener
          The following will be needed for asynchronous delivery of messages from the command topic
 
Field Summary
 int flushTime
          Defines after how many seconds a "flush URL" command is released and URLs are newly distributed
 boolean shutdownProcess
           
 boolean XMLIndentFlag
           
 boolean XMLNewlineFlag
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
URLSourceDirector(IniReader IniObject)
          The main constructer must be given a reference to the INI-object as it stores all necessary information we need to connect to Database, JMS service and so on
 
Method Summary
 void run()
          All connections to other services (DB, JMS) are initiated here, additional threads are started
 
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

XMLIndentFlag

public boolean XMLIndentFlag

XMLNewlineFlag

public boolean XMLNewlineFlag

flushTime

public int flushTime
Defines after how many seconds a "flush URL" command is released and URLs are newly distributed

shutdownProcess

public boolean shutdownProcess
Constructor Detail

URLSourceDirector

public URLSourceDirector(IniReader IniObject)
The main constructer must be given a reference to the INI-object as it stores all necessary information we need to connect to Database, JMS service and so on
Method Detail

run

public void run()
All connections to other services (DB, JMS) are initiated here, additional threads are started
Overrides:
run in class java.lang.Thread