jgnash.net.security
Class SecurityUpdateFactory

java.lang.Object
  extended by jgnash.net.security.SecurityUpdateFactory

public class SecurityUpdateFactory
extends java.lang.Object

Fetches latest stock prices in the background

Version:
$Id$
Author:
Craig Cavanaugh

Nested Class Summary
static class SecurityUpdateFactory.SecurityUpdateWorker
           
 
Field Summary
private static int ABORT_COUNT
           
private static java.util.logging.Logger logger
           
private static java.lang.String UPDATE_ON_STARTUP
           
 
Constructor Summary
private SecurityUpdateFactory()
           
 
Method Summary
static boolean getUpdateOnStartup()
           
static SecurityUpdateFactory.SecurityUpdateWorker getUpdateWorker()
           
static void setUpdateOnStartup(boolean update)
           
static boolean updateOne(SecurityNode node)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ABORT_COUNT

private static final int ABORT_COUNT
See Also:
Constant Field Values

UPDATE_ON_STARTUP

private static final java.lang.String UPDATE_ON_STARTUP
See Also:
Constant Field Values

logger

private static java.util.logging.Logger logger
Constructor Detail

SecurityUpdateFactory

private SecurityUpdateFactory()
Method Detail

setUpdateOnStartup

public static void setUpdateOnStartup(boolean update)

getUpdateOnStartup

public static boolean getUpdateOnStartup()

updateOne

public static boolean updateOne(SecurityNode node)

getUpdateWorker

public static SecurityUpdateFactory.SecurityUpdateWorker getUpdateWorker()