net.sf.lavalamp.runner
Class DefaultApplication

java.lang.Object
  extended by net.sf.lavalamp.runner.DefaultApplication
All Implemented Interfaces:
Application
Direct Known Subclasses:
Run, WebRun

public abstract class DefaultApplication
extends Object
implements Application

Base class for application runners.

Author:
Steven Hale

Field Summary
protected  Console console
           
protected  ApplicationProperties properties
           
protected static String TICK
           
 
Constructor Summary
DefaultApplication()
           
 
Method Summary
 void init()
          Initializes the application
 void setConsole(Console console)
           
 void setProperties(ApplicationProperties properties)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface net.sf.lavalamp.runner.Application
exec
 

Field Detail

properties

protected ApplicationProperties properties

TICK

protected static final String TICK
See Also:
Constant Field Values

console

protected Console console
Constructor Detail

DefaultApplication

public DefaultApplication()
Method Detail

init

public void init()
          throws Exception
Initializes the application

Specified by:
init in interface Application
Throws:
Exception

setProperties

public void setProperties(ApplicationProperties properties)
Specified by:
setProperties in interface Application

setConsole

public void setConsole(Console console)
Specified by:
setConsole in interface Application


Copyright © 2010. All Rights Reserved.