title: Best way to initialize JpaPersistModule
body: <p>I use <code>com.google.inject.persist.jpa.JpaPersistModule</code> in my application. The configuration is located in <code>persistence.xml</code> file, but some of the properties are dynamic and I don't want store them in this file (for example <code>javax.persistence.jdbc.url</code> etc) but rather inject them from some other source. </p>
  
  <p>I know that there's a <code>JpaPersistModule.properties(java.util.Properties p)</code> method that allows to do exactly what I need. The problem is that I don't see a good way to pass that <code>java.util.Properties</code> object to the module. I don't want to explicitely create an instance of <code>java.util.Properties</code> in the module code, but would rather use some guice-style mechanism to inject it. </p>
  
  <p>Is that possible at all? How would you decouple JPA module and its configuration properties?</p>