class CclResourceUploader {

    public static CclResourceUploader getUploader() {
        @SuppressWarnings("unchecked")
        final Enumeration<CclResourceUploader> providers = Service.providers(CclResourceUploader.class);
        if (!providers.hasMoreElements())
            throw new IllegalStateException("No implementations found of: " + CclResourceUploader.class.getName());

        return providers.nextElement();
    }

}