An OFBiz container. A container can be thought of as a background process.
When OFBiz starts, the main thread will create the Container
instance and then call the container's init
method. If the method returns without throwing an exception the container will be added to a list of initialized containers. After all instances have been created and initialized, the main thread will call the start
method of each container in the list. When OFBiz shuts down, a separate shutdown thread will call the stop
method of each container. Implementations should anticipate asynchronous calls to the methods by different threads.
Containers might be loaded more than once (have more than one instance).