FACES-1902 Develop ComponentResource interface and corresponding ComponentResourceFactory (added comments and removed System.err.println)