Class BirtContainer

  • All Implemented Interfaces:

    public class BirtContainer
    extends java.lang.Object
    implements Container
    • Field Summary

      Modifier and Type Field Description
      protected java.lang.String configFile  
      static java.lang.String module  
    • Constructor Summary

      Constructor Description
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getName()
      Return the container name.
      void init​(java.util.List<StartupCommand> ofbizCommands, java.lang.String name, java.lang.String configFile)
      Initialize the container.
      boolean start()
      start container
      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
      • configFile

        protected java.lang.String configFile
    • Constructor Detail

      • BirtContainer

        public BirtContainer()
    • Method Detail

      • init

        public void init​(java.util.List<StartupCommand> ofbizCommands,
                         java.lang.String name,
                         java.lang.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 interface Container
        ofbizCommands - Command-line arguments.
        name - Unique name of the container's instance.
        configFile - Location of the configuration file used to load this container.
        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.
      • getName

        public java.lang.String getName()
        Description copied from interface: Container
        Return the container name.
        Specified by:
        getName in interface Container
        Name of the container's instance.