Package org.apache.ofbiz.birt.container
Class BirtContainer
java.lang.Object
org.apache.ofbiz.birt.container.BirtContainer
- All Implemented Interfaces:
Container
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
BirtContainer
public BirtContainer()
-
-
Method Details
-
init
public void init(List<StartupCommand> ofbizCommands, String name, String configFile) throws ContainerException Description copied from interface:Container
Initialize the container. This method must not block - implementations should initialize internal structures and then return.- Specified by:
init
in interfaceContainer
- Parameters:
ofbizCommands
- Command-line arguments.name
- Unique name of the container's instance.configFile
- alwaysnull
but used to be the location of the global container configuration file which does not exist anymore- Throws:
ContainerException
- If an error was encountered. Throwing this exception will halt container loading, so it should be thrown only when other containers might depend on this one.
-
start
start container- Specified by:
start
in interfaceContainer
- Returns:
true
if the process started.- Throws:
ContainerException
- If an error was encountered.
-
stop
Description copied from interface:Container
Stop the container process. This method must not block.- Specified by:
stop
in interfaceContainer
- Throws:
ContainerException
- If an error was encountered.
-
getName
Description copied from interface:Container
Return the container name.
-