}
@Override
@SuppressWarnings("unchecked")
protected Endpoint createEndpoint(String uri, String remaining, Map<String, Object> parameters) throws Exception {
OutboundBinding outboundBinding = resolveAndRemoveReferenceParameter(
parameters, "outboundBindingRef", GLoginBinding.class, new GLoginBinding());
GLoginService service = resolveAndRemoveReferenceParameter(
parameters, "serviceRef", GLoginService.class, new GLoginServiceImpl());
GLoginEndpoint endpoint = new GLoginEndpoint(uri, this,
getHostName(remaining),