I don't think it does as javax.ws.rs.core.Application.getSingletons() just returns an empty set, as you still need to implement getClasses().