Nonviable bacterial antigens administered with IL-12 generate antigen-specific T cell responses and protective immunity against Listeria monocytogenes.