Package | Description |
---|---|
io.stallion | |
io.stallion.boot | |
io.stallion.testing |
Modifier and Type | Method and Description |
---|---|
static AppContextLoader |
Context.app() |
static AppContextLoader |
Context.getApp()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static AppContextLoader |
AppContextLoader.instance() |
static AppContextLoader |
AppContextLoader.loadAndStartForTests(CommandOptionsBase options)
Same as calling loadCompletely() and startServicesForTests(), but configures in a way suitable for tests
Some services, such as jobs, will not be started.
|
static AppContextLoader |
AppContextLoader.loadAndStartForTests(String targetFolder)
Same as calling loadCompletely() and startServicesForTests(), but configures in a way suitable for tests
Some services, such as jobs, will not be started.
|
static AppContextLoader |
AppContextLoader.loadCompletely(CommandOptionsBase options)
Calls load completely as non-script, in non-test mode
|
static AppContextLoader |
AppContextLoader.loadCompletely(CommandOptionsBase options,
boolean isScript)
Calls load completely in non-test mode
|
static AppContextLoader |
AppContextLoader.loadCompletely(CommandOptionsBase options,
boolean isScript,
boolean testMode)
Loads the entire Stallion application.
|
static AppContextLoader |
AppContextLoader.loadCompletelyForScript(CommandOptionsBase options)
Calls load completely in script mode, in non-test mode
|
static AppContextLoader |
AppContextLoader.loadWithSettingsOnly(CommandOptionsBase options)
Instaniates the _app singleton but only hydrates the settings.
|
AppContextLoader |
AppContextLoader.startAllServices()
Starts all services
- starts the async task processing
- starts the job runner
- starts watching the file system for changes
- etc.
|
AppContextLoader |
AppContextLoader.startServicesForTests()
Starts only the services that are applicable for doing integration tests.
|
Constructor and Description |
---|
TestClient(AppContextLoader app) |
Copyright © 2016. All rights reserved.