org.ofbiz.base.container
Class ContainerLoader
java.lang.Object
org.ofbiz.base.container.ContainerLoader
- All Implemented Interfaces:
- StartupLoader
public class ContainerLoader
- extends java.lang.Object
- implements StartupLoader
ContainerLoader - StartupLoader for the container
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
module
public static final java.lang.String module
CONTAINER_CONFIG
public static final java.lang.String CONTAINER_CONFIG
- See Also:
- Constant Field Values
loadedContainers
protected java.util.List<Container> loadedContainers
configFile
protected java.lang.String configFile
rmiLoadedContainer
public static Container rmiLoadedContainer
ContainerLoader
public ContainerLoader()
load
public void load(Start.Config config,
java.lang.String[] args)
throws StartupException
- Description copied from interface:
StartupLoader
- Load a startup class
- Specified by:
load
in interface StartupLoader
- Parameters:
config
- Startup configargs
- Input arguments
- Throws:
StartupException
- See Also:
StartupLoader.load(Start.Config, String[])
start
public void start()
throws StartupException
- Description copied from interface:
StartupLoader
- Start the startup class
- Specified by:
start
in interface StartupLoader
- Throws:
StartupException
- See Also:
StartupLoader.start()
unload
public void unload()
throws StartupException
- Description copied from interface:
StartupLoader
- Stop the container
- Specified by:
unload
in interface StartupLoader
- Throws:
StartupException
- See Also:
StartupLoader.unload()
loadContainers
public static Container loadContainers(java.lang.String config,
java.lang.String[] args)
throws StartupException
- Throws:
StartupException