public class Bootstrap extends Object
Modifier and Type | Field and Description |
---|---|
static String |
APPLICATION_GUICE_MODULE_CONVENTION_LOCATION |
static String |
APPLICATION_GUICE_SERVLET_MODULE_CONVENTION_LOCATION |
static String |
NINJA_CONVENTION_LOCATION |
static String |
ROUTES_CONVENTION_LOCATION |
Constructor and Description |
---|
Bootstrap(NinjaPropertiesImpl ninjaProperties) |
Modifier and Type | Method and Description |
---|---|
void |
addModule(com.google.inject.Module module) |
void |
boot() |
protected void |
configure() |
protected boolean |
doesClassExist(String nameWithPackage) |
com.google.inject.Injector |
getInjector() |
void |
initRoutes() |
protected String |
resolveApplicationClassName(String classLocationAsDefinedByNinja) |
void |
shutdown() |
public static final String APPLICATION_GUICE_MODULE_CONVENTION_LOCATION
public static final String APPLICATION_GUICE_SERVLET_MODULE_CONVENTION_LOCATION
public static final String ROUTES_CONVENTION_LOCATION
public static final String NINJA_CONVENTION_LOCATION
public Bootstrap(NinjaPropertiesImpl ninjaProperties)
public void boot()
public void shutdown()
public com.google.inject.Injector getInjector()
public void addModule(com.google.inject.Module module)
protected boolean doesClassExist(String nameWithPackage)
Copyright © 2016 ninjaframework. All Rights Reserved.