I'm trying to find the cleanest way to implement my own Resource namespace (other than "classpath:", "file:" or "http:"). For now I am extending FileSystemXmlApplicationContext and overriding getResource() to provide my custom logic, but I was wondering if there was anyway to implement a kind of "ResourceLoaderBean" that would be detected by the AppContext which would then delegate resource loading requests to it, applying default behavior upon failure. There possibly could be many of those instantiated, each specifying the namespace(s) they apply to.