public class Bootstrap
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
APPLICATION_GUICE_MODULE_CONVENTION_LOCATION |
static java.lang.String |
APPLICATION_GUICE_SERVLET_MODULE_CONVENTION_LOCATION |
static java.lang.String |
NINJA_CONVENTION_LOCATION |
static java.lang.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(java.lang.String nameWithPackage) |
com.google.inject.Injector |
getInjector() |
void |
initRoutes() |
protected java.lang.String |
resolveApplicationClassName(java.lang.String classLocationAsDefinedByNinja) |
void |
shutdown() |
public static final java.lang.String APPLICATION_GUICE_MODULE_CONVENTION_LOCATION
public static final java.lang.String APPLICATION_GUICE_SERVLET_MODULE_CONVENTION_LOCATION
public static final java.lang.String ROUTES_CONVENTION_LOCATION
public static final java.lang.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 void configure() throws java.lang.Exception
java.lang.Exception
public void initRoutes() throws java.lang.Exception
java.lang.Exception
protected boolean doesClassExist(java.lang.String nameWithPackage)
protected java.lang.String resolveApplicationClassName(java.lang.String classLocationAsDefinedByNinja)
Copyright © 2016 ninjaframework. All Rights Reserved.