title: Use enum to create thead-safe factory instances
body: <p>I write the code for creating multiple instances for the thread-safe factory creation:</p>
  <pre><code>public class XWebserviceObjectFactoryCreator {
      
  }
  </code></pre>
  <p>However, the code looks repeating to me and not happy about it. Is it possible to use <code>enum</code> (or something else) to make it more readable?</p>