Class StandAloneApplication

    • Constructor Detail

      • StandAloneApplication

        public StandAloneApplication​(java.lang.String propertiesFilename)
                              throws java.io.IOException
        Creates a new application using the given properties filename. The filename is expected reside in the current working directory.

        The given properties file is expected to have the ApplicationProperties.APPLICATION_NAME_PROPERTY and ApplicationProperties.APPLICATION_VERSION_PROPERTY properties set.

        Parameters:
        propertiesFilename - the name of the properties file.
        Throws:
        java.io.IOException - error causing application initialization failure
      • StandAloneApplication

        public StandAloneApplication​(java.lang.String name,
                                     java.lang.String version)
                              throws java.io.IOException
        Creates a new application using the specified application name and version.
        Parameters:
        name - application name
        version - application version
        Throws:
        java.io.IOException - error causing application initialization failure
      • StandAloneApplication

        public StandAloneApplication​(ApplicationLayout applicationLayout)
        reates a new application using the given application layout and associated application properties.
        Parameters:
        applicationLayout - application layout