Configuration

Jakon configuration is loaded from file named jakon_config.properties. Jakon configuration values are following:



  • templateDir

  • staticDir

  • outputDir

  • pckg

  • databaseDriver

  • databaseConnPath

  • databaseUser

  • databasePass

  • port

  • defaultLocale

  • deployMode

  • deployType

  • emailEnabled

  • emailAuth

  • emailTls

  • emailHost

  • emailPort

  • emailUserName

  • emailPassword

  • emailForceBcc

  • encryptionSecret

  • hostname

  • loginPath

  • emailValidatorCheckDns


@Configuration
object AppSettings {

    @ConfigurationValue(name = "app.confValue", required = true)
    private var confValue: String = _

    def confValue: String = confValue
}