http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/62afb533/content/site/apidocs/src-html/org/apache/juneau/BeanContext.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/BeanContext.html 
b/content/site/apidocs/src-html/org/apache/juneau/BeanContext.html
index 5d2e3c8..4000c8c 100644
--- a/content/site/apidocs/src-html/org/apache/juneau/BeanContext.html
+++ b/content/site/apidocs/src-html/org/apache/juneau/BeanContext.html
@@ -652,1136 +652,1146 @@
 <span class="sourceLineNo">644</span>    *    &lt;li&gt;Subclasses of {@link 
PojoSwap}.<a name="line.644"></a>
 <span class="sourceLineNo">645</span>    *    &lt;li&gt;Surrogate classes.  A 
shortcut for defining a {@link SurrogateSwap}.<a name="line.645"></a>
 <span class="sourceLineNo">646</span>    * &lt;/ul&gt;<a name="line.646"></a>
-<span class="sourceLineNo">647</span>    */<a name="line.647"></a>
-<span class="sourceLineNo">648</span>   public static final String 
BEAN_pojoSwaps = "BeanContext.pojoSwaps.list";<a name="line.648"></a>
-<span class="sourceLineNo">649</span><a name="line.649"></a>
-<span class="sourceLineNo">650</span>   /**<a name="line.650"></a>
-<span class="sourceLineNo">651</span>    * &lt;b&gt;Configuration 
property:&lt;/b&gt;  Add to POJO swap classes.<a name="line.651"></a>
+<span class="sourceLineNo">647</span>    *<a name="line.647"></a>
+<span class="sourceLineNo">648</span>    * &lt;p&gt;<a name="line.648"></a>
+<span class="sourceLineNo">649</span>    * Multiple POJO swaps can be 
associated with a single class.<a name="line.649"></a>
+<span class="sourceLineNo">650</span>    * When multiple swaps are applicable 
to the same class, the media type pattern defined by<a name="line.650"></a>
+<span class="sourceLineNo">651</span>    * {@link PojoSwap#forMediaTypes()} or 
{@link Swap#mediaTypes()} are used to come up with the best match.<a 
name="line.651"></a>
 <span class="sourceLineNo">652</span>    */<a name="line.652"></a>
-<span class="sourceLineNo">653</span>   public static final String 
BEAN_pojoSwaps_add = "BeanContext.pojoSwaps.list.add";<a name="line.653"></a>
+<span class="sourceLineNo">653</span>   public static final String 
BEAN_pojoSwaps = "BeanContext.pojoSwaps.list";<a name="line.653"></a>
 <span class="sourceLineNo">654</span><a name="line.654"></a>
 <span class="sourceLineNo">655</span>   /**<a name="line.655"></a>
-<span class="sourceLineNo">656</span>    * &lt;b&gt;Configuration 
property:&lt;/b&gt;  Remove from POJO swap classes.<a name="line.656"></a>
+<span class="sourceLineNo">656</span>    * &lt;b&gt;Configuration 
property:&lt;/b&gt;  Add to POJO swap classes.<a name="line.656"></a>
 <span class="sourceLineNo">657</span>    */<a name="line.657"></a>
-<span class="sourceLineNo">658</span>   public static final String 
BEAN_pojoSwaps_remove = "BeanContext.pojoSwaps.list.remove";<a 
name="line.658"></a>
+<span class="sourceLineNo">658</span>   public static final String 
BEAN_pojoSwaps_add = "BeanContext.pojoSwaps.list.add";<a name="line.658"></a>
 <span class="sourceLineNo">659</span><a name="line.659"></a>
 <span class="sourceLineNo">660</span>   /**<a name="line.660"></a>
-<span class="sourceLineNo">661</span>    * &lt;b&gt;Configuration 
property:&lt;/b&gt;  Implementation classes for interfaces and abstract 
classes.<a name="line.661"></a>
-<span class="sourceLineNo">662</span>    *<a name="line.662"></a>
-<span class="sourceLineNo">663</span>    * &lt;ul&gt;<a name="line.663"></a>
-<span class="sourceLineNo">664</span>    *    
&lt;li&gt;&lt;b&gt;Name:&lt;/b&gt; 
&lt;js&gt;"BeanContext.implClasses.map"&lt;/js&gt;<a name="line.664"></a>
-<span class="sourceLineNo">665</span>    *    &lt;li&gt;&lt;b&gt;Data 
type:&lt;/b&gt; &lt;code&gt;Map&amp;lt;Class,Class&amp;gt;&lt;/code&gt;<a 
name="line.665"></a>
-<span class="sourceLineNo">666</span>    *    
&lt;li&gt;&lt;b&gt;Default:&lt;/b&gt; empty map<a name="line.666"></a>
-<span class="sourceLineNo">667</span>    *    
&lt;li&gt;&lt;b&gt;Session-overridable:&lt;/b&gt; &lt;jk&gt;false&lt;/jk&gt;<a 
name="line.667"></a>
-<span class="sourceLineNo">668</span>    * &lt;/ul&gt;<a name="line.668"></a>
-<span class="sourceLineNo">669</span>    *<a name="line.669"></a>
-<span class="sourceLineNo">670</span>    * &lt;p&gt;<a name="line.670"></a>
-<span class="sourceLineNo">671</span>    * For interfaces and abstract classes 
this method can be used to specify an implementation class for the<a 
name="line.671"></a>
-<span class="sourceLineNo">672</span>    * interface/abstract class so that 
instances of the implementation class are used when instantiated (e.g. during 
a<a name="line.672"></a>
-<span class="sourceLineNo">673</span>    * parse).<a name="line.673"></a>
-<span class="sourceLineNo">674</span>    */<a name="line.674"></a>
-<span class="sourceLineNo">675</span>   public static final String 
BEAN_implClasses = "BeanContext.implClasses.map";<a name="line.675"></a>
-<span class="sourceLineNo">676</span><a name="line.676"></a>
-<span class="sourceLineNo">677</span>   /**<a name="line.677"></a>
-<span class="sourceLineNo">678</span>    * &lt;b&gt;Configuration 
property:&lt;/b&gt;  Add an implementation class.<a name="line.678"></a>
+<span class="sourceLineNo">661</span>    * &lt;b&gt;Configuration 
property:&lt;/b&gt;  Remove from POJO swap classes.<a name="line.661"></a>
+<span class="sourceLineNo">662</span>    */<a name="line.662"></a>
+<span class="sourceLineNo">663</span>   public static final String 
BEAN_pojoSwaps_remove = "BeanContext.pojoSwaps.list.remove";<a 
name="line.663"></a>
+<span class="sourceLineNo">664</span><a name="line.664"></a>
+<span class="sourceLineNo">665</span>   /**<a name="line.665"></a>
+<span class="sourceLineNo">666</span>    * &lt;b&gt;Configuration 
property:&lt;/b&gt;  Implementation classes for interfaces and abstract 
classes.<a name="line.666"></a>
+<span class="sourceLineNo">667</span>    *<a name="line.667"></a>
+<span class="sourceLineNo">668</span>    * &lt;ul&gt;<a name="line.668"></a>
+<span class="sourceLineNo">669</span>    *    
&lt;li&gt;&lt;b&gt;Name:&lt;/b&gt; 
&lt;js&gt;"BeanContext.implClasses.map"&lt;/js&gt;<a name="line.669"></a>
+<span class="sourceLineNo">670</span>    *    &lt;li&gt;&lt;b&gt;Data 
type:&lt;/b&gt; &lt;code&gt;Map&amp;lt;Class,Class&amp;gt;&lt;/code&gt;<a 
name="line.670"></a>
+<span class="sourceLineNo">671</span>    *    
&lt;li&gt;&lt;b&gt;Default:&lt;/b&gt; empty map<a name="line.671"></a>
+<span class="sourceLineNo">672</span>    *    
&lt;li&gt;&lt;b&gt;Session-overridable:&lt;/b&gt; &lt;jk&gt;false&lt;/jk&gt;<a 
name="line.672"></a>
+<span class="sourceLineNo">673</span>    * &lt;/ul&gt;<a name="line.673"></a>
+<span class="sourceLineNo">674</span>    *<a name="line.674"></a>
+<span class="sourceLineNo">675</span>    * &lt;p&gt;<a name="line.675"></a>
+<span class="sourceLineNo">676</span>    * For interfaces and abstract classes 
this method can be used to specify an implementation class for the<a 
name="line.676"></a>
+<span class="sourceLineNo">677</span>    * interface/abstract class so that 
instances of the implementation class are used when instantiated (e.g. during 
a<a name="line.677"></a>
+<span class="sourceLineNo">678</span>    * parse).<a name="line.678"></a>
 <span class="sourceLineNo">679</span>    */<a name="line.679"></a>
-<span class="sourceLineNo">680</span>   public static final String 
BEAN_implClasses_put = "BeanContext.implClasses.map.put";<a name="line.680"></a>
+<span class="sourceLineNo">680</span>   public static final String 
BEAN_implClasses = "BeanContext.implClasses.map";<a name="line.680"></a>
 <span class="sourceLineNo">681</span><a name="line.681"></a>
 <span class="sourceLineNo">682</span>   /**<a name="line.682"></a>
-<span class="sourceLineNo">683</span>    * &lt;b&gt;Configuration 
property:&lt;/b&gt;  Explicitly specify visible bean properties.<a 
name="line.683"></a>
-<span class="sourceLineNo">684</span>    *<a name="line.684"></a>
-<span class="sourceLineNo">685</span>    * &lt;ul&gt;<a name="line.685"></a>
-<span class="sourceLineNo">686</span>    *    
&lt;li&gt;&lt;b&gt;Name:&lt;/b&gt; 
&lt;js&gt;"BeanContext.includeProperties"&lt;/js&gt;<a name="line.686"></a>
-<span class="sourceLineNo">687</span>    *    &lt;li&gt;&lt;b&gt;Data 
type:&lt;/b&gt; &lt;code&gt;Map&amp;lt;String,String&amp;gt;&lt;/code&gt;<a 
name="line.687"></a>
-<span class="sourceLineNo">688</span>    *    
&lt;li&gt;&lt;b&gt;Default:&lt;/b&gt; &lt;code&gt;{}&lt;/code&gt;<a 
name="line.688"></a>
-<span class="sourceLineNo">689</span>    *    
&lt;li&gt;&lt;b&gt;Session-overridable:&lt;/b&gt; &lt;jk&gt;false&lt;/jk&gt;<a 
name="line.689"></a>
-<span class="sourceLineNo">690</span>    * &lt;/ul&gt;<a name="line.690"></a>
-<span class="sourceLineNo">691</span>    *<a name="line.691"></a>
-<span class="sourceLineNo">692</span>    * &lt;p&gt;<a name="line.692"></a>
-<span class="sourceLineNo">693</span>    * Specifies to only include the 
specified list of properties for the specified bean classes.<a 
name="line.693"></a>
-<span class="sourceLineNo">694</span>    *<a name="line.694"></a>
-<span class="sourceLineNo">695</span>    * &lt;p&gt;<a name="line.695"></a>
-<span class="sourceLineNo">696</span>    * The keys are either fully-qualified 
or simple class names, and the values are comma-delimited lists of property<a 
name="line.696"></a>
-<span class="sourceLineNo">697</span>    * names.<a name="line.697"></a>
-<span class="sourceLineNo">698</span>    * The key &lt;js&gt;"*"&lt;/js&gt; 
means all bean classes.<a name="line.698"></a>
+<span class="sourceLineNo">683</span>    * &lt;b&gt;Configuration 
property:&lt;/b&gt;  Add an implementation class.<a name="line.683"></a>
+<span class="sourceLineNo">684</span>    */<a name="line.684"></a>
+<span class="sourceLineNo">685</span>   public static final String 
BEAN_implClasses_put = "BeanContext.implClasses.map.put";<a name="line.685"></a>
+<span class="sourceLineNo">686</span><a name="line.686"></a>
+<span class="sourceLineNo">687</span>   /**<a name="line.687"></a>
+<span class="sourceLineNo">688</span>    * &lt;b&gt;Configuration 
property:&lt;/b&gt;  Explicitly specify visible bean properties.<a 
name="line.688"></a>
+<span class="sourceLineNo">689</span>    *<a name="line.689"></a>
+<span class="sourceLineNo">690</span>    * &lt;ul&gt;<a name="line.690"></a>
+<span class="sourceLineNo">691</span>    *    
&lt;li&gt;&lt;b&gt;Name:&lt;/b&gt; 
&lt;js&gt;"BeanContext.includeProperties"&lt;/js&gt;<a name="line.691"></a>
+<span class="sourceLineNo">692</span>    *    &lt;li&gt;&lt;b&gt;Data 
type:&lt;/b&gt; &lt;code&gt;Map&amp;lt;String,String&amp;gt;&lt;/code&gt;<a 
name="line.692"></a>
+<span class="sourceLineNo">693</span>    *    
&lt;li&gt;&lt;b&gt;Default:&lt;/b&gt; &lt;code&gt;{}&lt;/code&gt;<a 
name="line.693"></a>
+<span class="sourceLineNo">694</span>    *    
&lt;li&gt;&lt;b&gt;Session-overridable:&lt;/b&gt; &lt;jk&gt;false&lt;/jk&gt;<a 
name="line.694"></a>
+<span class="sourceLineNo">695</span>    * &lt;/ul&gt;<a name="line.695"></a>
+<span class="sourceLineNo">696</span>    *<a name="line.696"></a>
+<span class="sourceLineNo">697</span>    * &lt;p&gt;<a name="line.697"></a>
+<span class="sourceLineNo">698</span>    * Specifies to only include the 
specified list of properties for the specified bean classes.<a 
name="line.698"></a>
 <span class="sourceLineNo">699</span>    *<a name="line.699"></a>
 <span class="sourceLineNo">700</span>    * &lt;p&gt;<a name="line.700"></a>
-<span class="sourceLineNo">701</span>    * For example, 
&lt;code&gt;{Bean1:&lt;js&gt;'foo,bar'&lt;/js&gt;}&lt;/code&gt; means only 
serialize the &lt;code&gt;foo&lt;/code&gt; and<a name="line.701"></a>
-<span class="sourceLineNo">702</span>    * &lt;code&gt;bar&lt;/code&gt; 
properties on the specified bean.<a name="line.702"></a>
-<span class="sourceLineNo">703</span>    *<a name="line.703"></a>
-<span class="sourceLineNo">704</span>    * &lt;p&gt;<a name="line.704"></a>
-<span class="sourceLineNo">705</span>    * Setting applies to specified class 
and all subclasses.<a name="line.705"></a>
-<span class="sourceLineNo">706</span>    */<a name="line.706"></a>
-<span class="sourceLineNo">707</span>   public static final String 
BEAN_includeProperties = "BeanContext.includeProperties.map";<a 
name="line.707"></a>
-<span class="sourceLineNo">708</span><a name="line.708"></a>
-<span class="sourceLineNo">709</span>   /**<a name="line.709"></a>
-<span class="sourceLineNo">710</span>    * &lt;b&gt;Configuration 
property:&lt;/b&gt;  Explicitly specify visible bean properties.<a 
name="line.710"></a>
+<span class="sourceLineNo">701</span>    * The keys are either fully-qualified 
or simple class names, and the values are comma-delimited lists of property<a 
name="line.701"></a>
+<span class="sourceLineNo">702</span>    * names.<a name="line.702"></a>
+<span class="sourceLineNo">703</span>    * The key &lt;js&gt;"*"&lt;/js&gt; 
means all bean classes.<a name="line.703"></a>
+<span class="sourceLineNo">704</span>    *<a name="line.704"></a>
+<span class="sourceLineNo">705</span>    * &lt;p&gt;<a name="line.705"></a>
+<span class="sourceLineNo">706</span>    * For example, 
&lt;code&gt;{Bean1:&lt;js&gt;'foo,bar'&lt;/js&gt;}&lt;/code&gt; means only 
serialize the &lt;code&gt;foo&lt;/code&gt; and<a name="line.706"></a>
+<span class="sourceLineNo">707</span>    * &lt;code&gt;bar&lt;/code&gt; 
properties on the specified bean.<a name="line.707"></a>
+<span class="sourceLineNo">708</span>    *<a name="line.708"></a>
+<span class="sourceLineNo">709</span>    * &lt;p&gt;<a name="line.709"></a>
+<span class="sourceLineNo">710</span>    * Setting applies to specified class 
and all subclasses.<a name="line.710"></a>
 <span class="sourceLineNo">711</span>    */<a name="line.711"></a>
-<span class="sourceLineNo">712</span>   public static final String 
BEAN_includeProperties_put = "BeanContext.includeProperties.map.put";<a 
name="line.712"></a>
+<span class="sourceLineNo">712</span>   public static final String 
BEAN_includeProperties = "BeanContext.includeProperties.map";<a 
name="line.712"></a>
 <span class="sourceLineNo">713</span><a name="line.713"></a>
 <span class="sourceLineNo">714</span>   /**<a name="line.714"></a>
-<span class="sourceLineNo">715</span>    * &lt;b&gt;Configuration 
property:&lt;/b&gt;  Exclude specified properties from beans.<a 
name="line.715"></a>
-<span class="sourceLineNo">716</span>    *<a name="line.716"></a>
-<span class="sourceLineNo">717</span>    * &lt;ul&gt;<a name="line.717"></a>
-<span class="sourceLineNo">718</span>    *    
&lt;li&gt;&lt;b&gt;Name:&lt;/b&gt; 
&lt;js&gt;"BeanContext.excludeProperties"&lt;/js&gt;<a name="line.718"></a>
-<span class="sourceLineNo">719</span>    *    &lt;li&gt;&lt;b&gt;Data 
type:&lt;/b&gt; &lt;code&gt;Map&amp;lt;String,String&amp;gt;&lt;/code&gt;<a 
name="line.719"></a>
-<span class="sourceLineNo">720</span>    *    
&lt;li&gt;&lt;b&gt;Default:&lt;/b&gt; &lt;code&gt;{}&lt;/code&gt;<a 
name="line.720"></a>
-<span class="sourceLineNo">721</span>    *    
&lt;li&gt;&lt;b&gt;Session-overridable:&lt;/b&gt; &lt;jk&gt;false&lt;/jk&gt;<a 
name="line.721"></a>
-<span class="sourceLineNo">722</span>    * &lt;/ul&gt;<a name="line.722"></a>
-<span class="sourceLineNo">723</span>    *<a name="line.723"></a>
-<span class="sourceLineNo">724</span>    * &lt;p&gt;<a name="line.724"></a>
-<span class="sourceLineNo">725</span>    * Specifies to exclude the specified 
list of properties for the specified bean class.<a name="line.725"></a>
-<span class="sourceLineNo">726</span>    *<a name="line.726"></a>
-<span class="sourceLineNo">727</span>    * &lt;p&gt;<a name="line.727"></a>
-<span class="sourceLineNo">728</span>    * The keys are either fully-qualified 
or simple class names, and the values are comma-delimited lists of property<a 
name="line.728"></a>
-<span class="sourceLineNo">729</span>    * names.<a name="line.729"></a>
-<span class="sourceLineNo">730</span>    * The key &lt;js&gt;"*"&lt;/js&gt; 
means all bean classes.<a name="line.730"></a>
+<span class="sourceLineNo">715</span>    * &lt;b&gt;Configuration 
property:&lt;/b&gt;  Explicitly specify visible bean properties.<a 
name="line.715"></a>
+<span class="sourceLineNo">716</span>    */<a name="line.716"></a>
+<span class="sourceLineNo">717</span>   public static final String 
BEAN_includeProperties_put = "BeanContext.includeProperties.map.put";<a 
name="line.717"></a>
+<span class="sourceLineNo">718</span><a name="line.718"></a>
+<span class="sourceLineNo">719</span>   /**<a name="line.719"></a>
+<span class="sourceLineNo">720</span>    * &lt;b&gt;Configuration 
property:&lt;/b&gt;  Exclude specified properties from beans.<a 
name="line.720"></a>
+<span class="sourceLineNo">721</span>    *<a name="line.721"></a>
+<span class="sourceLineNo">722</span>    * &lt;ul&gt;<a name="line.722"></a>
+<span class="sourceLineNo">723</span>    *    
&lt;li&gt;&lt;b&gt;Name:&lt;/b&gt; 
&lt;js&gt;"BeanContext.excludeProperties"&lt;/js&gt;<a name="line.723"></a>
+<span class="sourceLineNo">724</span>    *    &lt;li&gt;&lt;b&gt;Data 
type:&lt;/b&gt; &lt;code&gt;Map&amp;lt;String,String&amp;gt;&lt;/code&gt;<a 
name="line.724"></a>
+<span class="sourceLineNo">725</span>    *    
&lt;li&gt;&lt;b&gt;Default:&lt;/b&gt; &lt;code&gt;{}&lt;/code&gt;<a 
name="line.725"></a>
+<span class="sourceLineNo">726</span>    *    
&lt;li&gt;&lt;b&gt;Session-overridable:&lt;/b&gt; &lt;jk&gt;false&lt;/jk&gt;<a 
name="line.726"></a>
+<span class="sourceLineNo">727</span>    * &lt;/ul&gt;<a name="line.727"></a>
+<span class="sourceLineNo">728</span>    *<a name="line.728"></a>
+<span class="sourceLineNo">729</span>    * &lt;p&gt;<a name="line.729"></a>
+<span class="sourceLineNo">730</span>    * Specifies to exclude the specified 
list of properties for the specified bean class.<a name="line.730"></a>
 <span class="sourceLineNo">731</span>    *<a name="line.731"></a>
 <span class="sourceLineNo">732</span>    * &lt;p&gt;<a name="line.732"></a>
-<span class="sourceLineNo">733</span>    * For example, 
&lt;code&gt;{Bean1:&lt;js&gt;'foo,bar'&lt;/js&gt;}&lt;/code&gt; means don't 
serialize the &lt;code&gt;foo&lt;/code&gt; and<a name="line.733"></a>
-<span class="sourceLineNo">734</span>    * &lt;code&gt;bar&lt;/code&gt; 
properties on the specified bean.<a name="line.734"></a>
-<span class="sourceLineNo">735</span>    *<a name="line.735"></a>
-<span class="sourceLineNo">736</span>    * &lt;p&gt;<a name="line.736"></a>
-<span class="sourceLineNo">737</span>    * Setting applies to specified class 
and all subclasses.<a name="line.737"></a>
-<span class="sourceLineNo">738</span>    */<a name="line.738"></a>
-<span class="sourceLineNo">739</span>   public static final String 
BEAN_excludeProperties = "BeanContext.excludeProperties.map";<a 
name="line.739"></a>
-<span class="sourceLineNo">740</span><a name="line.740"></a>
-<span class="sourceLineNo">741</span>   /**<a name="line.741"></a>
-<span class="sourceLineNo">742</span>    * &lt;b&gt;Configuration 
property:&lt;/b&gt;  Exclude specified properties from beans.<a 
name="line.742"></a>
+<span class="sourceLineNo">733</span>    * The keys are either fully-qualified 
or simple class names, and the values are comma-delimited lists of property<a 
name="line.733"></a>
+<span class="sourceLineNo">734</span>    * names.<a name="line.734"></a>
+<span class="sourceLineNo">735</span>    * The key &lt;js&gt;"*"&lt;/js&gt; 
means all bean classes.<a name="line.735"></a>
+<span class="sourceLineNo">736</span>    *<a name="line.736"></a>
+<span class="sourceLineNo">737</span>    * &lt;p&gt;<a name="line.737"></a>
+<span class="sourceLineNo">738</span>    * For example, 
&lt;code&gt;{Bean1:&lt;js&gt;'foo,bar'&lt;/js&gt;}&lt;/code&gt; means don't 
serialize the &lt;code&gt;foo&lt;/code&gt; and<a name="line.738"></a>
+<span class="sourceLineNo">739</span>    * &lt;code&gt;bar&lt;/code&gt; 
properties on the specified bean.<a name="line.739"></a>
+<span class="sourceLineNo">740</span>    *<a name="line.740"></a>
+<span class="sourceLineNo">741</span>    * &lt;p&gt;<a name="line.741"></a>
+<span class="sourceLineNo">742</span>    * Setting applies to specified class 
and all subclasses.<a name="line.742"></a>
 <span class="sourceLineNo">743</span>    */<a name="line.743"></a>
-<span class="sourceLineNo">744</span>   public static final String 
BEAN_excludeProperties_put = "BeanContext.excludeProperties.map.put";<a 
name="line.744"></a>
+<span class="sourceLineNo">744</span>   public static final String 
BEAN_excludeProperties = "BeanContext.excludeProperties.map";<a 
name="line.744"></a>
 <span class="sourceLineNo">745</span><a name="line.745"></a>
 <span class="sourceLineNo">746</span>   /**<a name="line.746"></a>
-<span class="sourceLineNo">747</span>    * &lt;b&gt;Configuration 
property:&lt;/b&gt;  Bean lookup dictionary.<a name="line.747"></a>
-<span class="sourceLineNo">748</span>    *<a name="line.748"></a>
-<span class="sourceLineNo">749</span>    * &lt;ul&gt;<a name="line.749"></a>
-<span class="sourceLineNo">750</span>    *    
&lt;li&gt;&lt;b&gt;Name:&lt;/b&gt; 
&lt;js&gt;"BeanContext.beanDictionary.list"&lt;/js&gt;<a name="line.750"></a>
-<span class="sourceLineNo">751</span>    *    &lt;li&gt;&lt;b&gt;Data 
type:&lt;/b&gt; &lt;code&gt;List&amp;lt;Class&amp;gt;&lt;/code&gt;<a 
name="line.751"></a>
-<span class="sourceLineNo">752</span>    *    
&lt;li&gt;&lt;b&gt;Default:&lt;/b&gt; empty list<a name="line.752"></a>
-<span class="sourceLineNo">753</span>    *    
&lt;li&gt;&lt;b&gt;Session-overridable:&lt;/b&gt; &lt;jk&gt;false&lt;/jk&gt;<a 
name="line.753"></a>
-<span class="sourceLineNo">754</span>    * &lt;/ul&gt;<a name="line.754"></a>
-<span class="sourceLineNo">755</span>    *<a name="line.755"></a>
-<span class="sourceLineNo">756</span>    * &lt;p&gt;<a name="line.756"></a>
-<span class="sourceLineNo">757</span>    * This list can consist of the 
following class types:<a name="line.757"></a>
-<span class="sourceLineNo">758</span>    * &lt;ul&gt;<a name="line.758"></a>
-<span class="sourceLineNo">759</span>    *    &lt;li&gt;Any bean class that 
specifies a value for {@link Bean#typeName() @Bean.typeName()}.<a 
name="line.759"></a>
-<span class="sourceLineNo">760</span>    *    &lt;li&gt;Any subclass of {@link 
BeanDictionaryList} containing a collection of bean classes with type name<a 
name="line.760"></a>
-<span class="sourceLineNo">761</span>    *       annotations.<a 
name="line.761"></a>
-<span class="sourceLineNo">762</span>    *    &lt;li&gt;Any subclass of {@link 
BeanDictionaryMap} containing a mapping of type names to classes without type 
name<a name="line.762"></a>
-<span class="sourceLineNo">763</span>    *       annotations.<a 
name="line.763"></a>
-<span class="sourceLineNo">764</span>    * &lt;/ul&gt;<a name="line.764"></a>
-<span class="sourceLineNo">765</span>    */<a name="line.765"></a>
-<span class="sourceLineNo">766</span>   public static final String 
BEAN_beanDictionary = "BeanContext.beanDictionary.list";<a name="line.766"></a>
-<span class="sourceLineNo">767</span><a name="line.767"></a>
-<span class="sourceLineNo">768</span>   /**<a name="line.768"></a>
-<span class="sourceLineNo">769</span>    * &lt;b&gt;Configuration 
property:&lt;/b&gt;  Add to bean dictionary.<a name="line.769"></a>
+<span class="sourceLineNo">747</span>    * &lt;b&gt;Configuration 
property:&lt;/b&gt;  Exclude specified properties from beans.<a 
name="line.747"></a>
+<span class="sourceLineNo">748</span>    */<a name="line.748"></a>
+<span class="sourceLineNo">749</span>   public static final String 
BEAN_excludeProperties_put = "BeanContext.excludeProperties.map.put";<a 
name="line.749"></a>
+<span class="sourceLineNo">750</span><a name="line.750"></a>
+<span class="sourceLineNo">751</span>   /**<a name="line.751"></a>
+<span class="sourceLineNo">752</span>    * &lt;b&gt;Configuration 
property:&lt;/b&gt;  Bean lookup dictionary.<a name="line.752"></a>
+<span class="sourceLineNo">753</span>    *<a name="line.753"></a>
+<span class="sourceLineNo">754</span>    * &lt;ul&gt;<a name="line.754"></a>
+<span class="sourceLineNo">755</span>    *    
&lt;li&gt;&lt;b&gt;Name:&lt;/b&gt; 
&lt;js&gt;"BeanContext.beanDictionary.list"&lt;/js&gt;<a name="line.755"></a>
+<span class="sourceLineNo">756</span>    *    &lt;li&gt;&lt;b&gt;Data 
type:&lt;/b&gt; &lt;code&gt;List&amp;lt;Class&amp;gt;&lt;/code&gt;<a 
name="line.756"></a>
+<span class="sourceLineNo">757</span>    *    
&lt;li&gt;&lt;b&gt;Default:&lt;/b&gt; empty list<a name="line.757"></a>
+<span class="sourceLineNo">758</span>    *    
&lt;li&gt;&lt;b&gt;Session-overridable:&lt;/b&gt; &lt;jk&gt;false&lt;/jk&gt;<a 
name="line.758"></a>
+<span class="sourceLineNo">759</span>    * &lt;/ul&gt;<a name="line.759"></a>
+<span class="sourceLineNo">760</span>    *<a name="line.760"></a>
+<span class="sourceLineNo">761</span>    * &lt;p&gt;<a name="line.761"></a>
+<span class="sourceLineNo">762</span>    * This list can consist of the 
following class types:<a name="line.762"></a>
+<span class="sourceLineNo">763</span>    * &lt;ul&gt;<a name="line.763"></a>
+<span class="sourceLineNo">764</span>    *    &lt;li&gt;Any bean class that 
specifies a value for {@link Bean#typeName() @Bean.typeName()}.<a 
name="line.764"></a>
+<span class="sourceLineNo">765</span>    *    &lt;li&gt;Any subclass of {@link 
BeanDictionaryList} containing a collection of bean classes with type name<a 
name="line.765"></a>
+<span class="sourceLineNo">766</span>    *       annotations.<a 
name="line.766"></a>
+<span class="sourceLineNo">767</span>    *    &lt;li&gt;Any subclass of {@link 
BeanDictionaryMap} containing a mapping of type names to classes without type 
name<a name="line.767"></a>
+<span class="sourceLineNo">768</span>    *       annotations.<a 
name="line.768"></a>
+<span class="sourceLineNo">769</span>    * &lt;/ul&gt;<a name="line.769"></a>
 <span class="sourceLineNo">770</span>    */<a name="line.770"></a>
-<span class="sourceLineNo">771</span>   public static final String 
BEAN_beanDictionary_add = "BeanContext.beanDictionary.list.add";<a 
name="line.771"></a>
+<span class="sourceLineNo">771</span>   public static final String 
BEAN_beanDictionary = "BeanContext.beanDictionary.list";<a name="line.771"></a>
 <span class="sourceLineNo">772</span><a name="line.772"></a>
 <span class="sourceLineNo">773</span>   /**<a name="line.773"></a>
-<span class="sourceLineNo">774</span>    * &lt;b&gt;Configuration 
property:&lt;/b&gt;  Remove from bean dictionary.<a name="line.774"></a>
+<span class="sourceLineNo">774</span>    * &lt;b&gt;Configuration 
property:&lt;/b&gt;  Add to bean dictionary.<a name="line.774"></a>
 <span class="sourceLineNo">775</span>    */<a name="line.775"></a>
-<span class="sourceLineNo">776</span>   public static final String 
BEAN_beanDictionary_remove = "BeanContext.beanDictionary.list.remove";<a 
name="line.776"></a>
+<span class="sourceLineNo">776</span>   public static final String 
BEAN_beanDictionary_add = "BeanContext.beanDictionary.list.add";<a 
name="line.776"></a>
 <span class="sourceLineNo">777</span><a name="line.777"></a>
 <span class="sourceLineNo">778</span>   /**<a name="line.778"></a>
-<span class="sourceLineNo">779</span>    * &lt;b&gt;Configuration 
property:&lt;/b&gt;  Name to use for the bean type properties used to represent 
a bean type.<a name="line.779"></a>
-<span class="sourceLineNo">780</span>    *<a name="line.780"></a>
-<span class="sourceLineNo">781</span>    * &lt;ul&gt;<a name="line.781"></a>
-<span class="sourceLineNo">782</span>    *    
&lt;li&gt;&lt;b&gt;Name:&lt;/b&gt; 
&lt;js&gt;"BeanContext.beanTypePropertyName"&lt;/js&gt;<a name="line.782"></a>
-<span class="sourceLineNo">783</span>    *    &lt;li&gt;&lt;b&gt;Data 
type:&lt;/b&gt; &lt;code&gt;String&lt;/code&gt;<a name="line.783"></a>
-<span class="sourceLineNo">784</span>    *    
&lt;li&gt;&lt;b&gt;Default:&lt;/b&gt; &lt;js&gt;"_type"&lt;/js&gt;<a 
name="line.784"></a>
-<span class="sourceLineNo">785</span>    *    
&lt;li&gt;&lt;b&gt;Session-overridable:&lt;/b&gt; &lt;jk&gt;false&lt;/jk&gt;<a 
name="line.785"></a>
-<span class="sourceLineNo">786</span>    * &lt;/ul&gt;<a name="line.786"></a>
-<span class="sourceLineNo">787</span>    */<a name="line.787"></a>
-<span class="sourceLineNo">788</span>   public static final String 
BEAN_beanTypePropertyName = "BeanContext.beanTypePropertyName";<a 
name="line.788"></a>
-<span class="sourceLineNo">789</span><a name="line.789"></a>
-<span class="sourceLineNo">790</span>   /**<a name="line.790"></a>
-<span class="sourceLineNo">791</span>    * &lt;b&gt;Configuration 
property:&lt;/b&gt;  Default parser to use when converting 
&lt;code&gt;Strings&lt;/code&gt; to POJOs.<a name="line.791"></a>
-<span class="sourceLineNo">792</span>    *<a name="line.792"></a>
-<span class="sourceLineNo">793</span>    * &lt;ul&gt;<a name="line.793"></a>
-<span class="sourceLineNo">794</span>    *    
&lt;li&gt;&lt;b&gt;Name:&lt;/b&gt; 
&lt;js&gt;"BeanContext.defaultParser"&lt;/js&gt;<a name="line.794"></a>
-<span class="sourceLineNo">795</span>    *    &lt;li&gt;&lt;b&gt;Data 
type:&lt;/b&gt; &lt;code&gt;Class&lt;/code&gt;<a name="line.795"></a>
-<span class="sourceLineNo">796</span>    *    
&lt;li&gt;&lt;b&gt;Default:&lt;/b&gt; {@link JsonSerializer}<a 
name="line.796"></a>
-<span class="sourceLineNo">797</span>    *    
&lt;li&gt;&lt;b&gt;Session-overridable:&lt;/b&gt; &lt;jk&gt;false&lt;/jk&gt;<a 
name="line.797"></a>
-<span class="sourceLineNo">798</span>    * &lt;/ul&gt;<a name="line.798"></a>
-<span class="sourceLineNo">799</span>    *<a name="line.799"></a>
-<span class="sourceLineNo">800</span>    * &lt;p&gt;<a name="line.800"></a>
-<span class="sourceLineNo">801</span>    * Used in the in the {@link 
BeanSession#convertToType(Object, Class)} method.<a name="line.801"></a>
-<span class="sourceLineNo">802</span>    */<a name="line.802"></a>
-<span class="sourceLineNo">803</span>   public static final String 
BEAN_defaultParser = "BeanContext.defaultParser";<a name="line.803"></a>
-<span class="sourceLineNo">804</span><a name="line.804"></a>
-<span class="sourceLineNo">805</span>   /**<a name="line.805"></a>
-<span class="sourceLineNo">806</span>    * &lt;b&gt;Configuration 
property:&lt;/b&gt;  Locale.<a name="line.806"></a>
-<span class="sourceLineNo">807</span>    *<a name="line.807"></a>
-<span class="sourceLineNo">808</span>    * &lt;ul&gt;<a name="line.808"></a>
-<span class="sourceLineNo">809</span>    *    
&lt;li&gt;&lt;b&gt;Name:&lt;/b&gt; &lt;js&gt;"BeanContext.locale"&lt;/js&gt;<a 
name="line.809"></a>
-<span class="sourceLineNo">810</span>    *    &lt;li&gt;&lt;b&gt;Data 
type:&lt;/b&gt; &lt;code&gt;Locale&lt;/code&gt;<a name="line.810"></a>
-<span class="sourceLineNo">811</span>    *    
&lt;li&gt;&lt;b&gt;Default:&lt;/b&gt; 
&lt;code&gt;Locale.getDefault()&lt;/code&gt;<a name="line.811"></a>
-<span class="sourceLineNo">812</span>    *    
&lt;li&gt;&lt;b&gt;Session-overridable:&lt;/b&gt; &lt;jk&gt;true&lt;/jk&gt;<a 
name="line.812"></a>
-<span class="sourceLineNo">813</span>    * &lt;/ul&gt;<a name="line.813"></a>
-<span class="sourceLineNo">814</span>    *<a name="line.814"></a>
-<span class="sourceLineNo">815</span>    * &lt;p&gt;<a name="line.815"></a>
-<span class="sourceLineNo">816</span>    * Used in the in the {@link 
BeanSession#convertToType(Object, Class)} method.<a name="line.816"></a>
-<span class="sourceLineNo">817</span>    */<a name="line.817"></a>
-<span class="sourceLineNo">818</span>   public static final String BEAN_locale 
= "BeanContext.locale";<a name="line.818"></a>
-<span class="sourceLineNo">819</span><a name="line.819"></a>
-<span class="sourceLineNo">820</span>   /**<a name="line.820"></a>
-<span class="sourceLineNo">821</span>    * &lt;b&gt;Configuration 
property:&lt;/b&gt;  TimeZone.<a name="line.821"></a>
-<span class="sourceLineNo">822</span>    *<a name="line.822"></a>
-<span class="sourceLineNo">823</span>    * &lt;ul&gt;<a name="line.823"></a>
-<span class="sourceLineNo">824</span>    *    
&lt;li&gt;&lt;b&gt;Name:&lt;/b&gt; 
&lt;js&gt;"BeanContext.timeZone"&lt;/js&gt;<a name="line.824"></a>
-<span class="sourceLineNo">825</span>    *    &lt;li&gt;&lt;b&gt;Data 
type:&lt;/b&gt; &lt;code&gt;TimeZone&lt;/code&gt;<a name="line.825"></a>
-<span class="sourceLineNo">826</span>    *    
&lt;li&gt;&lt;b&gt;Default:&lt;/b&gt; &lt;jk&gt;null&lt;/jk&gt;<a 
name="line.826"></a>
-<span class="sourceLineNo">827</span>    *    
&lt;li&gt;&lt;b&gt;Session-overridable:&lt;/b&gt; &lt;jk&gt;true&lt;/jk&gt;<a 
name="line.827"></a>
-<span class="sourceLineNo">828</span>    * &lt;/ul&gt;<a name="line.828"></a>
-<span class="sourceLineNo">829</span>    *<a name="line.829"></a>
-<span class="sourceLineNo">830</span>    * &lt;p&gt;<a name="line.830"></a>
-<span class="sourceLineNo">831</span>    * Used in the in the {@link 
BeanSession#convertToType(Object, Class)} method.<a name="line.831"></a>
-<span class="sourceLineNo">832</span>    */<a name="line.832"></a>
-<span class="sourceLineNo">833</span>   public static final String 
BEAN_timeZone = "BeanContext.timeZone";<a name="line.833"></a>
-<span class="sourceLineNo">834</span><a name="line.834"></a>
-<span class="sourceLineNo">835</span>   /**<a name="line.835"></a>
-<span class="sourceLineNo">836</span>    * &lt;b&gt;Configuration 
property:&lt;/b&gt;  Media type.<a name="line.836"></a>
-<span class="sourceLineNo">837</span>    *<a name="line.837"></a>
-<span class="sourceLineNo">838</span>    * &lt;ul&gt;<a name="line.838"></a>
-<span class="sourceLineNo">839</span>    *    
&lt;li&gt;&lt;b&gt;Name:&lt;/b&gt; 
&lt;js&gt;"BeanContext.mediaType"&lt;/js&gt;<a name="line.839"></a>
-<span class="sourceLineNo">840</span>    *    &lt;li&gt;&lt;b&gt;Data 
type:&lt;/b&gt; &lt;code&gt;MediaType&lt;/code&gt;<a name="line.840"></a>
-<span class="sourceLineNo">841</span>    *    
&lt;li&gt;&lt;b&gt;Default:&lt;/b&gt; &lt;jk&gt;null&lt;/jk&gt;<a 
name="line.841"></a>
-<span class="sourceLineNo">842</span>    *    
&lt;li&gt;&lt;b&gt;Session-overridable:&lt;/b&gt; &lt;jk&gt;true&lt;/jk&gt;<a 
name="line.842"></a>
-<span class="sourceLineNo">843</span>    * &lt;/ul&gt;<a name="line.843"></a>
-<span class="sourceLineNo">844</span>    *<a name="line.844"></a>
-<span class="sourceLineNo">845</span>    * &lt;p&gt;<a name="line.845"></a>
-<span class="sourceLineNo">846</span>    * Specifies a default media type 
value for serializer and parser sessions.<a name="line.846"></a>
-<span class="sourceLineNo">847</span>    */<a name="line.847"></a>
-<span class="sourceLineNo">848</span>   public static final String 
BEAN_mediaType = "BeanContext.mediaType";<a name="line.848"></a>
-<span class="sourceLineNo">849</span><a name="line.849"></a>
-<span class="sourceLineNo">850</span>   /**<a name="line.850"></a>
-<span class="sourceLineNo">851</span>    * &lt;b&gt;Configuration 
property:&lt;/b&gt;  Debug mode.<a name="line.851"></a>
-<span class="sourceLineNo">852</span>    *<a name="line.852"></a>
-<span class="sourceLineNo">853</span>    * &lt;ul&gt;<a name="line.853"></a>
-<span class="sourceLineNo">854</span>    *    
&lt;li&gt;&lt;b&gt;Name:&lt;/b&gt; &lt;js&gt;"BeanContext.debug"&lt;/js&gt;<a 
name="line.854"></a>
-<span class="sourceLineNo">855</span>    *    &lt;li&gt;&lt;b&gt;Data 
type:&lt;/b&gt; &lt;code&gt;Boolean&lt;/code&gt;<a name="line.855"></a>
-<span class="sourceLineNo">856</span>    *    
&lt;li&gt;&lt;b&gt;Default:&lt;/b&gt; &lt;jk&gt;false&lt;/jk&gt;<a 
name="line.856"></a>
-<span class="sourceLineNo">857</span>    *    
&lt;li&gt;&lt;b&gt;Session-overridable:&lt;/b&gt; &lt;jk&gt;true&lt;/jk&gt;<a 
name="line.857"></a>
-<span class="sourceLineNo">858</span>    * &lt;/ul&gt;<a name="line.858"></a>
-<span class="sourceLineNo">859</span>    *<a name="line.859"></a>
-<span class="sourceLineNo">860</span>    * &lt;p&gt;<a name="line.860"></a>
-<span class="sourceLineNo">861</span>    * Enables the following additional 
information during serialization:<a name="line.861"></a>
-<span class="sourceLineNo">862</span>    * &lt;ul class='spaced-list'&gt;<a 
name="line.862"></a>
-<span class="sourceLineNo">863</span>    *    &lt;li&gt;<a name="line.863"></a>
-<span class="sourceLineNo">864</span>    *       When bean getters throws 
exceptions, the exception includes the object stack information<a 
name="line.864"></a>
-<span class="sourceLineNo">865</span>    *       in order to determine how 
that method was invoked.<a name="line.865"></a>
-<span class="sourceLineNo">866</span>    *    &lt;li&gt;<a name="line.866"></a>
-<span class="sourceLineNo">867</span>    *       Enables {@link 
SerializerContext#SERIALIZER_detectRecursions}.<a name="line.867"></a>
-<span class="sourceLineNo">868</span>    * &lt;/ul&gt;<a name="line.868"></a>
-<span class="sourceLineNo">869</span>    *<a name="line.869"></a>
-<span class="sourceLineNo">870</span>    * &lt;p&gt;<a name="line.870"></a>
-<span class="sourceLineNo">871</span>    * Enables the following additional 
information during parsing:<a name="line.871"></a>
-<span class="sourceLineNo">872</span>    * &lt;ul class='spaced-list'&gt;<a 
name="line.872"></a>
-<span class="sourceLineNo">873</span>    *    &lt;li&gt;<a name="line.873"></a>
-<span class="sourceLineNo">874</span>    *       When bean setters throws 
exceptions, the exception includes the object stack information<a 
name="line.874"></a>
-<span class="sourceLineNo">875</span>    *       in order to determine how 
that method was invoked.<a name="line.875"></a>
-<span class="sourceLineNo">876</span>    * &lt;/ul&gt;<a name="line.876"></a>
-<span class="sourceLineNo">877</span>    */<a name="line.877"></a>
-<span class="sourceLineNo">878</span>   public static final String BEAN_debug 
= "BeanContext.debug";<a name="line.878"></a>
-<span class="sourceLineNo">879</span><a name="line.879"></a>
-<span class="sourceLineNo">880</span>   /*<a name="line.880"></a>
-<span class="sourceLineNo">881</span>    * The default package pattern 
exclusion list.<a name="line.881"></a>
-<span class="sourceLineNo">882</span>    * Any beans in packages in this list 
will not be considered beans.<a name="line.882"></a>
-<span class="sourceLineNo">883</span>    */<a name="line.883"></a>
-<span class="sourceLineNo">884</span>   private static final String[] 
DEFAULT_NOTBEAN_PACKAGES = {<a name="line.884"></a>
-<span class="sourceLineNo">885</span>      "java.lang",<a name="line.885"></a>
-<span class="sourceLineNo">886</span>      "java.lang.annotation",<a 
name="line.886"></a>
-<span class="sourceLineNo">887</span>      "java.lang.ref",<a 
name="line.887"></a>
-<span class="sourceLineNo">888</span>      "java.lang.reflect",<a 
name="line.888"></a>
-<span class="sourceLineNo">889</span>      "java.io",<a name="line.889"></a>
-<span class="sourceLineNo">890</span>      "java.net",<a name="line.890"></a>
-<span class="sourceLineNo">891</span>      "java.nio.*",<a name="line.891"></a>
-<span class="sourceLineNo">892</span>      "java.util.*"<a name="line.892"></a>
-<span class="sourceLineNo">893</span>   };<a name="line.893"></a>
-<span class="sourceLineNo">894</span><a name="line.894"></a>
-<span class="sourceLineNo">895</span>   /*<a name="line.895"></a>
-<span class="sourceLineNo">896</span>    * The default bean class exclusion 
list.<a name="line.896"></a>
-<span class="sourceLineNo">897</span>    * Anything in this list will not be 
considered beans.<a name="line.897"></a>
-<span class="sourceLineNo">898</span>    */<a name="line.898"></a>
-<span class="sourceLineNo">899</span>   private static final Class&lt;?&gt;[] 
DEFAULT_NOTBEAN_CLASSES = {<a name="line.899"></a>
-<span class="sourceLineNo">900</span>      Map.class,<a name="line.900"></a>
-<span class="sourceLineNo">901</span>      Collection.class,<a 
name="line.901"></a>
-<span class="sourceLineNo">902</span>      Reader.class,<a name="line.902"></a>
-<span class="sourceLineNo">903</span>      Writer.class,<a name="line.903"></a>
-<span class="sourceLineNo">904</span>      InputStream.class,<a 
name="line.904"></a>
-<span class="sourceLineNo">905</span>      OutputStream.class,<a 
name="line.905"></a>
-<span class="sourceLineNo">906</span>      Throwable.class<a 
name="line.906"></a>
-<span class="sourceLineNo">907</span>   };<a name="line.907"></a>
-<span class="sourceLineNo">908</span><a name="line.908"></a>
-<span class="sourceLineNo">909</span><a name="line.909"></a>
-<span class="sourceLineNo">910</span>   static final void 
loadDefaults(PropertyStore config) {<a name="line.910"></a>
-<span class="sourceLineNo">911</span>      
config.setProperty(BEAN_notBeanPackages, DEFAULT_NOTBEAN_PACKAGES);<a 
name="line.911"></a>
-<span class="sourceLineNo">912</span>      
config.setProperty(BEAN_notBeanClasses, DEFAULT_NOTBEAN_CLASSES);<a 
name="line.912"></a>
-<span class="sourceLineNo">913</span>   }<a name="line.913"></a>
+<span class="sourceLineNo">779</span>    * &lt;b&gt;Configuration 
property:&lt;/b&gt;  Remove from bean dictionary.<a name="line.779"></a>
+<span class="sourceLineNo">780</span>    */<a name="line.780"></a>
+<span class="sourceLineNo">781</span>   public static final String 
BEAN_beanDictionary_remove = "BeanContext.beanDictionary.list.remove";<a 
name="line.781"></a>
+<span class="sourceLineNo">782</span><a name="line.782"></a>
+<span class="sourceLineNo">783</span>   /**<a name="line.783"></a>
+<span class="sourceLineNo">784</span>    * &lt;b&gt;Configuration 
property:&lt;/b&gt;  Name to use for the bean type properties used to represent 
a bean type.<a name="line.784"></a>
+<span class="sourceLineNo">785</span>    *<a name="line.785"></a>
+<span class="sourceLineNo">786</span>    * &lt;ul&gt;<a name="line.786"></a>
+<span class="sourceLineNo">787</span>    *    
&lt;li&gt;&lt;b&gt;Name:&lt;/b&gt; 
&lt;js&gt;"BeanContext.beanTypePropertyName"&lt;/js&gt;<a name="line.787"></a>
+<span class="sourceLineNo">788</span>    *    &lt;li&gt;&lt;b&gt;Data 
type:&lt;/b&gt; &lt;code&gt;String&lt;/code&gt;<a name="line.788"></a>
+<span class="sourceLineNo">789</span>    *    
&lt;li&gt;&lt;b&gt;Default:&lt;/b&gt; &lt;js&gt;"_type"&lt;/js&gt;<a 
name="line.789"></a>
+<span class="sourceLineNo">790</span>    *    
&lt;li&gt;&lt;b&gt;Session-overridable:&lt;/b&gt; &lt;jk&gt;false&lt;/jk&gt;<a 
name="line.790"></a>
+<span class="sourceLineNo">791</span>    * &lt;/ul&gt;<a name="line.791"></a>
+<span class="sourceLineNo">792</span>    */<a name="line.792"></a>
+<span class="sourceLineNo">793</span>   public static final String 
BEAN_beanTypePropertyName = "BeanContext.beanTypePropertyName";<a 
name="line.793"></a>
+<span class="sourceLineNo">794</span><a name="line.794"></a>
+<span class="sourceLineNo">795</span>   /**<a name="line.795"></a>
+<span class="sourceLineNo">796</span>    * &lt;b&gt;Configuration 
property:&lt;/b&gt;  Default parser to use when converting 
&lt;code&gt;Strings&lt;/code&gt; to POJOs.<a name="line.796"></a>
+<span class="sourceLineNo">797</span>    *<a name="line.797"></a>
+<span class="sourceLineNo">798</span>    * &lt;ul&gt;<a name="line.798"></a>
+<span class="sourceLineNo">799</span>    *    
&lt;li&gt;&lt;b&gt;Name:&lt;/b&gt; 
&lt;js&gt;"BeanContext.defaultParser"&lt;/js&gt;<a name="line.799"></a>
+<span class="sourceLineNo">800</span>    *    &lt;li&gt;&lt;b&gt;Data 
type:&lt;/b&gt; &lt;code&gt;Class&lt;/code&gt;<a name="line.800"></a>
+<span class="sourceLineNo">801</span>    *    
&lt;li&gt;&lt;b&gt;Default:&lt;/b&gt; {@link JsonSerializer}<a 
name="line.801"></a>
+<span class="sourceLineNo">802</span>    *    
&lt;li&gt;&lt;b&gt;Session-overridable:&lt;/b&gt; &lt;jk&gt;false&lt;/jk&gt;<a 
name="line.802"></a>
+<span class="sourceLineNo">803</span>    * &lt;/ul&gt;<a name="line.803"></a>
+<span class="sourceLineNo">804</span>    *<a name="line.804"></a>
+<span class="sourceLineNo">805</span>    * &lt;p&gt;<a name="line.805"></a>
+<span class="sourceLineNo">806</span>    * Used in the in the {@link 
BeanSession#convertToType(Object, Class)} method.<a name="line.806"></a>
+<span class="sourceLineNo">807</span>    */<a name="line.807"></a>
+<span class="sourceLineNo">808</span>   public static final String 
BEAN_defaultParser = "BeanContext.defaultParser";<a name="line.808"></a>
+<span class="sourceLineNo">809</span><a name="line.809"></a>
+<span class="sourceLineNo">810</span>   /**<a name="line.810"></a>
+<span class="sourceLineNo">811</span>    * &lt;b&gt;Configuration 
property:&lt;/b&gt;  Locale.<a name="line.811"></a>
+<span class="sourceLineNo">812</span>    *<a name="line.812"></a>
+<span class="sourceLineNo">813</span>    * &lt;ul&gt;<a name="line.813"></a>
+<span class="sourceLineNo">814</span>    *    
&lt;li&gt;&lt;b&gt;Name:&lt;/b&gt; &lt;js&gt;"BeanContext.locale"&lt;/js&gt;<a 
name="line.814"></a>
+<span class="sourceLineNo">815</span>    *    &lt;li&gt;&lt;b&gt;Data 
type:&lt;/b&gt; &lt;code&gt;Locale&lt;/code&gt;<a name="line.815"></a>
+<span class="sourceLineNo">816</span>    *    
&lt;li&gt;&lt;b&gt;Default:&lt;/b&gt; 
&lt;code&gt;Locale.getDefault()&lt;/code&gt;<a name="line.816"></a>
+<span class="sourceLineNo">817</span>    *    
&lt;li&gt;&lt;b&gt;Session-overridable:&lt;/b&gt; &lt;jk&gt;true&lt;/jk&gt;<a 
name="line.817"></a>
+<span class="sourceLineNo">818</span>    * &lt;/ul&gt;<a name="line.818"></a>
+<span class="sourceLineNo">819</span>    *<a name="line.819"></a>
+<span class="sourceLineNo">820</span>    * &lt;p&gt;<a name="line.820"></a>
+<span class="sourceLineNo">821</span>    * Used in the in the {@link 
BeanSession#convertToType(Object, Class)} method.<a name="line.821"></a>
+<span class="sourceLineNo">822</span>    */<a name="line.822"></a>
+<span class="sourceLineNo">823</span>   public static final String BEAN_locale 
= "BeanContext.locale";<a name="line.823"></a>
+<span class="sourceLineNo">824</span><a name="line.824"></a>
+<span class="sourceLineNo">825</span>   /**<a name="line.825"></a>
+<span class="sourceLineNo">826</span>    * &lt;b&gt;Configuration 
property:&lt;/b&gt;  TimeZone.<a name="line.826"></a>
+<span class="sourceLineNo">827</span>    *<a name="line.827"></a>
+<span class="sourceLineNo">828</span>    * &lt;ul&gt;<a name="line.828"></a>
+<span class="sourceLineNo">829</span>    *    
&lt;li&gt;&lt;b&gt;Name:&lt;/b&gt; 
&lt;js&gt;"BeanContext.timeZone"&lt;/js&gt;<a name="line.829"></a>
+<span class="sourceLineNo">830</span>    *    &lt;li&gt;&lt;b&gt;Data 
type:&lt;/b&gt; &lt;code&gt;TimeZone&lt;/code&gt;<a name="line.830"></a>
+<span class="sourceLineNo">831</span>    *    
&lt;li&gt;&lt;b&gt;Default:&lt;/b&gt; &lt;jk&gt;null&lt;/jk&gt;<a 
name="line.831"></a>
+<span class="sourceLineNo">832</span>    *    
&lt;li&gt;&lt;b&gt;Session-overridable:&lt;/b&gt; &lt;jk&gt;true&lt;/jk&gt;<a 
name="line.832"></a>
+<span class="sourceLineNo">833</span>    * &lt;/ul&gt;<a name="line.833"></a>
+<span class="sourceLineNo">834</span>    *<a name="line.834"></a>
+<span class="sourceLineNo">835</span>    * &lt;p&gt;<a name="line.835"></a>
+<span class="sourceLineNo">836</span>    * Used in the in the {@link 
BeanSession#convertToType(Object, Class)} method.<a name="line.836"></a>
+<span class="sourceLineNo">837</span>    */<a name="line.837"></a>
+<span class="sourceLineNo">838</span>   public static final String 
BEAN_timeZone = "BeanContext.timeZone";<a name="line.838"></a>
+<span class="sourceLineNo">839</span><a name="line.839"></a>
+<span class="sourceLineNo">840</span>   /**<a name="line.840"></a>
+<span class="sourceLineNo">841</span>    * &lt;b&gt;Configuration 
property:&lt;/b&gt;  Media type.<a name="line.841"></a>
+<span class="sourceLineNo">842</span>    *<a name="line.842"></a>
+<span class="sourceLineNo">843</span>    * &lt;ul&gt;<a name="line.843"></a>
+<span class="sourceLineNo">844</span>    *    
&lt;li&gt;&lt;b&gt;Name:&lt;/b&gt; 
&lt;js&gt;"BeanContext.mediaType"&lt;/js&gt;<a name="line.844"></a>
+<span class="sourceLineNo">845</span>    *    &lt;li&gt;&lt;b&gt;Data 
type:&lt;/b&gt; &lt;code&gt;MediaType&lt;/code&gt;<a name="line.845"></a>
+<span class="sourceLineNo">846</span>    *    
&lt;li&gt;&lt;b&gt;Default:&lt;/b&gt; &lt;jk&gt;null&lt;/jk&gt;<a 
name="line.846"></a>
+<span class="sourceLineNo">847</span>    *    
&lt;li&gt;&lt;b&gt;Session-overridable:&lt;/b&gt; &lt;jk&gt;true&lt;/jk&gt;<a 
name="line.847"></a>
+<span class="sourceLineNo">848</span>    * &lt;/ul&gt;<a name="line.848"></a>
+<span class="sourceLineNo">849</span>    *<a name="line.849"></a>
+<span class="sourceLineNo">850</span>    * &lt;p&gt;<a name="line.850"></a>
+<span class="sourceLineNo">851</span>    * Specifies a default media type 
value for serializer and parser sessions.<a name="line.851"></a>
+<span class="sourceLineNo">852</span>    */<a name="line.852"></a>
+<span class="sourceLineNo">853</span>   public static final String 
BEAN_mediaType = "BeanContext.mediaType";<a name="line.853"></a>
+<span class="sourceLineNo">854</span><a name="line.854"></a>
+<span class="sourceLineNo">855</span>   /**<a name="line.855"></a>
+<span class="sourceLineNo">856</span>    * &lt;b&gt;Configuration 
property:&lt;/b&gt;  Debug mode.<a name="line.856"></a>
+<span class="sourceLineNo">857</span>    *<a name="line.857"></a>
+<span class="sourceLineNo">858</span>    * &lt;ul&gt;<a name="line.858"></a>
+<span class="sourceLineNo">859</span>    *    
&lt;li&gt;&lt;b&gt;Name:&lt;/b&gt; &lt;js&gt;"BeanContext.debug"&lt;/js&gt;<a 
name="line.859"></a>
+<span class="sourceLineNo">860</span>    *    &lt;li&gt;&lt;b&gt;Data 
type:&lt;/b&gt; &lt;code&gt;Boolean&lt;/code&gt;<a name="line.860"></a>
+<span class="sourceLineNo">861</span>    *    
&lt;li&gt;&lt;b&gt;Default:&lt;/b&gt; &lt;jk&gt;false&lt;/jk&gt;<a 
name="line.861"></a>
+<span class="sourceLineNo">862</span>    *    
&lt;li&gt;&lt;b&gt;Session-overridable:&lt;/b&gt; &lt;jk&gt;true&lt;/jk&gt;<a 
name="line.862"></a>
+<span class="sourceLineNo">863</span>    * &lt;/ul&gt;<a name="line.863"></a>
+<span class="sourceLineNo">864</span>    *<a name="line.864"></a>
+<span class="sourceLineNo">865</span>    * &lt;p&gt;<a name="line.865"></a>
+<span class="sourceLineNo">866</span>    * Enables the following additional 
information during serialization:<a name="line.866"></a>
+<span class="sourceLineNo">867</span>    * &lt;ul class='spaced-list'&gt;<a 
name="line.867"></a>
+<span class="sourceLineNo">868</span>    *    &lt;li&gt;<a name="line.868"></a>
+<span class="sourceLineNo">869</span>    *       When bean getters throws 
exceptions, the exception includes the object stack information<a 
name="line.869"></a>
+<span class="sourceLineNo">870</span>    *       in order to determine how 
that method was invoked.<a name="line.870"></a>
+<span class="sourceLineNo">871</span>    *    &lt;li&gt;<a name="line.871"></a>
+<span class="sourceLineNo">872</span>    *       Enables {@link 
SerializerContext#SERIALIZER_detectRecursions}.<a name="line.872"></a>
+<span class="sourceLineNo">873</span>    * &lt;/ul&gt;<a name="line.873"></a>
+<span class="sourceLineNo">874</span>    *<a name="line.874"></a>
+<span class="sourceLineNo">875</span>    * &lt;p&gt;<a name="line.875"></a>
+<span class="sourceLineNo">876</span>    * Enables the following additional 
information during parsing:<a name="line.876"></a>
+<span class="sourceLineNo">877</span>    * &lt;ul class='spaced-list'&gt;<a 
name="line.877"></a>
+<span class="sourceLineNo">878</span>    *    &lt;li&gt;<a name="line.878"></a>
+<span class="sourceLineNo">879</span>    *       When bean setters throws 
exceptions, the exception includes the object stack information<a 
name="line.879"></a>
+<span class="sourceLineNo">880</span>    *       in order to determine how 
that method was invoked.<a name="line.880"></a>
+<span class="sourceLineNo">881</span>    * &lt;/ul&gt;<a name="line.881"></a>
+<span class="sourceLineNo">882</span>    */<a name="line.882"></a>
+<span class="sourceLineNo">883</span>   public static final String BEAN_debug 
= "BeanContext.debug";<a name="line.883"></a>
+<span class="sourceLineNo">884</span><a name="line.884"></a>
+<span class="sourceLineNo">885</span>   /*<a name="line.885"></a>
+<span class="sourceLineNo">886</span>    * The default package pattern 
exclusion list.<a name="line.886"></a>
+<span class="sourceLineNo">887</span>    * Any beans in packages in this list 
will not be considered beans.<a name="line.887"></a>
+<span class="sourceLineNo">888</span>    */<a name="line.888"></a>
+<span class="sourceLineNo">889</span>   private static final String[] 
DEFAULT_NOTBEAN_PACKAGES = {<a name="line.889"></a>
+<span class="sourceLineNo">890</span>      "java.lang",<a name="line.890"></a>
+<span class="sourceLineNo">891</span>      "java.lang.annotation",<a 
name="line.891"></a>
+<span class="sourceLineNo">892</span>      "java.lang.ref",<a 
name="line.892"></a>
+<span class="sourceLineNo">893</span>      "java.lang.reflect",<a 
name="line.893"></a>
+<span class="sourceLineNo">894</span>      "java.io",<a name="line.894"></a>
+<span class="sourceLineNo">895</span>      "java.net",<a name="line.895"></a>
+<span class="sourceLineNo">896</span>      "java.nio.*",<a name="line.896"></a>
+<span class="sourceLineNo">897</span>      "java.util.*"<a name="line.897"></a>
+<span class="sourceLineNo">898</span>   };<a name="line.898"></a>
+<span class="sourceLineNo">899</span><a name="line.899"></a>
+<span class="sourceLineNo">900</span>   /*<a name="line.900"></a>
+<span class="sourceLineNo">901</span>    * The default bean class exclusion 
list.<a name="line.901"></a>
+<span class="sourceLineNo">902</span>    * Anything in this list will not be 
considered beans.<a name="line.902"></a>
+<span class="sourceLineNo">903</span>    */<a name="line.903"></a>
+<span class="sourceLineNo">904</span>   private static final Class&lt;?&gt;[] 
DEFAULT_NOTBEAN_CLASSES = {<a name="line.904"></a>
+<span class="sourceLineNo">905</span>      Map.class,<a name="line.905"></a>
+<span class="sourceLineNo">906</span>      Collection.class,<a 
name="line.906"></a>
+<span class="sourceLineNo">907</span>      Reader.class,<a name="line.907"></a>
+<span class="sourceLineNo">908</span>      Writer.class,<a name="line.908"></a>
+<span class="sourceLineNo">909</span>      InputStream.class,<a 
name="line.909"></a>
+<span class="sourceLineNo">910</span>      OutputStream.class,<a 
name="line.910"></a>
+<span class="sourceLineNo">911</span>      Throwable.class<a 
name="line.911"></a>
+<span class="sourceLineNo">912</span>   };<a name="line.912"></a>
+<span class="sourceLineNo">913</span><a name="line.913"></a>
 <span class="sourceLineNo">914</span><a name="line.914"></a>
-<span class="sourceLineNo">915</span><a name="line.915"></a>
-<span class="sourceLineNo">916</span>   // This map is important!<a 
name="line.916"></a>
-<span class="sourceLineNo">917</span>   // We may have many ConfigFactory 
objects that have identical BeanContext properties.<a name="line.917"></a>
-<span class="sourceLineNo">918</span>   // This map ensures that if the 
BeanContext properties in the ConfigFactory are the same,<a name="line.918"></a>
-<span class="sourceLineNo">919</span>   // then we reuse the same 
Class-&gt;ClassMeta cache map.<a name="line.919"></a>
-<span class="sourceLineNo">920</span>   // This significantly reduces the 
number of times we need to construct ClassMeta objects which can be 
expensive.<a name="line.920"></a>
-<span class="sourceLineNo">921</span>   private static final 
ConcurrentHashMap&lt;Integer,Map&lt;Class,ClassMeta&gt;&gt; cmCacheCache<a 
name="line.921"></a>
-<span class="sourceLineNo">922</span>      = new 
ConcurrentHashMap&lt;Integer,Map&lt;Class,ClassMeta&gt;&gt;();<a 
name="line.922"></a>
-<span class="sourceLineNo">923</span><a name="line.923"></a>
-<span class="sourceLineNo">924</span>   /** Default config.  All default 
settings. */<a name="line.924"></a>
-<span class="sourceLineNo">925</span>   public static final BeanContext 
DEFAULT = PropertyStore.create().getContext(BeanContext.class);<a 
name="line.925"></a>
-<span class="sourceLineNo">926</span><a name="line.926"></a>
-<span class="sourceLineNo">927</span>   /** Default config.  All default 
settings except sort bean properties. */<a name="line.927"></a>
-<span class="sourceLineNo">928</span>   public static final BeanContext 
DEFAULT_SORTED = PropertyStore.create().setProperty(BEAN_sortProperties, 
true).getContext(BeanContext.class);<a name="line.928"></a>
-<span class="sourceLineNo">929</span><a name="line.929"></a>
-<span class="sourceLineNo">930</span>   final boolean<a name="line.930"></a>
-<span class="sourceLineNo">931</span>      beansRequireDefaultConstructor,<a 
name="line.931"></a>
-<span class="sourceLineNo">932</span>      beansRequireSerializable,<a 
name="line.932"></a>
-<span class="sourceLineNo">933</span>      beansRequireSettersForGetters,<a 
name="line.933"></a>
-<span class="sourceLineNo">934</span>      beansRequireSomeProperties,<a 
name="line.934"></a>
-<span class="sourceLineNo">935</span>      beanMapPutReturnsOldValue,<a 
name="line.935"></a>
-<span class="sourceLineNo">936</span>      useInterfaceProxies,<a 
name="line.936"></a>
-<span class="sourceLineNo">937</span>      ignoreUnknownBeanProperties,<a 
name="line.937"></a>
-<span class="sourceLineNo">938</span>      ignoreUnknownNullBeanProperties,<a 
name="line.938"></a>
-<span class="sourceLineNo">939</span>      ignorePropertiesWithoutSetters,<a 
name="line.939"></a>
-<span class="sourceLineNo">940</span>      
ignoreInvocationExceptionsOnGetters,<a name="line.940"></a>
-<span class="sourceLineNo">941</span>      
ignoreInvocationExceptionsOnSetters,<a name="line.941"></a>
-<span class="sourceLineNo">942</span>      useJavaBeanIntrospector,<a 
name="line.942"></a>
-<span class="sourceLineNo">943</span>      sortProperties,<a 
name="line.943"></a>
-<span class="sourceLineNo">944</span>      debug;<a name="line.944"></a>
-<span class="sourceLineNo">945</span><a name="line.945"></a>
-<span class="sourceLineNo">946</span>   final Visibility<a name="line.946"></a>
-<span class="sourceLineNo">947</span>      beanConstructorVisibility,<a 
name="line.947"></a>
-<span class="sourceLineNo">948</span>      beanClassVisibility,<a 
name="line.948"></a>
-<span class="sourceLineNo">949</span>      beanMethodVisibility,<a 
name="line.949"></a>
-<span class="sourceLineNo">950</span>      beanFieldVisibility;<a 
name="line.950"></a>
-<span class="sourceLineNo">951</span><a name="line.951"></a>
-<span class="sourceLineNo">952</span>   final Class&lt;?&gt;[] notBeanClasses, 
beanDictionaryClasses;<a name="line.952"></a>
-<span class="sourceLineNo">953</span>   final String[] notBeanPackageNames, 
notBeanPackagePrefixes;<a name="line.953"></a>
-<span class="sourceLineNo">954</span>   final BeanFilter[] beanFilters;<a 
name="line.954"></a>
-<span class="sourceLineNo">955</span>   final PojoSwap&lt;?,?&gt;[] 
pojoSwaps;<a name="line.955"></a>
-<span class="sourceLineNo">956</span>   final BeanRegistry beanRegistry;<a 
name="line.956"></a>
-<span class="sourceLineNo">957</span>   final 
Map&lt;Class&lt;?&gt;,Class&lt;?&gt;&gt; implClasses;<a name="line.957"></a>
-<span class="sourceLineNo">958</span>   final Class&lt;?&gt;[] implKeyClasses, 
implValueClasses;<a name="line.958"></a>
-<span class="sourceLineNo">959</span>   final ClassLoader classLoader;<a 
name="line.959"></a>
-<span class="sourceLineNo">960</span>   final Locale locale;<a 
name="line.960"></a>
-<span class="sourceLineNo">961</span>   final TimeZone timeZone;<a 
name="line.961"></a>
-<span class="sourceLineNo">962</span>   final MediaType mediaType;<a 
name="line.962"></a>
-<span class="sourceLineNo">963</span>   final Map&lt;String,String[]&gt; 
includeProperties, excludeProperties;<a name="line.963"></a>
-<span class="sourceLineNo">964</span><a name="line.964"></a>
-<span class="sourceLineNo">965</span>   final Map&lt;Class,ClassMeta&gt; 
cmCache;<a name="line.965"></a>
-<span class="sourceLineNo">966</span>   final ClassMeta&lt;Object&gt; 
cmObject;  // Reusable ClassMeta that represents general Objects.<a 
name="line.966"></a>
-<span class="sourceLineNo">967</span>   final ClassMeta&lt;String&gt; 
cmString;  // Reusable ClassMeta that represents general Strings.<a 
name="line.967"></a>
-<span class="sourceLineNo">968</span>   final ClassMeta&lt;Class&gt; cmClass;  
// Reusable ClassMeta that represents general Classes.<a name="line.968"></a>
+<span class="sourceLineNo">915</span>   static final void 
loadDefaults(PropertyStore config) {<a name="line.915"></a>
+<span class="sourceLineNo">916</span>      
config.setProperty(BEAN_notBeanPackages, DEFAULT_NOTBEAN_PACKAGES);<a 
name="line.916"></a>
+<span class="sourceLineNo">917</span>      
config.setProperty(BEAN_notBeanClasses, DEFAULT_NOTBEAN_CLASSES);<a 
name="line.917"></a>
+<span class="sourceLineNo">918</span>   }<a name="line.918"></a>
+<span class="sourceLineNo">919</span><a name="line.919"></a>
+<span class="sourceLineNo">920</span><a name="line.920"></a>
+<span class="sourceLineNo">921</span>   // This map is important!<a 
name="line.921"></a>
+<span class="sourceLineNo">922</span>   // We may have many ConfigFactory 
objects that have identical BeanContext properties.<a name="line.922"></a>
+<span class="sourceLineNo">923</span>   // This map ensures that if the 
BeanContext properties in the ConfigFactory are the same,<a name="line.923"></a>
+<span class="sourceLineNo">924</span>   // then we reuse the same 
Class-&gt;ClassMeta cache map.<a name="line.924"></a>
+<span class="sourceLineNo">925</span>   // This significantly reduces the 
number of times we need to construct ClassMeta objects which can be 
expensive.<a name="line.925"></a>
+<span class="sourceLineNo">926</span>   private static final 
ConcurrentHashMap&lt;Integer,Map&lt;Class,ClassMeta&gt;&gt; cmCacheCache<a 
name="line.926"></a>
+<span class="sourceLineNo">927</span>      = new 
ConcurrentHashMap&lt;Integer,Map&lt;Class,ClassMeta&gt;&gt;();<a 
name="line.927"></a>
+<span class="sourceLineNo">928</span><a name="line.928"></a>
+<span class="sourceLineNo">929</span>   /** Default config.  All default 
settings. */<a name="line.929"></a>
+<span class="sourceLineNo">930</span>   public static final BeanContext 
DEFAULT = PropertyStore.create().getContext(BeanContext.class);<a 
name="line.930"></a>
+<span class="sourceLineNo">931</span><a name="line.931"></a>
+<span class="sourceLineNo">932</span>   /** Default config.  All default 
settings except sort bean properties. */<a name="line.932"></a>
+<span class="sourceLineNo">933</span>   public static final BeanContext 
DEFAULT_SORTED = PropertyStore.create().setProperty(BEAN_sortProperties, 
true).getContext(BeanContext.class);<a name="line.933"></a>
+<span class="sourceLineNo">934</span><a name="line.934"></a>
+<span class="sourceLineNo">935</span>   final boolean<a name="line.935"></a>
+<span class="sourceLineNo">936</span>      beansRequireDefaultConstructor,<a 
name="line.936"></a>
+<span class="sourceLineNo">937</span>      beansRequireSerializable,<a 
name="line.937"></a>
+<span class="sourceLineNo">938</span>      beansRequireSettersForGetters,<a 
name="line.938"></a>
+<span class="sourceLineNo">939</span>      beansRequireSomeProperties,<a 
name="line.939"></a>
+<span class="sourceLineNo">940</span>      beanMapPutReturnsOldValue,<a 
name="line.940"></a>
+<span class="sourceLineNo">941</span>      useInterfaceProxies,<a 
name="line.941"></a>
+<span class="sourceLineNo">942</span>      ignoreUnknownBeanProperties,<a 
name="line.942"></a>
+<span class="sourceLineNo">943</span>      ignoreUnknownNullBeanProperties,<a 
name="line.943"></a>
+<span class="sourceLineNo">944</span>      ignorePropertiesWithoutSetters,<a 
name="line.944"></a>
+<span class="sourceLineNo">945</span>      
ignoreInvocationExceptionsOnGetters,<a name="line.945"></a>
+<span class="sourceLineNo">946</span>      
ignoreInvocationExceptionsOnSetters,<a name="line.946"></a>
+<span class="sourceLineNo">947</span>      useJavaBeanIntrospector,<a 
name="line.947"></a>
+<span class="sourceLineNo">948</span>      sortProperties,<a 
name="line.948"></a>
+<span class="sourceLineNo">949</span>      debug;<a name="line.949"></a>
+<span class="sourceLineNo">950</span><a name="line.950"></a>
+<span class="sourceLineNo">951</span>   final Visibility<a name="line.951"></a>
+<span class="sourceLineNo">952</span>      beanConstructorVisibility,<a 
name="line.952"></a>
+<span class="sourceLineNo">953</span>      beanClassVisibility,<a 
name="line.953"></a>
+<span class="sourceLineNo">954</span>      beanMethodVisibility,<a 
name="line.954"></a>
+<span class="sourceLineNo">955</span>      beanFieldVisibility;<a 
name="line.955"></a>
+<span class="sourceLineNo">956</span><a name="line.956"></a>
+<span class="sourceLineNo">957</span>   final Class&lt;?&gt;[] notBeanClasses, 
beanDictionaryClasses;<a name="line.957"></a>
+<span class="sourceLineNo">958</span>   final String[] notBeanPackageNames, 
notBeanPackagePrefixes;<a name="line.958"></a>
+<span class="sourceLineNo">959</span>   final BeanFilter[] beanFilters;<a 
name="line.959"></a>
+<span class="sourceLineNo">960</span>   final PojoSwap&lt;?,?&gt;[] 
pojoSwaps;<a name="line.960"></a>
+<span class="sourceLineNo">961</span>   final BeanRegistry beanRegistry;<a 
name="line.961"></a>
+<span class="sourceLineNo">962</span>   final 
Map&lt;Class&lt;?&gt;,Class&lt;?&gt;&gt; implClasses;<a name="line.962"></a>
+<span class="sourceLineNo">963</span>   final Class&lt;?&gt;[] implKeyClasses, 
implValueClasses;<a name="line.963"></a>
+<span class="sourceLineNo">964</span>   final ClassLoader classLoader;<a 
name="line.964"></a>
+<span class="sourceLineNo">965</span>   final Locale locale;<a 
name="line.965"></a>
+<span class="sourceLineNo">966</span>   final TimeZone timeZone;<a 
name="line.966"></a>
+<span class="sourceLineNo">967</span>   final MediaType mediaType;<a 
name="line.967"></a>
+<span class="sourceLineNo">968</span>   final Map&lt;String,String[]&gt; 
includeProperties, excludeProperties;<a name="line.968"></a>
 <span class="sourceLineNo">969</span><a name="line.969"></a>
-<span class="sourceLineNo">970</span>   // Optional default parser set by 
setDefaultParser().<a name="line.970"></a>
-<span class="sourceLineNo">971</span>   final ReaderParser defaultParser;<a 
name="line.971"></a>
-<span class="sourceLineNo">972</span><a name="line.972"></a>
-<span class="sourceLineNo">973</span>   final String beanTypePropertyName;<a 
name="line.973"></a>
+<span class="sourceLineNo">970</span>   final Map&lt;Class,ClassMeta&gt; 
cmCache;<a name="line.970"></a>
+<span class="sourceLineNo">971</span>   final ClassMeta&lt;Object&gt; 
cmObject;  // Reusable ClassMeta that represents general Objects.<a 
name="line.971"></a>
+<span class="sourceLineNo">972</span>   final ClassMeta&lt;String&gt; 
cmString;  // Reusable ClassMeta that represents general Strings.<a 
name="line.972"></a>
+<span class="sourceLineNo">973</span>   final ClassMeta&lt;Class&gt; cmClass;  
// Reusable ClassMeta that represents general Classes.<a name="line.973"></a>
 <span class="sourceLineNo">974</span><a name="line.974"></a>
-<span class="sourceLineNo">975</span>   final int hashCode;<a 
name="line.975"></a>
-<span class="sourceLineNo">976</span><a name="line.976"></a>
-<span class="sourceLineNo">977</span>   /**<a name="line.977"></a>
-<span class="sourceLineNo">978</span>    * Constructor.<a name="line.978"></a>
-<span class="sourceLineNo">979</span>    *<a name="line.979"></a>
-<span class="sourceLineNo">980</span>    * &lt;p&gt;<a name="line.980"></a>
-<span class="sourceLineNo">981</span>    * Typically only called from {@link 
PropertyStore#getContext(Class)} or {@link PropertyStore#getBeanContext()}.<a 
name="line.981"></a>
-<span class="sourceLineNo">982</span>    *<a name="line.982"></a>
-<span class="sourceLineNo">983</span>    * @param ps The property store that 
created this context.<a name="line.983"></a>
-<span class="sourceLineNo">984</span>    */<a name="line.984"></a>
-<span class="sourceLineNo">985</span>   public BeanContext(PropertyStore ps) 
{<a name="line.985"></a>
-<span class="sourceLineNo">986</span>      super(ps);<a name="line.986"></a>
-<span class="sourceLineNo">987</span><a name="line.987"></a>
-<span class="sourceLineNo">988</span>      PropertyStore.PropertyMap pm = 
ps.getPropertyMap("BeanContext");<a name="line.988"></a>
-<span class="sourceLineNo">989</span>      hashCode = pm.hashCode();<a 
name="line.989"></a>
-<span class="sourceLineNo">990</span>      classLoader = ps.classLoader;<a 
name="line.990"></a>
-<span class="sourceLineNo">991</span>      defaultParser = ps.defaultParser;<a 
name="line.991"></a>
+<span class="sourceLineNo">975</span>   // Optional default parser set by 
setDefaultParser().<a name="line.975"></a>
+<span class="sourceLineNo">976</span>   final ReaderParser defaultParser;<a 
name="line.976"></a>
+<span class="sourceLineNo">977</span><a name="line.977"></a>
+<span class="sourceLineNo">978</span>   final String beanTypePropertyName;<a 
name="line.978"></a>
+<span class="sourceLineNo">979</span><a name="line.979"></a>
+<span class="sourceLineNo">980</span>   final int hashCode;<a 
name="line.980"></a>
+<span class="sourceLineNo">981</span><a name="line.981"></a>
+<span class="sourceLineNo">982</span>   /**<a name="line.982"></a>
+<span class="sourceLineNo">983</span>    * Constructor.<a name="line.983"></a>
+<span class="sourceLineNo">984</span>    *<a name="line.984"></a>
+<span class="sourceLineNo">985</span>    * &lt;p&gt;<a name="line.985"></a>
+<span class="sourceLineNo">986</span>    * Typically only called from {@link 
PropertyStore#getContext(Class)} or {@link PropertyStore#getBeanContext()}.<a 
name="line.986"></a>
+<span class="sourceLineNo">987</span>    *<a name="line.987"></a>
+<span class="sourceLineNo">988</span>    * @param ps The property store that 
created this context.<a name="line.988"></a>
+<span class="sourceLineNo">989</span>    */<a name="line.989"></a>
+<span class="sourceLineNo">990</span>   public BeanContext(PropertyStore ps) 
{<a name="line.990"></a>
+<span class="sourceLineNo">991</span>      super(ps);<a name="line.991"></a>
 <span class="sourceLineNo">992</span><a name="line.992"></a>
-<span class="sourceLineNo">993</span>      beansRequireDefaultConstructor = 
pm.get(BEAN_beansRequireDefaultConstructor, boolean.class, false);<a 
name="line.993"></a>
-<span class="sourceLineNo">994</span>      beansRequireSerializable = 
pm.get(BEAN_beansRequireSerializable, boolean.class, false);<a 
name="line.994"></a>
-<span class="sourceLineNo">995</span>      beansRequireSettersForGetters = 
pm.get(BEAN_beansRequireSettersForGetters, boolean.class, false);<a 
name="line.995"></a>
-<span class="sourceLineNo">996</span>      beansRequireSomeProperties = 
pm.get(BEAN_beansRequireSomeProperties, boolean.class, true);<a 
name="line.996"></a>
-<span class="sourceLineNo">997</span>      beanMapPutReturnsOldValue = 
pm.get(BEAN_beanMapPutReturnsOldValue, boolean.class, false);<a 
name="line.997"></a>
-<span class="sourceLineNo">998</span>      useInterfaceProxies = 
pm.get(BEAN_useInterfaceProxies, boolean.class, true);<a name="line.998"></a>
-<span class="sourceLineNo">999</span>      ignoreUnknownBeanProperties = 
pm.get(BEAN_ignoreUnknownBeanProperties, boolean.class, false);<a 
name="line.999"></a>
-<span class="sourceLineNo">1000</span>      ignoreUnknownNullBeanProperties = 
pm.get(BEAN_ignoreUnknownNullBeanProperties, boolean.class, true);<a 
name="line.1000"></a>
-<span class="sourceLineNo">1001</span>      ignorePropertiesWithoutSetters = 
pm.get(BEAN_ignorePropertiesWithoutSetters, boolean.class, true);<a 
name="line.1001"></a>
-<span class="sourceLineNo">1002</span>      
ignoreInvocationExceptionsOnGetters = 
pm.get(BEAN_ignoreInvocationExceptionsOnGetters, boolean.class, false);<a 
name="line.1002"></a>
-<span class="sourceLineNo">1003</span>      
ignoreInvocationExceptionsOnSetters = 
pm.get(BEAN_ignoreInvocationExceptionsOnSetters, boolean.class, false);<a 
name="line.1003"></a>
-<span class="sourceLineNo">1004</span>      useJavaBeanIntrospector = 
pm.get(BEAN_useJavaBeanIntrospector, boolean.class, false);<a 
name="line.1004"></a>
-<span class="sourceLineNo">1005</span>      sortProperties = 
pm.get(BEAN_sortProperties, boolean.class, false);<a name="line.1005"></a>
-<span class="sourceLineNo">1006</span>      beanTypePropertyName = 
pm.get(BEAN_beanTypePropertyName, String.class, "_type");<a 
name="line.1006"></a>
-<span class="sourceLineNo">1007</span>      debug = ps.getProperty(BEAN_debug, 
boolean.class, false);<a name="line.1007"></a>
-<span class="sourceLineNo">1008</span><a name="line.1008"></a>
-<span class="sourceLineNo">1009</span>      beanConstructorVisibility = 
pm.get(BEAN_beanConstructorVisibility, Visibility.class, PUBLIC);<a 
name="line.1009"></a>
-<span class="sourceLineNo">1010</span>      beanClassVisibility = 
pm.get(BEAN_beanClassVisibility, Visibility.class, PUBLIC);<a 
name="line.1010"></a>
-<span class="sourceLineNo">1011</span>      beanMethodVisibility = 
pm.get(BEAN_methodVisibility, Visibility.class, PUBLIC);<a name="line.1011"></a>
-<span class="sourceLineNo">1012</span>      beanFieldVisibility = 
pm.get(BEAN_beanFieldVisibility, Visibility.class, PUBLIC);<a 
name="line.1012"></a>
+<span class="sourceLineNo">993</span>      PropertyStore.PropertyMap pm = 
ps.getPropertyMap("BeanContext");<a name="line.993"></a>
+<span class="sourceLineNo">994</span>      hashCode = pm.hashCode();<a 
name="line.994"></a>
+<span class="sourceLineNo">995</span>      classLoader = ps.classLoader;<a 
name="line.995"></a>
+<span class="sourceLineNo">996</span>      defaultParser = ps.defaultParser;<a 
name="line.996"></a>
+<span class="sourceLineNo">997</span><a name="line.997"></a>
+<span class="sourceLineNo">998</span>      beansRequireDefaultConstructor = 
pm.get(BEAN_beansRequireDefaultConstructor, boolean.class, false);<a 
name="line.998"></a>
+<span class="sourceLineNo">999</span>      beansRequireSerializable = 
pm.get(BEAN_beansRequireSerializable, boolean.class, false);<a 
name="line.999"></a>
+<span class="sourceLineNo">1000</span>      beansRequireSettersForGetters = 
pm.get(BEAN_beansRequireSettersForGetters, boolean.class, false);<a 
name="line.1000"></a>
+<span class="sourceLineNo">1001</span>      beansRequireSomeProperties = 
pm.get(BEAN_beansRequireSomeProperties, boolean.class, true);<a 
name="line.1001"></a>
+<span class="sourceLineNo">1002</span>      beanMapPutReturnsOldValue = 
pm.get(BEAN_beanMapPutReturnsOldValue, boolean.class, false);<a 
name="line.1002"></a>
+<span class="sourceLineNo">1003</span>      useInterfaceProxies = 
pm.get(BEAN_useInterfaceProxies, boolean.class, true);<a name="line.1003"></a>
+<span class="sourceLineNo">1004</span>      ignoreUnknownBeanProperties = 
pm.get(BEAN_ignoreUnknownBeanProperties, boolean.class, false);<a 
name="line.1004"></a>
+<span class="sourceLineNo">1005</span>      ignoreUnknownNullBeanProperties = 
pm.get(BEAN_ignoreUnknownNullBeanProperties, boolean.class, true);<a 
name="line.1005"></a>
+<span class="sourceLineNo">1006</span>      ignorePropertiesWithoutSetters = 
pm.get(BEAN_ignorePropertiesWithoutSetters, boolean.class, true);<a 
name="line.1006"></a>
+<span class="sourceLineNo">1007</span>      
ignoreInvocationExceptionsOnGetters = 
pm.get(BEAN_ignoreInvocationExceptionsOnGetters, boolean.class, false);<a 
name="line.1007"></a>
+<span class="sourceLineNo">1008</span>      
ignoreInvocationExceptionsOnSetters = 
pm.get(BEAN_ignoreInvocationExceptionsOnSetters, boolean.class, false);<a 
name="line.1008"></a>
+<span class="sourceLineNo">1009</span>      useJavaBeanIntrospector = 
pm.get(BEAN_useJavaBeanIntrospector, boolean.class, false);<a 
name="line.1009"></a>
+<span class="sourceLineNo">1010</span>      sortProperties = 
pm.get(BEAN_sortProperties, boolean.class, false);<a name="line.1010"></a>
+<span class="sourceLineNo">1011</span>      beanTypePropertyName = 
pm.get(BEAN_beanTypePropertyName, String.class, "_type");<a 
name="line.1011"></a>
+<span class="sourceLineNo">1012</span>      debug = ps.getProperty(BEAN_debug, 
boolean.class, false);<a name="line.1012"></a>
 <span class="sourceLineNo">1013</span><a name="line.1013"></a>
-<span class="sourceLineNo">1014</span>      notBeanClasses = 
pm.get(BEAN_notBeanClasses, Class[].class, new Class[0]);<a 
name="line.1014"></a>
-<span class="sourceLineNo">1015</span><a name="line.1015"></a>
-<span class="sourceLineNo">1016</span>      List&lt;String&gt; l1 = new 
LinkedList&lt;String&gt;();<a name="line.1016"></a>
-<span class="sourceLineNo">1017</span>      List&lt;String&gt; l2 = new 
LinkedList&lt;String&gt;();<a name="line.1017"></a>
-<span class="sourceLineNo">1018</span>      for (String s : 
pm.get(BEAN_notBeanPackages, String[].class, new String[0])) {<a 
name="line.1018"></a>
-<span class="sourceLineNo">1019</span>         if (s.endsWith(".*"))<a 
name="line.1019"></a>
-<span class="sourceLineNo">1020</span>            l2.add(s.substring(0, 
s.length()-2));<a name="line.1020"></a>
-<span class="sourceLineNo">1021</span>         else<a name="line.1021"></a>
-<span class="sourceLineNo">1022</span>            l1.add(s);<a 
name="line.1022"></a>
-<span class="sourceLineNo">1023</span>      }<a name="line.1023"></a>
-<span class="sourceLineNo">1024</span>      notBeanPackageNames = 
l1.toArray(new String[l1.size()]);<a name="line.1024"></a>
-<span class="sourceLineNo">1025</span>      notBeanPackagePrefixes = 
l2.toArray(new String[l2.size()]);<a name="line.1025"></a>
-<span class="sourceLineNo">1026</span><a name="line.1026"></a>
-<span class="sourceLineNo">1027</span>      LinkedList&lt;BeanFilter&gt; lbf = 
new LinkedList&lt;BeanFilter&gt;();<a name="line.1027"></a>
-<span class="sourceLineNo">1028</span>      for (Class&lt;?&gt; c : 
pm.get(BEAN_beanFilters, Class[].class, new Class[0])) {<a name="line.1028"></a>
-<span class="sourceLineNo">1029</span>         if 
(isParentClass(BeanFilter.class, c))<a name="line.1029"></a>
-<span class="sourceLineNo">1030</span>            
lbf.add(newInstance(BeanFilter.class, c));<a name="line.1030"></a>
-<span class="sourceLineNo">1031</span>         else if 
(isParentClass(BeanFilterBuilder.class, c))<a name="line.1031"></a>
-<span class="sourceLineNo">1032</span>            
lbf.add(newInstance(BeanFilterBuilder.class, c).build());<a 
name="line.1032"></a>
-<span class="sourceLineNo">1033</span>         else<a name="line.1033"></a>
-<span class="sourceLineNo">1034</span>            lbf.add(new 
InterfaceBeanFilterBuilder(c).build());<a name="line.1034"></a>
-<span class="sourceLineNo">1035</span>      }<a name="line.1035"></a>
-<span class="sourceLineNo">1036</span>      beanFilters = lbf.toArray(new 
BeanFilter[0]);<a name="line.1036"></a>
-<span class="sourceLineNo">1037</span><a name="line.1037"></a>
-<span class="sourceLineNo">1038</span>      
LinkedList&lt;PojoSwap&lt;?,?&gt;&gt; lpf = new 
LinkedList&lt;PojoSwap&lt;?,?&gt;&gt;();<a name="line.1038"></a>
-<span class="sourceLineNo">1039</span>      for (Class&lt;?&gt; c : 
pm.get(BEAN_pojoSwaps, Class[].class, new Class[0])) {<a name="line.1039"></a>
-<span class="sourceLineNo">1040</span>         if 
(isParentClass(PojoSwap.class, c))<a name="line.1040"></a>
-<span class="sourceLineNo">1041</span>            
lpf.add(newInstance(PojoSwap.class, c));<a name="line.1041"></a>
-<span class="sourceLineNo">1042</span>         else<a name="line.1042"></a>
-<span class="sourceLineNo">1043</span>            
lpf.addAll(SurrogateSwap.findPojoSwaps(c));<a name="line.1043"></a>
-<span class="sourceLineNo">1044</span>      }<a name="line.1044"></a>
-<span class="sourceLineNo">1045</span>      pojoSwaps = lpf.toArray(new 
PojoSwap[0]);<a name="line.1045"></a>
-<span class="sourceLineNo">1046</span><a name="line.1046"></a>
-<span class="sourceLineNo">1047</span>      implClasses = new 
TreeMap&lt;Class&lt;?&gt;,Class&lt;?&gt;&gt;(new ClassComparator());<a 
name="line.1047"></a>
-<span class="sourceLineNo">1048</span>      Map&lt;Class,Class&gt; m = 
pm.getMap(BEAN_implClasses, Class.class, Class.class, null);<a 
name="line.1048"></a>
-<span class="sourceLineNo">1049</span>      if (m != null)<a 
name="line.1049"></a>
-<span class="sourceLineNo">1050</span>         for 
(Map.Entry&lt;Class,Class&gt; e : m.entrySet())<a name="line.1050"></a>
-<span class="sourceLineNo">1051</span>            implClasses.put(e.getKey(), 
e.getValue());<a name="line.1051"></a>
-<span class="sourceLineNo">1052</span>      implKeyClasses = 
implClasses.keySet().toArray(new Class[0]);<a name="line.1052"></a>
-<span class="sourceLineNo">1053</span>      implValueClasses = 
implClasses.values().toArray(new Class[0]);<a name="line.1053"></a>
-<span class="sourceLineNo">1054</span><a name="line.1054"></a>
-<span class="sourceLineNo">1055</span>      Map&lt;String,String[]&gt; m2 = 
pm.getMap(BEAN_includeProperties, String.class, String[].class, null);<a 
name="line.1055"></a>
-<span class="sourceLineNo">1056</span>      includeProperties = m2 == null ? 
Collections.EMPTY_MAP : Collections.unmodifiableMap(m2);<a name="line.1056"></a>
-<span class="sourceLineNo">1057</span>      m2 = 
pm.getMap(BEAN_excludeProperties, String.class, String[].class, null);<a 
name="line.1057"></a>
-<span class="sourceLineNo">1058</span>      excludeProperties = m2 == null ? 
Collections.EMPTY_MAP : Collections.unmodifiableMap(m2);<a name="line.1058"></a>
-<span class="sourceLineNo">1059</span><a name="line.1059"></a>
-<span class="sourceLineNo">1060</span>      locale = pm.get(BEAN_locale, 
Locale.class, null);<a name="line.1060"></a>
-<span class="sourceLineNo">1061</span>      timeZone = pm.get(BEAN_timeZone, 
TimeZone.class, null);<a name="line.1061"></a>
-<span class="sourceLineNo">1062</span>      mediaType = pm.get(BEAN_mediaType, 
MediaType.class, null);<a name="line.1062"></a>
-<span class="sourceLineNo">1063</span><a name="line.1063"></a>
-<span class="sourceLineNo">1064</span>      if (! 
cmCacheCache.containsKey(hashCode)) {<a name="line.1064"></a>
-<span class="sourceLineNo">1065</span>         
ConcurrentHashMap&lt;Class,ClassMeta&gt; cm = new 
ConcurrentHashMap&lt;Class,ClassMeta&gt;();<a name="line.1065"></a>
-<span class="sourceLineNo">1066</span>         cm.putIfAbsent(String.class, 
new ClassMeta(String.class, this, null, null, findPojoSwap(String.class), 
findChildPojoSwaps(String.class)));<a name="line.1066"></a>
-<span class="sourceLineNo">1067</span>         cm.putIfAbsent(Object.class, 
new ClassMeta(Object.class, this, null, null, findPojoSwap(Object.class), 
findChildPojoSwaps(Object.class)));<a name="line.1067"></a>
-<span class="sourceLineNo">1068</span>         
cmCacheCache.putIfAbsent(hashCode, cm);<a name="line.1068"></a>
-<span class="sourceLineNo">1069</span>      }<a name="line.1069"></a>
-<span class="sourceLineNo">1070</span>      this.cmCache = 
cmCacheCache.get(hashCode);<a name="line.1070"></a>
-<span class="sourceLineNo">1071</span>      this.cmString = 
cmCache.get(String.class);<a name="line.1071"></a>
-<span class="sourceLineNo">1072</span>      this.cmObject = 
cmCache.get(Object.class);<a name="line.1072"></a>
-<span class="sourceLineNo">1073</span>      this.cmClass = 
cmCache.get(Class.class);<a name="line.1073"></a>
-<span class="sourceLineNo">1074</span><a name="line.1074"></a>
-<span class="sourceLineNo">1075</span>      this.beanDictionaryClasses = 
pm.get(BEAN_beanDictionary, Class[].class, new Class[0]);<a 
name="line.1075"></a>
-<span class="sourceLineNo">1076</span>      this.beanRegistry = new 
BeanRegistry(this, null);<a name="line.1076"></a>
-<span class="sourceLineNo">1077</span>   }<a name="line.1077"></a>
-<span class="sourceLineNo">1078</span><a name="line.1078"></a>
-<span class="sourceLineNo">1079</span>   /**<a name="line.1079"></a>
-<span class="sourceLineNo">1080</span>    * Create a new bean session based on 
the properties defined on this context.<a name="line.1080"></a>
-<span class="sourceLineNo">1081</span>    *<a name="line.1081"></a>
-<span class="sourceLineNo">1082</span>    * @param args<a name="line.1082"></a>
-<span class="sourceLineNo">1083</span>    *    The session arguments.<a 
name="line.1083"></a>
-<span class="sourceLineNo">1084</span>    * @return A new session object.<a 
name="line.1084"></a>
-<span class="sourceLineNo">1085</span>    */<a name="line.1085"></a>
-<span class="sourceLineNo">1086</span>   public BeanSession 
createSession(BeanSessionArgs args) {<a name="line.1086"></a>
-<span class="sourceLineNo">1087</span>      return new BeanSession(this, 
args);<a name="line.1087"></a>
-<span class="sourceLineNo">1088</span>   }<a name="line.1088"></a>
-<span class="sourceLineNo">1089</span><a name="line.1089"></a>
-<span class="sourceLineNo">1090</span>   /**<a name="line.1090"></a>
-<span class="sourceLineNo">1091</span>    * Create a new bean session based on 
the properties defined on this context.<a name="line.1091"></a>
-<span class="sourceLineNo">1092</span>    *<a name="line.1092"></a>
-<span class="sourceLineNo">1093</span>    * &lt;p&gt;<a name="line.1093"></a>
-<span class="sourceLineNo">1094</span>    * Use this method for creating 
sessions if you don't need to override any<a name="line.1094"></a>
-<span class="sourceLineNo">1095</span>    * properties or locale/timezone 
currently set on this context.<a name="line.1095"></a>
-<span class="sourceLineNo">1096</span>    *<a name="line.1096"></a>
-<span class="sourceLineNo">1097</span>    * @return A new session object.<a 
name="line.1097"></a>
-<span class="sourceLineNo">1098</span>    */<a name="line.1098"></a>
-<span class="sourceLineNo">1099</span>   public BeanSession createSession() 
{<a name="line.1099"></a>
-<span class="sourceLineNo">1100</span>      return new BeanSession(this, new 
BeanSessionArgs(null, this.locale, this.timeZone, this.mediaType));<a 
name="line.1100"></a>
-<span class="sourceLineNo">1101</span>   }<a name="line.1101"></a>
-<span class="sourceLineNo">1102</span><a name="line.1102"></a>
-<span class="sourceLineNo">1103</span>   /**<a name="line.1103"></a>
-<span class="sourceLineNo">1104</span>    * Returns &lt;jk&gt;true&lt;/jk&gt; 
if the specified bean context shares the same cache as this bean context.<a 
name="line.1104"></a>
-<span class="sourceLineNo">1105</span>    *<a name="line.1105"></a>
-<span class="sourceLineNo">1106</span>    * &lt;p&gt;<a name="line.1106"></a>
-<span class="sourceLineNo">1107</span>    * Useful for testing purposes.<a 
name="line.1107"></a>
-<span class="sourceLineNo">1108</span>    *<a name="line.1108"></a>
-<span class="sourceLineNo">1109</span>    * @param bc The bean context to 
compare to.<a name="line.1109"></a>
-<span class="sourceLineNo">1110</span>    * @return &lt;jk&gt;true&lt;/jk&gt; 
if the bean contexts have equivalent settings and thus share caches.<a 
name="line.1110"></a>
-<span class="sourceLineNo">1111</span>    */<a name="line.1111"></a>
-<span class="sourceLineNo">1112</span>   public final boolean 
hasSameCache(BeanContext bc) {<a name="line.1112"></a>
-<span class="sourceLineNo">1113</span>      return bc.cmCache == 
this.cmCache;<a name="line.1113"></a>
-<span class="sourceLineNo">1114</span>   }<a name="line.1114"></a>
-<span class="sourceLineNo">1115</span><a name="line.1115"></a>
-<span class="sourceLineNo">1116</span>   /**<a name="line.1116"></a>
-<span class="sourceLineNo">1117</span>    * Determines whether the specified 
class is ignored as a bean class based on the various exclusion parameters<a 
name="line.1117"></a>
-<span class="sourceLineNo">1118</span>    * specified on this context class.<a 
name="line.1118"></a>
-<span class="sourceLineNo">1119</span>    *<a name="line.1119"></a>
-<span class="sourceLineNo">1120</span>    * @param c The class type being 
tested.<a name="line.1120"></a>
-<span class="sourceLineNo">1121</span>    * @return &lt;jk&gt;true&lt;/jk&gt; 
if the specified class matches any of the exclusion parameters.<a 
name="line.1121"></a>
-<span class="sourceLineNo">1122</span>    */<a name="line.1122"></a>
-<span class="sourceLineNo">1123</span>   protected final boolean 
isNotABean(Class&lt;?&gt; c) {<a name="line.1123"></a>
-<span class="sourceLineNo">1124</span>      if (c.isArray() || c.isPrimitive() 
|| c.isEnum() || c.isAnnotation())<a name="line.1124"></a>
-<span class="sourceLineNo">1125</span>         return true;<a 
name="line.1125"></a>
-<span class="sourceLineNo">1126</span>      Package p = c.getPackage();<a 
name="line.1126"></a>
-<span class="sourceLineNo">1127</span>      if (p != null) {<a 
name="line.1127"></a>
-<span class="sourceLineNo">1128</span>         for (String p2 : 
notBeanPackageNames)<a name="line.1128"></a>
-<span class="sourceLineNo">1129</span>            if 
(p.getName().equals(p2))<a name="line.1129"></a>
-<span class="sourceLineNo">1130</span>               return true;<a 
name="line.1130"></a>
-<span class="sourceLineNo">1131</span>         for (String p2 : 
notBeanPackagePrefixes)<a name="line.1131"></a>
-<span class="sourceLineNo">1132</span>            if 
(p.getName().startsWith(p2))<a name="line.1132"></a>
-<span class="sourceLineNo">1133</span>               return true;<a 
name="line.1133"></a>
-<span class="sourceLineNo">1134</span>      }<a name="line.1134"></a>
-<span class="sourceLineNo">1135</span>      for (Class exclude : 
notBeanClasses)<a name="line.1135"></a>
-<span class="sourceLineNo">1136</span>         if (isParentClass(exclude, 
c))<a name="line.1136"></a>
-<span class="sourceLineNo">1137</span>            return true;<a 
name="line.1137"></a>
-<span class="sourceLineNo">1138</span>      return false;<a 
name="line.1138"></a>
-<span class="sourceLineNo">1139</span>   }<a name="line.1139"></a>
-<span class="sourceLineNo">1140</span><a name="line.1140"></a>
-<span class="sourceLineNo">1141</span>   /**<a name="line.1141"></a>
-<span 

<TRUNCATED>

Reply via email to