code: void restoreInstancesFrom( TargetHandler targetHandler ) {
  
  		// instancesMngr() instead of this.instancesMngr (for unit tests).
  		this.logger.fine( "Restoring the instance states with the '" + targetHandler.getTargetId() + "' target handler." );
  		for( ManagedApplication ma : this.applicationMngr.getManagedApplications())
  			instancesMngr().restoreInstanceStates( ma, targetHandler );
  	}
docs: Restores the states of all the instances from a given target handler.