title: Get information from publishItem to publish end in sitecore
body: <p>I got a setup with sitecore and solr.
  Im looking to gather information (the different TemplatesIds) in publishItem, and then when the publish has ended, call solr with the names which needs to be reindex. </p>
  
  <p>Ive managed to get all the template IDs both using PublishItemProcessor and as a publish:itemProcessed event, where i store the template ids in the PublishContext.CustomData as a Hashset. 
  But how can i, when the publishing is done get this information i've gathered during publishing? I want to call solr, once, and only once, after everything is published, with information gathered during the publishing. </p>
  
  <p>Hope this makes sense guys, please help out.  </p>