Object remoteObject = manager.getObject(value);
if (remoteObject == null) {
if (manager instanceof RomClientObjectManager) {
RomClientObjectManager clientManager = (RomClientObjectManager) manager;
RemoteObject newRemoteObject = new RemoteObject(value,
((Class<?>) type).getSimpleName(),
clientManager.getClient(), clientManager);
clientManager.registerObject(value, newRemoteObject);
return newRemoteObject;
}
throw new ProtocolException("Remote object with objectRef '"