public Main()

in src/java/org/apache/fulcrum/yaafi/cli/Main.java [100:139]


    public Main()
    {
        // default initialization

        this.containerConfigValue   = "./conf/containerConfiguration.xml";
        this.logger                 = new ConsoleLogger();
        this.applicationHome        = ".";
        this.tempHome               = System.getProperty("java.io.tmpdir",".");
        this.applicationName        = "main";
        
        // Arguments are specified in the constructor, but if 
        // null, set to an empty string array
        if ( this.args == null ) { this.args = new String[0]; }

        this.isBlocking             = false;
        this.hasShutdownHook        = true;
        this.isInitialized          = false;

        // query the system properties

        this.containerConfigValue = System.getProperty(
                APPLICATION_CONFIG,
                this.containerConfigValue
                );

        this.applicationName = System.getProperty(
                APPLICATION_NAME,
                this.applicationName
                );

        this.applicationHome = System.getProperty(
            APPLICATION_HOME,
            this.applicationHome
            );

        this.tempHome = System.getProperty(
            APPLICATION_TEMP,
            this.tempHome
            );
    }