de.miethxml.toolkit.container
Class DefaultApplicationContainer
java.lang.Object
de.miethxml.toolkit.container.DefaultApplicationContainer
- All Implemented Interfaces:
- ApplicationShutdown, Launcher, PluginReceiver
- Direct Known Subclasses:
- ApplicationContainer
- public class DefaultApplicationContainer
- extends java.lang.Object
- implements PluginReceiver, ApplicationShutdown, Launcher
- Author:
- simon
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XCONF_FILE
public static java.lang.String XCONF_FILE
log
protected org.apache.log.Logger log
manager
protected org.apache.avalon.framework.service.DefaultServiceManager manager
pluginManager
protected PluginManager pluginManager
appSetup
protected ApplicationSetup appSetup
config
protected org.apache.avalon.framework.configuration.Configuration config
appLogger
protected org.apache.avalon.framework.logger.LogKitLogger appLogger
launchParameters
protected java.util.Hashtable launchParameters
components
protected java.util.ArrayList components
pluginRoles
protected java.util.HashSet pluginRoles
componentobjects
protected java.util.Hashtable componentobjects
roles
protected java.util.Hashtable roles
context
protected org.apache.avalon.framework.context.DefaultContext context
appConfig
protected StoreableConfigurationImpl appConfig
params
protected org.apache.avalon.framework.parameters.Parameters params
pluginInterfaces
protected java.util.Collection pluginInterfaces
logEnabled
protected boolean logEnabled
contextEnabled
protected boolean contextEnabled
serviceEnabled
protected boolean serviceEnabled
configureEnabled
protected boolean configureEnabled
parameterEnabled
protected boolean parameterEnabled
initializeEnabed
protected boolean initializeEnabed
startEnabled
protected boolean startEnabled
guiconfigured
protected boolean guiconfigured
splash
protected SplashScreen splash
h
protected org.apache.log.Hierarchy h
DefaultApplicationContainer
public DefaultApplicationContainer()
initializeApplication
public void initializeApplication()
lauchApplication
public void lauchApplication()
loadComponent
protected void loadComponent()
initializeComponents
protected void initializeComponents()
disposeComponents
public void disposeComponents()
serviceComponents
protected void serviceComponents()
init
public void init()
startComponents
protected void startComponents()
stopComponents
protected void stopComponents()
processPluginObject
protected void processPluginObject(java.lang.Object plugin)
guiConfigure
protected void guiConfigure()
enableLoggingComponents
protected void enableLoggingComponents()
setLaunchParameters
public void setLaunchParameters(java.util.Hashtable launchParameters)
- Parameters:
launchParameters - The launchParameters to set.
contextualizeComponents
protected void contextualizeComponents()
parameterizeComponents
protected void parameterizeComponents()
configureComponents
protected void configureComponents()
addPlugin
public void addPlugin(java.lang.Object plugin)
- Specified by:
addPlugin in interface PluginReceiver
getInterfaces
public java.util.Collection getInterfaces()
- Specified by:
getInterfaces in interface PluginReceiver
removePlugin
public void removePlugin(java.lang.Object obj)
- Specified by:
removePlugin in interface PluginReceiver
shutdownApplication
public void shutdownApplication()
- Specified by:
shutdownApplication in interface ApplicationShutdown
init
public void init(java.util.Hashtable param)
- Specified by:
init in interface Launcher
setProperty
public void setProperty(java.lang.String key,
java.lang.String value)
- Specified by:
setProperty in interface Launcher
main
public static void main(java.lang.String[] args)
storeConfiguration
protected void storeConfiguration()
handleApplicationLifecycle
protected void handleApplicationLifecycle()