org.ofbiz.base.splash
Class SplashLoader

java.lang.Object
  extended by org.ofbiz.base.splash.SplashLoader
All Implemented Interfaces:
java.lang.Runnable, StartupLoader

public class SplashLoader
extends java.lang.Object
implements StartupLoader, java.lang.Runnable


Field Summary
static java.lang.String module
           
 
Constructor Summary
SplashLoader()
           
 
Method Summary
static void close()
           
static SplashScreen getSplashScreen()
           
 void load(Start.Config config, java.lang.String[] args)
          Load a startup class
 void run()
           
 void start()
          Start the startup class
 void unload()
          Stop the container
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

module

public static final java.lang.String module
Constructor Detail

SplashLoader

public SplashLoader()
Method Detail

load

public void load(Start.Config config,
                 java.lang.String[] args)
          throws StartupException
Load a startup class

Specified by:
load in interface StartupLoader
Parameters:
config - Startup config
args - Input arguments
Throws:
StartupException

start

public void start()
           throws StartupException
Start the startup class

Specified by:
start in interface StartupLoader
Throws:
StartupException

unload

public void unload()
            throws StartupException
Stop the container

Specified by:
unload in interface StartupLoader
Throws:
StartupException

getSplashScreen

public static SplashScreen getSplashScreen()

close

public static void close()

run

public void run()
Specified by:
run in interface java.lang.Runnable