I'm currently trying to teach myself the path integral formulation of QFT (having studied the canonical approach previously), but I'm having some conceptual difficulties that I hope I can clear up here.
For simplicity, consider the case of a free, single real scalar field. The path integral formulation for a two point correlator in this case is given by $$\langle 0\lvert T\lbrace\hat{\phi}(x)\hat{\phi}(y)\rbrace\lvert 0\rangle =(-i^{2})\frac{1}{Z[0]}\frac{\delta^{2}Z[J]}{\delta J(x)\delta J(y)}\bigg\lvert_{J=0}$$ where $$Z[J]=\int\mathcal{D}\phi\; e^{i\int d^{4}x\left(-\frac{1}{2}\phi (\Box +m^{2})\phi+J(x)\phi (x)\right)}$$ is the generating functional for the free theory.
Here is where my issue lies. Are the fields $\phi (x)$ in the functional $Z[J]$ classical fields or are they operator fields?
If they are classical fields, then does the path integral define some sort of mapping between field operators $\hat{\phi}(x)$ and their classical (c-number) analogs?
The books I've been reading so far (Srednicki's QFT book and M. Schwartz's "QFT & the Standard Model") seem to a bit ambiguous in this area.