boolean useProxyStubs,
boolean startListen,
boolean isSystem)
throws RemoteException {
this.isSystem = isSystem;
ref = new RMIReference(obj);
implClassName = obj.getClass().getName();
Remote stub = null;
// obtain class directly implementing Remote interface
Class remoteClass = RMIUtil.getRemoteClass(obj.getClass());