org.rapla
Class RaplaStartupEnvironment

java.lang.Object
  extended by org.rapla.RaplaStartupEnvironment
All Implemented Interfaces:
StartupEnvironment

public final class RaplaStartupEnvironment
extends Object
implements StartupEnvironment


Field Summary
 
Fields inherited from interface org.rapla.framework.StartupEnvironment
APPLET, CONSOLE, EMBEDDED, ROLE, SERVLET, WEBSTART
 
Constructor Summary
RaplaStartupEnvironment()
           
 
Method Summary
 Logger getBootstrapLogger()
           
 URL getConfigURL()
           
 URL getContextRootURL()
           
 URL getDownloadURL()
           
 Configuration getLoggerConfig()
           
 URL getLoggerConfigURL()
           
 Configuration getStartupConfiguration()
           
 int getStartupMode()
          either EMBEDDED, CONSOLE, WEBSTART, APPLET or SERVLET
 void setBootstrapLogger(Logger logger)
           
 void setConfigURL(URL configURL)
           
 void setDownloadURL(URL downloadURL)
           
 void setLogConfigURL(URL logConfigURL)
           
 void setStartupMode(int startupMode)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RaplaStartupEnvironment

public RaplaStartupEnvironment()
Method Detail

getStartupConfiguration

public Configuration getStartupConfiguration()
                                      throws RaplaException
Specified by:
getStartupConfiguration in interface StartupEnvironment
Throws:
RaplaException

getConfigURL

public URL getConfigURL()
                 throws RaplaException
Throws:
RaplaException

getLoggerConfigURL

public URL getLoggerConfigURL()
                       throws RaplaException
Throws:
RaplaException

getLoggerConfig

public Configuration getLoggerConfig()
                              throws RaplaException
Throws:
RaplaException

getBootstrapLogger

public Logger getBootstrapLogger()
Specified by:
getBootstrapLogger in interface StartupEnvironment

setStartupMode

public void setStartupMode(int startupMode)

getStartupMode

public int getStartupMode()
Description copied from interface: StartupEnvironment
either EMBEDDED, CONSOLE, WEBSTART, APPLET or SERVLET

Specified by:
getStartupMode in interface StartupEnvironment

setBootstrapLogger

public void setBootstrapLogger(Logger logger)

setLogConfigURL

public void setLogConfigURL(URL logConfigURL)

setConfigURL

public void setConfigURL(URL configURL)

getContextRootURL

public URL getContextRootURL()
                      throws RaplaException
Specified by:
getContextRootURL in interface StartupEnvironment
Throws:
RaplaException

getDownloadURL

public URL getDownloadURL()
                   throws RaplaException
Specified by:
getDownloadURL in interface StartupEnvironment
Throws:
RaplaException

setDownloadURL

public void setDownloadURL(URL downloadURL)


Copyright © 2000-2006 Rapla Team. All Rights Reseserved.