class CclExecutor {

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

        return providers.nextElement();
    }

}