perwendel/spark — pull request #28 by sclassen (2012-11-22 15:40:09+00:00)
Title: Allow for easy integration of dependency injection in servlet mode

I extracted the instantiation of the SparkApplication into a protected method. This allows subclasses of SparkFilter and overriding of the new method and to use other techniques for instantiating the SparkApplication. For example a subclass may use a dependency injection framework to retrieve an instance or use a non default constructor passing additional parameters.