@ SuppressWarnings ( "unchecked" ) public < T > T proxy ( final Object delegate , Class < ? > [ ] interfaces ) { return ( T ) Proxy . newProxyInstance ( delegate . getClass ( ) . getClassLoader ( ) , interfaces , new ProxyInvocationHandler ( delegate ) ) ; }
Construct a proxy for which each method is invoked by the execution server .