class ServiceConverter {

    public ClientId parseClientId(String encodedId) {
        validateEncodedString(encodedId);
        String encodedClientId = encodedId.substring(0, encodedId.lastIndexOf(
                ENCODED_ID_SEPARATOR));
        return clientConverter.convertId(encodedClientId);
    }

    @Autowired public  ServiceConverter(ClientConverter clientConverter);

}