perwendel/spark — pull request #73 by gabrielsuch (2013-06-11 22:53:52+00:00)
Title: SparkApp / SparkModule

Basically the ideia is allow split routes in different classes.

I can have many different routes and don't want to put everything in a single main class.
So, I split it in different classe. By example: AdminModule.class and CarModule.class.

So, I would like to create a single main class:

new SparkApp().init(
new AdminModule(),
new CarModule()
);

Done! An organized way to grow my Spark Application.