|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectninja.NinjaImpl
public class NinjaImpl
Main implementation of the ninja framework. Roughly works in the following order: - Gets a request - Searches for a matching route - Applies filters - Executes matching controller - Returns result
Constructor Summary | |
---|---|
NinjaImpl(LifecycleService lifecycleService,
Router router,
ResultHandler resultHandler,
String pathToViewNotFound)
|
Method Summary | |
---|---|
void |
invoke(ContextImpl context)
I do all the main work. |
void |
shutdown()
Stop the Ninja Framework |
void |
start()
Start the Ninja Framework |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
@Inject public NinjaImpl(LifecycleService lifecycleService, Router router, ResultHandler resultHandler, String pathToViewNotFound)
Method Detail |
---|
public void invoke(ContextImpl context)
invoke
in interface Ninja
context
- contextpublic void start()
Ninja
start
in interface Ninja
public void shutdown()
Ninja
shutdown
in interface Ninja
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |