code: void restoreAllInstances() {
  
  		// instancesMngr() instead of this.instancesMngr (for unit tests).
  		this.logger.fine( "Restoring all the instance states from the current target handlers." );
  		for( ManagedApplication ma : this.applicationMngr.getManagedApplications()) {
  
  			// Build a new snapshot on every loop
  			List<TargetHandler> snapshot = this.defaultTargetHandlerResolver.getTargetHandlersSnapshot();
  			for( TargetHandler targetHandler : snapshot )
  				instancesMngr().restoreInstanceStates( ma, targetHandler );
  		}
  	}
docs: Restores the states of all the instances from the current target handlers.