public class NinjaConsole extends AbstractConsole<NinjaConsole>
Modifier and Type | Class and Description |
---|---|
static class |
NinjaConsole.ConsoleBootstrap |
configured, externalConfigurationPath, logger, name, ninjaMode, ninjaProperties, overlayedNinjaProperties, started
Constructor and Description |
---|
NinjaConsole() |
Modifier and Type | Method and Description |
---|---|
void |
doConfigure() |
void |
doShutdown() |
void |
doStart() |
com.google.inject.Injector |
getInjector()
Gets the Guice injector that booted the Ninja application.
|
static void |
main(String[] args) |
checkConfigured, checkNotConfigured, checkStarted, configure, doPostConfigure, doPreConfigure, externalConfigurationPath, getExternalConfigurationPath, getName, getNinjaMode, getNinjaProperties, logStarted, name, ninjaMode, shutdown, start, tryToUnwrapInjectorException
public com.google.inject.Injector getInjector()
Console
public void doConfigure() throws Exception
doConfigure
in class AbstractConsole<NinjaConsole>
Exception
public void doStart() throws Exception
doStart
in class AbstractConsole<NinjaConsole>
Exception
public void doShutdown()
doShutdown
in class AbstractConsole<NinjaConsole>
Copyright © 2019 ninjaframework. All rights reserved.