Package | Description |
---|---|
io.jooby |
Modifier and Type | Method and Description |
---|---|
Environment |
Jooby.getEnvironment()
Application environment.
|
static Environment |
Environment.loadEnvironment(EnvironmentOptions options)
This method search for an application.conf file in three location
(first-listed are higher priority):
${user.dir}/conf: This is a file system location, useful is you want to externalize
configuration (outside of jar file).
${user.dir}: This is a file system location, useful is you want to externalize
configuration (outside of jar file)
classpath:// (root of classpath).
|
Environment |
Jooby.setEnvironmentOptions(EnvironmentOptions options)
Set environment options and initialize/overrides the environment.
|
Modifier and Type | Method and Description |
---|---|
Jooby |
Jooby.setEnvironment(Environment environment)
Set application environment.
|
Copyright © 2019. All rights reserved.