@Override
    public Class<?> getTargetClass() {
        return Service.class;
    }
This is {@link StringToServiceConverter}.

@author Misagh Moayyed
@since 6.6.0
core/cas-server-core-webflow-api/src/main/java/org/apereo/cas/web/flow/StringToServiceConverter.java