JDKOutboundInvocationHandler handler = new JDKOutboundInvocationHandler(outbound, context);
Class<?> interfaze = outbound.getServiceContract().getInterfaceClass();
ClassLoader cl = interfaze.getClassLoader();
return Proxy.newProxyInstance(cl, new Class[]{interfaze}, handler);
} else {
ProxyCreationException e = new ProxyCreationException("Invalid wire type");
e.setIdentifier(wire.getClass().getName());
throw e;
}
}