How to implement a Resource Manager

I’ve read different prosts about this argument and now I’m more confused than before.

I was implementing it as shown in this video https://www.youtube.com/watch?v=jQOnpTXjmH0 (go to 4:16 to see the code) but I also found that topic http://stackoverflow.com/questions/9375980/resource-management-design where they say to use a Singleton pattern.

Now my question is: Is my first approach still valid to store resources for the whole game length or I must implement my manager using the singleton pattern?

Basically I don’t understand if a resource manager implemented without singleton pattern is really able to store resource for the whole game duration or not.

(Sorry for my english and for my confusion xD)

EDIT: as I supposed I’m now sure the java garbage collector won’t manage my loaded files, so I guess this topic is pretty useless now. I’m sorry I can’t delete it :frowning: