title: How to use org.hibernate.action.spi.AfterTransactionCompletionProcess?
body: <p>I found this class that I really want to use:</p>
  
  <p>org.hibernate.action.spi.AfterTransactionCompletionProcess -
  <a href="http://docs.jboss.org/hibernate/orm/3.6/javadocs/org/hibernate/action/AfterTransactionCompletionProcess.html" rel="nofollow">http://docs.jboss.org/hibernate/orm/3.6/javadocs/org/hibernate/action/AfterTransactionCompletionProcess.html</a></p>
  
  <p>Basically, I'd like some custom logic to happen after the transaction is committed. But I cannot for the life of me figure out how to use this thing. </p>
  
  <p>Where do I specify this interface? Any examples would be awesome. </p>