Dashboard Builder Commons 6.0.0.CR2

org.jboss.dashboard
Class Application

java.lang.Object
  extended by org.jboss.dashboard.Application

@ApplicationScoped
public class Application
extends Object

Class that defines some application set-up parameters.


Field Summary
protected  String baseAppDirectory
           
protected  String baseCfgDirectory
           
protected  Factory globalFactory
           
protected  Set<File> jarFiles
           
protected  String libDirectory
           
protected  StartableProcessor startupProcessor
           
protected  boolean upAndRunning
           
 
Constructor Summary
Application()
           
 
Method Summary
 String getBaseAppDirectory()
           
 String getBaseCfgDirectory()
           
 String getCopyright()
          Return a string containing the copyright.
 Factory getGlobalFactory()
           
 Set<File> getJarFiles()
           
 String getLibDirectory()
           
 boolean isUpAndRunning()
           
static Application lookup()
           
 void setBaseAppDirectory(String newBaseAppDirectory)
           
 void setBaseCfgDirectory(String newBaseCfgDirectory)
           
 void setGlobalFactory(Factory globalFactory)
           
 void setLibDirectory(String libDirectory)
           
 void setUpAndRunning(boolean upAndRunning)
           
 void shutdown()
           
 void start()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

startupProcessor

@Inject
protected StartableProcessor startupProcessor

upAndRunning

protected boolean upAndRunning

libDirectory

protected String libDirectory

baseCfgDirectory

protected String baseCfgDirectory

baseAppDirectory

protected String baseAppDirectory

jarFiles

protected transient Set<File> jarFiles

globalFactory

protected transient Factory globalFactory
Constructor Detail

Application

public Application()
Method Detail

lookup

public static Application lookup()

getBaseAppDirectory

public String getBaseAppDirectory()

getBaseCfgDirectory

public String getBaseCfgDirectory()

setBaseAppDirectory

public void setBaseAppDirectory(String newBaseAppDirectory)

setBaseCfgDirectory

public void setBaseCfgDirectory(String newBaseCfgDirectory)

getLibDirectory

public String getLibDirectory()

setLibDirectory

public void setLibDirectory(String libDirectory)

getGlobalFactory

public Factory getGlobalFactory()

setGlobalFactory

public void setGlobalFactory(Factory globalFactory)

isUpAndRunning

public boolean isUpAndRunning()

setUpAndRunning

public void setUpAndRunning(boolean upAndRunning)

start

public void start()
           throws Exception
Throws:
Exception

shutdown

public void shutdown()

getJarFiles

public Set<File> getJarFiles()

getCopyright

public String getCopyright()
Return a string containing the copyright.


Dashboard Builder Commons 6.0.0.CR2

Copyright © 2012-2013 JBoss by Red Hat. All Rights Reserved.