juleswhite/mobilecloud-14 — pull request #11 by vdumitrescu (2014-07-28 10:18:52+00:00)
Title: Defining a service the Spring way.

If we define the VideoFileManager as a @Service, Spring will instantiate an instance during the application startup, and this can easily be referred from other classes using @Autowired:

@Autowired private VideoFileManager videoFileManager;

No need to implement a Singleton pattern, as Spring IoC will do it for us.