JAXBContext newInstance(class,class) explanation
<p>I'm trying to understand JAXB and looking to initialize multiple objects using JAXB.  I found an excellent question asked and answered in StackOverFlow.</p>

<p><a href="https://stackoverflow.com/questions/12323397/how-to-marshalling-the-muliptle-object-using-jaxb">How to marshalling the muliptle object using jaxb</a></p>

<p>So I'm looking through the code, trying to understand each piece.  The first and key part (I think) that I'm having trouble understanding is the following line:</p>

<pre><code>JAXBContext jc = JAXBContext.newInstance(JAXB2_Lists.class, JAXB2_Book.class);
</code></pre>

<p>Looking through the JAXBContext documentation, I'm unable to determine which newInstance method is being used.  Guessing which one is being used, I'm not understanding it really.</p>

<p><a href="http://docs.oracle.com/javaee/5/api/javax/xml/bind/JAXBContext.html#newInstance(java.lang.Class...)" rel="nofollow noreferrer">http://docs.oracle.com/javaee/5/api/javax/xml/bind/JAXBContext.html#newInstance(java.lang.Class...)</a></p>

<p>My guess is that it is using the following overload</p>

<pre><code>public static JAXBContext newInstance(Class[] classesToBeBound,
                                      Map&lt;String,?&gt; properties)
                               throws JAXBException
</code></pre>

<blockquote>
  <p>Parameters:</p>
  
  <p>classesToBeBound - list of java classes to be recognized by the new
  JAXBContext.</p>
</blockquote>

<p>What does it mean by "to be recognized"?  Recognized in what way?</p>

<p>Please educate me on this issue.  Thank you.</p>