@ApplicationScoped public class Application extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
baseAppDirectory |
protected String |
baseCfgDirectory |
protected Factory |
globalFactory |
protected Set<File> |
jarFiles |
protected String |
libDirectory |
protected LocaleManager |
localeManager |
protected StartableProcessor |
startupProcessor |
Constructor and Description |
---|
Application() |
Modifier and Type | Method and Description |
---|---|
String |
getBaseAppDirectory() |
String |
getBaseCfgDirectory() |
String |
getCopyright()
Return a string containing the copyright.
|
Factory |
getGlobalFactory() |
Set<File> |
getJarFiles() |
String |
getLibDirectory() |
static Application |
lookup() |
void |
setBaseAppDirectory(String newBaseAppDirectory) |
void |
setBaseCfgDirectory(String newBaseCfgDirectory) |
void |
setGlobalFactory(Factory globalFactory) |
void |
setLibDirectory(String libDirectory) |
void |
shutdown() |
void |
start() |
@Inject protected StartableProcessor startupProcessor
@Inject protected LocaleManager localeManager
protected String libDirectory
protected String baseCfgDirectory
protected String baseAppDirectory
protected transient Factory globalFactory
public static Application lookup()
public String getBaseAppDirectory()
public String getBaseCfgDirectory()
public void setBaseAppDirectory(String newBaseAppDirectory)
public void setBaseCfgDirectory(String newBaseCfgDirectory)
public String getLibDirectory()
public void setLibDirectory(String libDirectory)
public Factory getGlobalFactory()
public void setGlobalFactory(Factory globalFactory)
public void shutdown()
public String getCopyright()
Copyright © 2012-2015 JBoss by Red Hat. All Rights Reserved.