code: protected static final ManagedObject restoreSerializedDefault(java.io.ByteArrayInputStream byteArrayInputStream,
                                                                    ObjectManagerState objectManagerState)
                      throws ObjectManagerException {
          final String methodName = "restoreSerializedDefault";
          if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled())
              trace.entry(cclass,
                          methodName,
                          new Object[] { byteArrayInputStream,
                                        objectManagerState });
  
          ManagedObject managedObjectToReturn = null;
  
          try {
              // This type of ObjectInputStream ensures that any Tokens referenced by the ManagedObject will
              // be replaced with any equivalent Tokens already in memory.   
  
              ManagedObjectInputStream objectInputStream = new ManagedObjectInputStream(byteArrayInputStream
                                                                                        , objectManagerState
                              );
              managedObjectToReturn = (ManagedObject) objectInputStream.readObject();
  
          } catch (java.io.IOException exception) {
              // No FFDC Code Needed.
              ObjectManager.ffdc.processException(cclass, methodName, exception, "1:524:1.34");
  
              if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled())
                  trace.exit(cclass,
                             methodName,
                             exception);
              throw new PermanentIOException(cclass,
                                             exception);
  
          } catch (java.lang.ClassNotFoundException exception) {
              // No FFDC Code Needed.
              ObjectManager.ffdc.processException(cclass, methodName, exception, "1:535:1.34");
  
              if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled())
                  trace.exit(cclass,
                             methodName,
                             exception);
              throw new com.ibm.ws.objectManager.ClassNotFoundException(cclass, exception);
          } // catch java.lang.ClassNotFoundException.
  
          if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled())
              trace.exit(cclass,
                         methodName,
                         managedObjectToReturn);
          return managedObjectToReturn;
      }
docs: Convert serialized bytes back into a managed object.
  
  @param byteArrayInputStream from which the serializable ManagedObject
  is to be read.
  @param objectManagerState of the objectManager reconstructing the ManagedObject.
  @return ManagedObject that is deserialized.
  @throws ObjectManagerException