org.ofbiz.base.container
Class JustLoadComponentsContainer

java.lang.Object
  extended by org.ofbiz.base.container.JustLoadComponentsContainer
All Implemented Interfaces:
Container

public class JustLoadComponentsContainer
extends java.lang.Object
implements Container

A Container implementation to run the tests configured through this testtools stuff.


Field Summary
static java.lang.String module
           
 
Constructor Summary
JustLoadComponentsContainer()
           
 
Method Summary
 java.lang.String getName()
          Return the container name.
 void init(java.lang.String[] args, java.lang.String name, java.lang.String configFile)
          Initialize the container.
 boolean start()
          Start the container process.
 void stop()
          Stop the container process.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

module

public static final java.lang.String module
Constructor Detail

JustLoadComponentsContainer

public JustLoadComponentsContainer()
Method Detail

init

public void init(java.lang.String[] args,
                 java.lang.String name,
                 java.lang.String configFile)
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 interface Container
Parameters:
args - Command-line arguments.
name - Unique name of the container's instance.
configFile - Location of the configuration file used to load this container.

start

public boolean start()
              throws ContainerException
Description copied from interface: Container
Start the container process. This method must not block - implementations that require thread blocking must create a separate thread and then return.

Specified by:
start in interface Container
Returns:
true if the process started.
Throws:
ContainerException - If an error was encountered.

stop

public void stop()
          throws ContainerException
Description copied from interface: Container
Stop the container process. This method must not block.

Specified by:
stop in interface Container
Throws:
ContainerException - If an error was encountered.

getName

public java.lang.String getName()
Description copied from interface: Container
Return the container name.

Specified by:
getName in interface Container
Returns:
Name of the container's instance.