Proxy proxy = (Proxy) Proxy.newProxyInstance(
subClass.getClassLoader(), new Class[] { subClassIntf }, invoker);
// Object passed back to the caller.
OptionalLocalInterfaceProvider provider =
(OptionalLocalInterfaceProvider) subClass.newInstance();
provider.setOptionalLocalIntfProxy(proxy);
invoker.init(instance, interceptorManager.createInterceptorInstances(),
provider, interceptorManager);
return invoker;